Re: question on MBR (to verify) "Huub" <v.niekerk@freeler.nl> wrote in message
news:ynKtc.539$9n5.68@amstwist00...
> MikeyD wrote:
> >>>>Until now I booted my Slack with a floppy. Now I want to boot it
> >>>>directly from harddisk. As I read 'man lilo', I understand it says
that
> >>>>'lilo -M' will write lilo to the MBR. Is this a correct assumption?
> >>>>
> >>>
> >>>No. That's the wrong thing to do. That installs a standard MBR, and is
> >>>intended as a way to uninstall lilo if you've lost your boot sector
> >>>backup. The correct way to do it is lilo -b /dev/hdx or /dev/sdx
> >>>(whichever hard disk it is). Or change the boot= line in lilo.conf.
> >>
> >>the boot= line says /dev/hdc2. So 'lilo -b /dev/hdc' will install lilo
> >>in the MBR of /dev/hdc and I will be booting OK?
> >
> >
> > Yes, that will be fine. But if you plan on keeping it there long-term,
it's
> > probably better style to change lilo.conf to say boot=/dev/hdc and then
you
> > can run lilo without any options.
> I did it, but to no avail. I also changed the bootable-flag from / to
> /boot. When booting from harddisk, it keeps coming with LI 99. Luckily I
> still have the boot-floppy. Any idea?
Then instead of installing to MBR, install to boot partition. I always
use liloconfig (after backing up lilo.conf, to keep the stuff I don't want
overwritten, like 'vga=ext'), and when I get LILO 99 from one, I do it
again and pick the other (MBR/boot sector).
It affects the same boot= line in lilo.conf, but I don't want to tell you
what to put there since it's your drive. liloconfig will find your boot
sectors.
Good Luck!
Rich |