Bill Jonas on Wed, 5 Sep 2001 20:30:09 +0200


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

Re: [PLUG] LILO HELP


On Wed, Sep 05, 2001 at 02:00:37PM -0400, William Shank wrote:
> this is true for kernels < 2.2.16 (or so) and it's a problem i've seen.
> Booting from the drive is not the problem, getting lilo to write to the MBR
> of hde seems to be. i don't see a command to force it write to the MBR of
> any particular drive. :( 

>From my well-commented (Debian) lilo.conf:
# Specifies the boot device.  This is where Lilo installs its boot
# block.  It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda5


Also note lilo's -r option.  If you're trying to move stuff over to hde
from hda, you'll need to use this.  (It chroots to a directory you
specify before proceeding; it's quite useful for when you're playing
around with where partitions live, as well as recovering on a rescue
floppy.)

-- 
Bill Jonas    *    bill@billjonas.com    *    http://www.billjonas.com/
"As we enjoy great advantages from the inventions of others,  we should
be glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously."          -- Benjamin Franklin


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug