Make the LFS HD the master drive

The Cheeze Cheeziologist at
Mon Jan 13 09:41:26 PST 2003

Martin Sand [Roaster200 at] wrote:
> Hi mates
> Maybe this question is old, but I could not find anything on google
> or google.groups. 
> /dev/hda1 - SuSe 7.0
> /dev/hdb1 - lfs
> How is it possible to let lilo write the bootloader into the
> /dev/hdb1 ?! Is it lilo -b /dev/hdb1 or lilo -U /dev/hdb1 ?!
> After I have a bootloader on this harddrive I will re-configure the
> harddrive to be master, so that my lfs is on the first ide drive. 
> Another way could be to have re-configured /dev/hdb to /dev/hda and
> then boot by a mini linux on disk and then let lilo write the
> bootsector.  
> If this question has already been discussed a link to it or a link to
> how-to would be great. 
> Best regards
> Martin

AFAIK if you do lilo -b /dev/hdb then it will write to the mbr on hdb.
One thing to think about is that if you switch the drives you need to be
sure that you fix anything like fstab or any other files that have
/dev/hdb listed to /dev/hda.

Registered LFS User: 6929
Registered Linux User: 298182

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list