The latest chenall grub4dos build fixes this kernel line length issue.
Great, working now with the grldr files uploaded on Dec 30 2012! Thanks for pushing this through.
title PING302-chainload Backup hda1orsda1 to sdb1/Automated
map (hd0,0)/iso/PING302.iso (0xff)
set var1=vga=normal devfs=nomount pxe ramdisk_size=60000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 root=/dev/ram0 rw noapic nolapic lba combined_mode=libata ide0=noprobe nomce pci=nomsi irqpoll quiet
set var2=AUTO=Y After_Completion=Reboot No_Shell=Y Replace_BIOS=N Compression_Type=gzip Tarball_Preferred=Y Store_MD5=N Minimize_Before_Storing=N Already_Existing_Image=Rename
set var8=Cmd_3="cp /tmp/x.log /mnt/dos/Automated/$(date +%F_%H%M).log"
echo Going to run (push any key to continue)
echo /kernel %var1% %var2% %var3% %var4% %var5% %var6% %var7% %var8%
kernel /kernel %var1% %var2% %var3% %var4% %var5% %var6% %var7% %var8%
The PING automated entry shown above is great and backs up hda1 (IDE drive) or sda1 (SATA/SCSI drive) to sdb1 (Flash Drive). The best thing about the above configuration is that it uses non-proprietary format of making .tar.gz files out of all the directories on their hard drive. PING also copies the MBR and PBR sectors into raw files on the flash drive.
This is a very versatile way to backup your hard drive - because the files are easily viewable without needing any special program - and you can even restore the files on hard drives of all types of different sizes / different partition tables - by manually booting into WinPE or Linux and using 7z or tar to manually extract the files onto a fresh drive (and writing the MBR and PBR if not already there). Most other image backup-restore programs perform sector-by-sector backups and therefore can't restore onto differently sized partitions.
The only thing that does not get saved via this method of backup-restore through .tar.gz files is the NTFS Metadata - but I have observed no special need for Windows needing to have any special NTFS Security permissions or ACLS for files. The files on the root of the drive can be made hidden and system again manually through "attrib +h +s ntldr", "attrib +h +s boot.ini", "attrib +h +s NTDETECT.COM".
P.S. For those wanting documentation for the APPEND automated entries for PING, see the Annex section of the PDF version of the PING manual since the HTML version of the PING manual is incomplete and does not explain them which causes much confusion for those reading the HTML version of the manual.
Edited by robertcollier4, 08 January 2013 - 07:24 PM.