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

Re: lilo: liloconfig doesn't make the system bootable



On Tue 17 Mar 1998, Joost Kooij wrote:
> On Tue, 17 Mar 1998, Paul Slootman wrote:
> 
> > On Tue 17 Mar 1998, Hamish Moffatt wrote:
> > > 
> > > Hasn't lilo always done this in Debian? You need to make the Debian
> > > partition active to boot it first.
> > 
> > Yes, but that doesn't work in the case of a "virgin" disk, i.e. without
> > any dos / whatever primary boot block, which is what looks at what the
> > active partition is and then boots that. Try it with a disk that's been
> > clobbered with "dd if=/dev/zero of=/dev/hda count=100"; install debian
> > on that, and watch how it fails to boot after installation.
> > 
> > This does indeed need to be fixed.
> 
> I think /usr/sbin/liloconfig does get it right:
> 
> if ( &askn("Install a master boot record on ", $disk) ) {
>         print "Installing MBR on $disk\n";
>         system("dd if=/boot/mbr.b of=$disk bs=444 count=1");
> 
> The /boot/mbr.b file is in package mbr.

OK, this looks right.

However, I don't recall seeing the following question when doing a
straight install of debian:

    A master boot record is required to run the paritition boot record.
    If you are already using a boot manager, and want to keep it,
    answer "no" to the following question. If you don't know
    what a boot manager is or whether you have one, answer "yes".
    Install a master boot record on /dev/hda? [No] 

I'll try a clean install soon, and report back if this does in fact not
work.


Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Support Randal Schwartz!
See http://www.lightlink.com/fors/ or send empty email to fund@stonehenge.com


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: