Subject: Re: BootLoader
To: David Burgess <burgess@cynjut.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 04/02/2003 22:36:48
On Mon, Mar 31, 2003 at 09:54:13PM -0600, David Burgess wrote:
> 
> > On Mon, Mar 31, 2003 at 03:38:57PM -0600, David Burgess wrote:
> >> I'm having a similar problem on a couple of servers.  Whenever I try
> >> to boot, I get a "No Operating System" error.  I know I had an e-mail
> >> stuffed away here somewhere that told how to fix it, but I can't find
> >> it.  Both of these servers are upgrades from 1.5-current or 1.5.3
> >> systems.  After I do the update, I can't boot anymore.
> >>
> >> Hints?
> >
> > Hum, I don't know. I've not seen this, but I don't do upgrade via
> > sysinst very often either.
> > Does fdisk show the correct values for the partitions, BIOS geometry,
> > etc ? Is there an active partition ?
> >
> > "No Operating System" would mean that the bootcode magic number on the
> > NetBSD's partition is wrong. Did you try reinstalling the boot code
> > (installboot ....) ? Maybe from a 1.5 floppy ?
> 
> I can boot from a floppy (break out of the boot and go to hd0:/netbsd) so
> (if I'm thinking correctly) the system is pretty close.  The only thing
> that seems amiss is the bootcode magic on the partition, which doesn't
> really make any sense, since I've tried a dozen combinations of
> installboot, fdisk, and everything in /usr/mdec.  The NetBSD partition is
> active, and the partitions and BIOS geometry all seem to be correct.
> 
> I know there was a list of the commands that sysinst executes to set up
> the partition tables.  Do you know where that is?

It's in the sysinst sources, but with fdisk/installboot is should work too,
I've done it dozen of times.
Did you try to run installboot from an older, or newer boot floppy ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--