[Grml] How to install GRML to one harddrive with Windows XP installed on this harddrive?

Maurice McCarthy moss at mythic-beasts.com
Thu Jan 1 21:42:31 CET 2009


Janusz asked about where to install the boot loader when running grml2hd

By default it is placed in the partition boot sectors rather than the
master boot sectors at the beginning of the disk. I always use grub rather
than lilo as a bootloader. I'm more familiar with it. Write down which
partition you installed grml and grub to. Let's say it was /dev/sda3

Installing to the mbr should be fine but when it goes wrong you may lose
access to XP also, as well as the newly installed grml. This usually means
you made a mistake somewhere. It can be rescued using the cd. But make
sure you have a copy of the original mbr on a floppy or pen drive.

Installing to the partition means you avoid that but you will probably
find that the 1st reboot loads into XP instead of grml. This can be
overcome in several ways a) by making a boot option in C:\boot.ini in XP
(Does not work in Vista as it boots differently) b) by booting the CD then
at the first (isolinux) prompt go grub enter enter c) by having already
make a separate boot floppy or usb pen.

You should now have a list of options but go 'c' to give you a grub
command line

grub>

In grub terms /dev/sda3 is (hd0,2) So now go

grub> configfile (hd0,2)/boot/grub/menu.lst enter

This should load the grub menu and you just hit enter again to make it
boot. If you had installed to the mbr instead of the partition then you
don't need to do this it will boot straight into grml.

Moss





More information about the Grml mailing list