* 2.01.12 2008-03-12 - New ping.conf/kernel param: Restore_Only. Set it to Y if you don't want the user nor to be proposed to create a new image, nor to be able to do so. - Added the driver ServerWorks / Apple K2 SATA in the kernel. This should bring support for some specific Dell servers' SATA drives. - Upgraded dhcpcd from 3.1.8 to 3.2.3. - Upgraded linux kernel from 2.6.24.3 to 2.6.24.4. - Added combined_mode=libata to the standard isolinux.cfg's kernel parameters. Permits linux to see intel's SATA controllers as SATA and not as IDE even if the BIOS settings are set to legacy mode. This ensures PING will create sda* files and not hda*, and improves speed a lot. * 2.01.11 2008-03-05 - Upgraded linux kernel from 2.6.23.12 to 2.6.24.3. - Upgraded the e1000 driver module from 7.6.9 to 7.6.15.4. - Bug fix: tries all cifs possible syntaxes before giving smbfs a try. - Added SSHFS-Fuse 1.9. - Added zip and unzip 5.52. - Updated ATL2 drivers from 1.0.40.2 to 2.0.4. ASUS Eee PC Atheros L2 Fast Ethernet should now work fine. - Bug fix: sub Delete_All_Parts() failed when there was only one part to delete and when it was extended. One pop() too much... - Consider SFS (type 42) (Windows Dynamic Volumes) as NTFS. - New ping.conf/kernel params: Cmd_1, Cmd_2 and Cmd_3. Cmd_1 is a command for PING to execute before the first blue welcome screen, Cmd_2 is a command for PING to execute after the mounting of SMB shares and Cmd_3 is a command for PING to execute at the end (before giving a shell or reboot or shutdown). Think of it as a tool to combine with a possible add-on. - Preliminary test to add: mount -t ntfs-3g vs. mount -t ntfs-3g ... -o ro. Means, need to shutdown windows properly (not hibernating), and/or run checkdisk (tks elonderin). - If addon-*.tar.gz files are found in the CD/DVD, untar them into the root. First use: adding CLAM AV as an optional add-on. Note: these addons can also be present in the network share containing the image directories. - Logs dd-commands' outputs. - Now sleeps 2 seconds before restoring with partimage. On some configs (DELL 745 Optiplex), this helps. - If ntfs label's length is greater than 8 chars, trim it. Otherwise, partimage will bug (seg fault). (Thks Dwfa & Curtis). - hda1.fir can be looked for as well as hda1.first_sectors (so uncorrectly-built ISOs can still be used). - Now defaults to CIFS rather than SMBFS. - Howto: updated the syslinux section concerning USB devices (tks Fubar Bundy). - Howto: updated to explain about VMWare SCSI (Tks tahussle). - Maybe bug fix: replaced "mount -t smbfs / cifs" by "mount.smbfs/cifs". Seems to work much better (no real idea why). * 2.01.10 2007-12-20 - Upgraded linux kernel from 2.6.23.9 to 2.6.23.12. - Upgraded Samba from 3.0.27a to 3.0.28. - Upgraded dhcpcd from 3.1.7 to 3.1.8. - Upgraded ntfs-3g from 1.1030 to 1.1120. - Upgraded fuse from 2.7.1 to 2.7.2. - The HDD discovery now stores every fdisk-available information, including start/end blocks, boot flag etc. We also store devices information, including number of heads/sectors by track/cylinders, according to fdisk-listed tables and according to the BIOS (the kernel feeds /proc geometry data according to the BIOS, and it's sometimes wrong.) - Give users the possibility to have PING reduce NTFS partitions to the maximum before backuping them. That way, such images can be restored to smaller partitions. After the recording, PING will restore the size of the partition to what it was first, and maximize the contained filesystem. Added ping.conf/isolinux.cfg parameter Minimize_Before_Storing. - Synchronize the partition after applying hda.first_sectors. - Samba authentication: accept blank usernames and passwords without garbage being displayed. - New subs -- HDD_Name(), Part_Number(), Nb_Parts(), Is_Part_Extended(), Synchronize_Device(), HDD_Describe(), Delete_All_Parts(), Recreate_All_Parts(). * 2.01.09 2007-12-14 - Upgraded syslinux from version 3.30 to 3.54. - Added a paragraph in the Howto explaining how to set up a utility partition with PING inside. - Added a paragraph in the Howto explaining how to have Dell servers with Perc 4e/di controllers work with PING. - Given the possibility to choose no compression. Then, we'll pass -z0 to partimage. Notes: - No effect if zsplit is used. * 2.01.08 2007-12-11 - Sometimes, mount -t cifs (smbfs too?) only works with the mount -t xxx \\\\yyy\\zzz syntax, rather than //yyy/zzz. Now, we try both syntaxes. - Rewrote function Is_Network_On() to handle cases where dhcpcd mapped eth0 to fake IP 169.254.xxx.yyy. * 2.01.07 2007-12-04 - Updated samba from 3.0.26a to 3.0.27a. - Fixed an old bug: after entering bad SMB settings, we wouldn't go back to the right input screen. - Fixed an old bug: if both dhcpcd on eth0 and on eth1 fails, we try manually setting ifconfig. But we had forgotten to try ifconfig on eth1 *too*. - New entries to ping.conf/kernel params: - Zsplit_Preferred If set to y, we'll use zsplit and not partimage. - DHCP_Timeout If defined, dhcpcd will be passed a -t parameter. Note: if undefined, we won't ask the user, and won't pass any -t option to dhcpcd (=> default). - Image_To_Restore If defined, the script will look for this directory name in the directory containing the available images. Else, the directory will be browsed as usual, and the user will be able to choose which image to restore. - AUTO If you want NO QUESTION to be raised, no popup at all, set this value to Y. It's equivalent to creating an empty AUTO file on the root of a PING CD/DVD (which is now deprecated, yet still supported for backwards compatibility). Note: you've got to pass also all necessary params to PING. If the script needs some answers and finds no param, or no valid param, the user will obviously be asked for them. * 2.01.06 2007-11-13 - Bug fix: ntfsresizing was not working (case of one unique partition). - Upgraded linux kernel from 2.6.23.1 to 2.6.23.8. * 2.01.05 2007-11-12 - Get first 64 sectors of every device instead of 1 -- which might help us restore Grub sectors correctly (thanks Marijin & tkt). - Upgraded linux kernel from 2.6.23 to 2.6.23.1. - Compiled intel e1000 drivers as a module from Intel's e1000-7.6.9 latest release, and removed kernel's version, which was compiled within the kernel binary. Now, 82566DM-2 NIC chipsets work fine. * 2.01.04 2007-11-06 - Upgraded linux kernel from 2.6.22.9 to 2.6.23. Some more SATA drivers. - Upgraded e2fsprogs from 1.39 to 1.40.2. - Upgraded ntfs-3g from 1.516 to 1.1030. - Upgraded fuse from 2.7.0 to 2.7.1. - Upgraded ntfsprogs from 1.13.1 to 2.0.0. - Upgraded dhcpcd from 3.1.5 to 3.1.7. - Upgraded cmospwd from 4.8 to 5.0. - Upgraded chntpw from 070409 to 070923. - Upgraded parted from 1.8.7 to 1.8.8. - Upgraded samba from 3.0.25a to 3.0.26a. - Re-downgraded partimage from 0.6.6 to 0.6.4 (missed it last time; apologizes to all concerned users for probable troubles). * 2.01.03 - If the user has provided a Server entry in ping.conf (or kernel params), do not ask any more if the backup/restore will be local or network. It's network. - Downgraded partimage from 0.6.6j to 0.6.4. Didn't work. Shit. * 2.01.02 - Bug fix: when an image was stored in a 2nd hdd and it had to be used to restore the 1st hdd, the menu would loop forever (thks Crulie). - Only displays shell help if asked (h to get it). - Stop getting the /var/log/partimage-debug.log file. Crap. * 2.01.01 - Upgraded the kernel from 2.6.22.6 to 2.6.22.9. - Upgraded partimage from 0.6.4 to 0.6.6j. - Windows RAID: we won't be able to mount the parts, yet they are OK and can be backuped. Don't abort any more if NTFS has been detectend and if we can't mount. - Bug fix: some times, we wouldn't dd the right device (thks Crulie). * 2.01 - Added the M to the zsplit chunk size (-s 660M). Thks Gurn! - Added drivers for Attansic L2 10/100 NICs. This driver can only be loaded as a module. Therefore, rc.ping now scans the module directories and installs every available .ko file before trying to get an IP. - Added ping.conf/kernel param option No_Shell to avoid giving the possibility for the user to get a shell. - Now adds /var/log/partimage-debug.log's log to /tmp/x.log. Well, not everything, it's over-big (uselessly). - Logs Linux and PING versions into the x.log log (tis really time, u know...) - Updated the Howto (more FAQs, better English). Thks Zian for the Frenglish corrections :) And thks Bobmetelsky for the tip about how to use rom-o-matic with PING. * 2.00 RC9 - Don't try dhcp any more if an IP has been given through a parameter (ping.conf / /proc/cmdline). * 2.00 RC8 - Replaced "'ifconfig eth0 down; dhcpcd eth0';" by "'ifconfig eth0 down; ifconfig eth0 up; sleep 2; dhcpcd eth0';" (helps on some configs ; thanks Devitek). - Asks whether the bios file, if found, should be restored or not. Added (ping.conf / /proc/cmdline)'s Replace_BIOS parameter, accordingly, to avoid the question. - Parses /proc/cmdline to collect parameters sent to the kernel at boot time. This is now an alternative to the /etc/ping.conf file, avoding to have to modify the initrd.gz image. If a parameter is found both in ping.conf and /proc/cmdline, the one located in /proc/cmdline will get the priority. - Mounting a network share: giving CIFS priority over SMBFS is now possible. Added (ping.conf / /proc/cmdline)'s CIFS_Preferred parameter, accordingly, to avoid the question. (CIFS has been reported to make network copies faster on some configs, and slower on other network configs!). - Added dosfstools (/sbin/mkdosfs which is also /sbin/mkfs.vfat) to the image. It had disappeared from 1.12 to 2.00 ; oops. - Upgraded FUSE from 2.6.5 to 2.7.0. - Updated linux kernel to 2.6.22.6. * 2.00 RC7 - Bug correction: the ntfsresize used to resize to the maximum of a NTFS part size was not being performed. Thanks to Devitek for the tip. - Minor fix: when a /etc/ping.conf file is found but isn't customized, display the tip. Now, there's always a commented out ping.conf file bundled in the image... - Added a basic reminder about most useful shell commands. - Bug correction: NTFS mountings were hanging on some systems for an unknown reason. Using the NTFS-3G driver rather than the native kernel driver seems to fix the bug. Thanks to kruhek. - Handle the case of Dell Utility partitions (type being "de"). Don't try partimage on them any more, zsplit them! * 2.00 RC6 - Added a possibility to make the backup/image to another local drive. Not to the same drive the backup/image is taken from (another part). Should be feasible in a future version (by resizing & parting). Means right now that we try to inventory hda, hdb, hdc, sda, sdb, sdc. Maybe not exhaustive; this is first try. - No more need to hit space then enter. Modified the menu... - If the manual network connection went wrong, give the ifconfig output. - Give mount -t smbfs output too. - mount -t smbfs now passes a "password" (with quotes) -- thx Gedatsu. - Share's password is now hidden (new dialog installed, thx Fredz). - Looks for a /etc/ping.conf file to find network and smb parameters. If not found, then ask. - Partimage now generates 630 MB files. Better if a DVD is the target (7x630 = 4551 < 4.7 GB), and better for Captive-NTFS which fails for some reason creating files bigger than 1 GB. - After restoring, check if an image was smaller than disk capacity, and maximize. ping.conf keyword to add. NTFS only -- others need no help. - Stop discovering local hdd 'src', 'srd', 'sgc', 'sgd', 'sra', 'srb', 'sga', 'sgb'. It has been reported that fdisk /dev/sga was hanging the system sometimes (thanks Sigurdi). - Proposes to choose between gzip and bzip2. - Ejects the CD when used (thx, Curtis). - Added support for HP SmartArray (/dev/cciss/c0d0 device) fdisk => Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes (thanks, Codd) - Fully automatic if /AUTO file found on the root of a CD/DVD. - When mount -t smbfs fails, try mount -t cifs (Windows Server 2003 case, related to AD security) -- thx, Arckane. => mount -t cifs //server/share /mnt/point -o \ user=$username,domain=$domain,password=$password - Now the user can specify the behaviour at the completion of the job. Can either reboot, either give the user a bash shell. Or shutdown. A new entry in /etc/ping.conf is supported concerning the feature: After_Completion = reboot|shell|shutdown - Bug correction: we were looking for a /mnt/cdrom/^.da$ file, and in one specific case, a user built an image with hdc.001, 002... files. Replacing with ^[hs]d[abcde]$ :) - Added support for more RAID devices (/dev/ida/cXdY and /dev/rd/cXdY). - Make use of NTFS-3G too. The script detects whether Captive-NTFS or NTFS-3G is available, and make the right choice. - Add the possibility to choose which local parts to backup (partimage). - Add the possibility to choose on which local part to store the backup. - If for some reason partimage fails at writing an image, use zsplit | split instead. - We now try dhcp on eth0 and eth1, and check for a gateway, not just a n entry in ifconfig. - Keep 20 first sectors of each recorder partition. They may contain a boot sector, and LVM information (LVM is stored in 20x512 first bytes). - When a cdrom is detected, link /dev/cdrom to the right device. - When listing partitions, tell the NTFS label, or first directories found if no available label.