On Sat, 30 Jul 2005, Jens Olav Nygaard wrote:

> I'm about to start tinkering with Grub (tired of doing the 'root' and 'kernel'
> command manually in "command mode" in an old "grub-installment" done by some
> Fedora-thingy in the past) and would like a backup, since I may (i.e. will)
> mess things up. (*)
>
> Sec. 8.4 of the SVN has a nice snippet for making a bootable floppy with
> grub on it. Now, the thing is that I don't have a floppy drive, but I do
> have a dvd-writer-combo-solution-can-do-everything-unit.
>

 I've managed to create a "rescue CD" containing the exact same things
as would be on the floppy (script attached).  I've got exactly one box
running grub, and I want to move it to another bootloader.  But, I have
zero understanding of how to use the grub rescue floppy, so it hasn't
done a lot for me, but YMMV.

> Is there some easy way to do the same for a dvd? I have the necessary
> tools, I think, like mkisofs and growisofs. Most of what I can find on
> the net seems very focused on making a fully bootable "system" on the
> dvd, though... I presume that I cannot just substitute 'hda' for 'fd0'
> in the dd-commands, my drive being /dev/hda...
>

 AFAIK, grub has to have the kernel on a "real" disk, which tends to
rule out using a menu and a proper rescue CD/DVD.  I'm sure somebody
somewhere knows how to make grub think a CD is a real disk.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

Attachment: mkgrubtorito.sh
Description: Bourne shell script

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to