Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups
On 16 December 2005 08:11, Ow Mun Heng wrote: On Thu, 2005-12-15 at 23:02 -0700, Richard Fish wrote: On 12/15/05, Ow Mun Heng [EMAIL PROTECTED] wrote: -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table Thanks. Wonderful info. The grub info pages contain a whole page about writing bootable CDs and DVDs. Uwe -- Unix is sexy: who | grep -i blonde | date cd ~; unzip; touch; strip; finger mount; gasp; yes; uptime; umount sleep -- gentoo-user@gentoo.org mailing list
Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups
On Fri, 16 Dec 2005 11:40:32 +0800, Ow Mun Heng wrote: how can one create bootable CDs/DVDs? Is there a simple way to transfer GRUB into the DVD/CDs? Or would dd of the /boot partition transfer the whole thing?? I created a rescue system, containing all the tools I need by following this guide: http://forums.gentoo.org/viewtopic-t-244837.html -- Neil Bothwick Runtime Error: Out of funny taglines! signature.asc Description: PGP signature
Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups
On 12/15/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Thu, 2005-12-15 at 19:15 +, Neil Bothwick wrote: the rest. I then have a weekly cron script that compresses the backup directories with squashfs and writes them to ISO images ready for writing to bootable DVDs. It makes restoring individual files very easy, and a completely hosed system can be fixed because the DVDs are bootable. how can one create bootable CDs/DVDs? Is there a simple way to transfer GRUB into the DVD/CDs? Or would dd of the /boot partition transfer the whole thing?? The boot process for a CD is very very different than from a hard drive. Basically the BIOS has to pretend that the CD drive is actually a floppy, or a hard drive, for implementing the BIOS calls used by the boot loader. Doing a dd of a boot partition and writing that to a CD would not work. There are several different software packages that can make bootable CDs, including GRUB. Ok, it isn't really GRUB that makes the CD bootable, but mkisofs. To use GRUB, you have to make a /boot/grub directory in your CD tree, and copy the stage2_eltorito file into that directory along with grub.conf/menu.lst. Then when you run mkisofs, you add the options: -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table Someone who uses a GUI for CD burning will have to comment on how to do this without the command line! -Richard -- gentoo-user@gentoo.org mailing list
Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups
On Thu, 2005-12-15 at 23:02 -0700, Richard Fish wrote: On 12/15/05, Ow Mun Heng [EMAIL PROTECTED] wrote: -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table Thanks. Wonderful info. /me just bought a DVD writer. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 14:11:02 up 1 day, 22:47, 6 users, load average: 0.09, 0.17, 0.35 -- gentoo-user@gentoo.org mailing list
Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups
On 12/15/05, Richard Fish [EMAIL PROTECTED] wrote: bootable, but mkisofs. To use GRUB, you have to make a /boot/grub directory in your CD tree, and copy the stage2_eltorito file into that directory along with grub.conf/menu.lst. Oh, I forgot one thing. Instead of (hdX,X) in grub.conf, you use (cd). For example: title 2.6 kernel (cd)/boot/vmlinuz-2.6 root=/dev/hdc Of course, your kernel must have support for your CD-ROM drive and the iso9660 filesystem built in... -Richard -- gentoo-user@gentoo.org mailing list