[ale] Booting from hard drive

Joe Knapka jknapka at charter.net
Wed Oct 13 22:42:14 EDT 1999


smnoldelinux at mediaone.net wrote:
> 
> Lilo seems to be one of the mysteries of the world to me.
> 
> Here's my /etc/lilo.conf:
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> default=linux

Somewhere in here you want to add a line like:

boot=/dev/hda

to install on the master boot record of the 1st HD
or:

boot=/dev/hda1

to install on the boot sector of 1st partition on 1st HD
(similarly for other partitions). If you already have
a working MBR with a boot manager that allows you
to boot your Linux partition, but the Linux partition
is hosed, then tell lilo to install itself on the
Linux partition. If your MBR itself is hosed, then
tell lilo to install there.

Luck,

-- Joe

> 
> image=/boot/vmlinuz-2.2.12-20
>         label=linux
>         initrd=/boot/initrd-2.2.12-20.img
>         read-only
>         root=/dev/hda6
> 
> And /mnt/floppy/etc/lilo.conf:

(Here, lilo is going to install itself on the MBR
of the floppy.)

> boot=/dev/fd0
> timeout=100
> message=/boot/message
> prompt
> image=/vmlinuz-2.2.12-20
>         label=linux
>         root=/dev/hda6
> image=/vmlinuz-2.2.12-20
>         label=rescue
>         append="load_ramdisk=2 prompt_ramdisk=1"
>         root=/dev/fd0
> 
> Should I just add the boot line (boot=/dev/hda6) to the /etc/lilo.conf?
> 
> All help appreciated,
> Scott
> 
> "Pritchard, Kenneth" wrote:
> >
> > Scott wrote:
> >
> > I seemed to have hosed my hard drive boot record long ago.  I've been
> > forced to boot from a floppy ever since.  Is there a way to rebuild the
> > boot sector/record so I don't have to use a floppy.  The key to all
> > this, though, is to not risk the installation I've got now.
> >
> > Thanks,
> > Scott
> >
> > Boot from your floppy and edit /etc/lilo.conf, then run lilo. Should install
> > the bootloader.
> >
> > Ken

-- Joe Knapka
* I speak only for myself, not for The Software Monastery,
* which exists solely to provide an organization for which
* I can claim not to speak.
* http://whyme.penguinpowered.com/monastery.html






More information about the Ale mailing list