[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub vs LILO



On Mon, Jan 15, 2001 at 02:48:58PM +0100, Joachim Trinkwitz wrote:
> 
> Could it be simpler than launching a `grub-install /dev/sda' (or
> whichever partition you wants to install it to)? You should have
> copied all the files in /usr/share/grub/i386/ to a directory
> /boot/grub/ (don't know why the postinst script can't do that as well)
> and have got a working /boot/grub/menu.lst (the counterpart of
> lilo.conf) previously, of course.

because if you don't use stage1.5 then the mbr is encoded with a
blocklist to stage2 (i think)  so if the postinst blew away
/boot/grub/stage2 your bootloader would be broken.  this is why lilo
renames /boot/boot.b rather then just overwriting it.  this is the
Right Way to do a bootloader IMO, that way you don't have any
possiblity of a grub package upgrade breaking or altering your current
bootloader setup.  

also grub-install takes care of copying the bootloader files to
/boot/grub anyway.  (though i write a smaller installer wrapper
myself)  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpoBGdEt5wEd.pgp
Description: PGP signature


Reply to: