Re: [LAU] Slightly OT: Re-Installing GRUB

From: Ray Rashif <schivmeister@email-addr-hidden>
Date: Sat Jun 14 2008 - 20:08:57 EEST

You wrote to nowhere with the following:

grub-install /dev/sda0

sda0 does not exist. Numbering starts from 1 for Linux device nodes, unlike
the bootloader. To not specify a number can mean various things to various
programs. For disk utilities, it denotes the entire disk regardless of
partitions. For GRUB, it means MBR. Thus:

grub-install /dev/sda

To inject the MBR. Some complex multi-boot setups may need:

grub-install /dev/sdaN

to inject /boot to /dev/sdaN where N is a partition number from 1 onwards,
but I personally favour just one unified bootloader on one disk (MBR).
Whichever disk has the first boot priority will be hd0 to GRUB. For Windows
the standard lines are:

title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

Which denotes Windows resident on the first boot device, first partition.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Jun 15 00:15:01 2008

This archive was generated by hypermail 2.1.8 : Sun Jun 15 2008 - 00:15:01 EEST