========================================================================= The bootable cd image `rip-55.iso.bin' can be written to a cd/dvd disk, using cdrecord/dvdrecord etc. The kernel has IDE and SCSI support. The kernel also has RAID and Ethernet/cable/dsl networking support. These are some of the programs it contains (partimage, parted, reiserfsck, cfdisk, sfdisk, mke2fs, e2fsck, tune2fs, debugfs, mkfs.xfs, jfs_mkfs, jfs_fsck, xfs_repair, cdrecord/dvdrecord, mkisofs, growisofs, ntfsresize, mkntfs, convertfs, losetup + AES encryption, lynx, mutt, fetchmail, ncftp, irc, tin, telnet, wget, zgv). It also includes the DVD udf filesystem packet writing tools (cdrwtool, mkudffs, pktsetup). The 'reiserfsck' program is used to check and repair a linux reiserfs filesystem. The 'xfs_repair' program is used to repair a linux xfs filesystem. The 'jfs_fsck' program is used to check and repair a linux jfs filesystem. The 'e2fsck' program is used to check and repair a linux ext2 or ext3 filesystem. The 'ntfsresize' program non-destructively resizes Windows XP/2000/NT4 or Windows Server 2003 NTFS filesystems. Read /usr/doc/ntfsresize.txt on the rescue system. The partition image program 'partimage' saves partitions in the ext2, ext3, reiserfs, jfs, xfs, ufs, ntfs, fat16, and fat32 formats to an image file. Only used blocks are copied to save space and increase the speed. The image file can be compressed, in gzip or bzip2 formats. ==================== Encrypted file/partition =================== If you have an encrypted partition you want to mount. For example if it's encrypted with AES128 on /dev/hda3. # losetup -e AES128 /dev/loop0 /dev/hda3 Password: ??? # mount -t ext2 /dev/loop0 /mnt/linux Read /usr/man/losetup on the rescue system. ================================================================= ========================= cdrecord ============================== You can use 'cdrecord/dvdrecord' etc. to write 'rip-55.iso.bin' to a cd or dvd disk. The example below assumes an IDE cd writer on device 0,0,0 with a 4x speed. # cdrecord -scanbus "To find the device your cd writer is on!" Cdrecord 1.10 () Copyright (C) 1995-2001 Jorg Schilling scsibus0: 0,0,0 0) 'HP ' 'CD-Writer+ 9100c' 'H2,1' Removable CD-ROM etc... # cdrecord -v speed=4 dev=0,0,0 rip-55.iso.bin "CD-R/RW drive" # dvdrecord -v -dao speed=4 dev=0,0,0 rip-55.iso.bin "DVD-R/RW drive" # growisofs -Z /dev/scd0=rip-55.iso.bin "DVD+R/RW drive" If you need to erase the cd-rw first, do this. # cdrecord -v blank=fast speed=4 dev=0,0,0 rip-55.iso.bin You can then boot the cd disk, if your bios supports it and is set to boot from the cdrom drive first. ========================= Booting from dos/win9x ========================== It can also be booted from a dos/win9x system. You must be in dos mode, shutdown windows and restart in dos mode. For example if your cd drive is e. C:\ e: E:\ rip "For help!" E:\ rip rescue ============================ Q & A ================================= Q. Is it possible to mount the compressed file `rescue.gz' on rip-55.iso.bin? I want to add some shell scripts! A. # mkdir /rip1 /rip2 # mount -t iso9660 -o loop rip-55.iso.bin /rip1 # cp -a /rip1/* /rip2 # umount /rip1 # gzip -d /rip2/boot/rescue.gz # mount -t ext2 -o loop /rip2/boot/rescue /rip1 Add the scripts under /rip1! # umount /rip1 # gzip /rip2/boot/rescue # cd /rip2 ; mkisofs -r -J -no-emul-boot -boot-load-size 32 \ -boot-info-table -b boot/grub/stage2_eltorito \ -o ../rip.iso . ^^^ Don't forget the `.'! Write /rip.iso to a cd! ==================================================================== Q. Can I boot `rescue.gz' from rip-55.iso.bin on a dos/win9x system? A. # mkdir /rip /win # mount -rt iso9660 -o loop rip-55.iso.bin /rip Mount your dos/win9x partition. # mount -t vfat /dev/hda1 /win # mkdir /win/rip # cp /rip/boot/{rescue.gz,kernel,loadlin.exe,rip.bat} /win/rip # umount /win /rip Boot the linux system from your dos/win9x system. C:\rip> rip "For help!" C:\rip> rip rescue ==================================================================== Q. Can I put other bootable images (dos/win etc.) on the cd, and boot them like rescue.gz? A. # mkdir /rip1 /rip2 # mount -rt iso9660 -o loop rip-55.iso.bin /rip1 # cp -a /rip1/* /rip2 # umount /rip1 Add the bootable image to: /rip2/boot/image_name.img Add these three lines to: /rip2/boot/grub/menu.lst title Boot WinXP image! kernel memdisk initrd=/boot/image_name.img Write /rip.iso to a cd like above! You can then boot the winxp image by choosing it from the GRUB menu. NOTE: You can put the FreeBSD bootable image (freebsd.img) from `fbsd-1.1.8.iso.bin' on the cd like above. http://www.tux.org/pub/people/kent-robotti/looplinux/rip # mount -rt iso9660 -o loop fbsd-1.1.8.iso.bin /rip1 # cp /rip1/boot/freebsd.img /rip2/boot Add these three lines to: /rip2/boot/grub/menu.lst title Boot FreeBSD image! kernel memdisk initrd=/boot/freebsd.img You can then boot the freebsd image by choosing it from the GRUB menu. =========================================================================