Subject: Re: Can't boot without floppy
To: Dan Graaff <subscribed@de-net.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 07/25/2001 21:32:44
On Wed, Jul 25, 2001 at 02:32:47AM -0700, Dan Graaff wrote:
> Hey all,
>
> I'm sort of dabbling a bit.. after being a FreeBSD nut for about 6 years I
> decided to branch out a bit, but not do something to wild, like give linux
> another try.. so I decided to put NetBSD on my laptop. I have an Enpower
> 314...
>
> Here's my problem... have the boot manager installed, and it boots Win ME by
> default (I don't have alternatives to Word etc yet), and NetBSD as F2's
> option.. so I press F1 or just wait, and Windows boots... ok cool.. so I
> press F2 to boot NetBSD right? Wrong. I press F2 and I get a "3" printed
> just under the boot manager, like it means something to me... so I yelled a
> bit, then I booted back by doing a boot wd0:netbsd from the boot prompt of
> the bootlap1.fs floppy. Boot back in, and fdisk -I.. just for fun.. reboot
> "Missing Operating System" .. great.. so I boot back into NetBSD with a
> floppy and reinstall the boot manager, and go into Windows.. I get the
> pfdisk.exe program, and write down my disk geometry... go back in to NetBSD
> with the floppy, fdisk -I and set the geometry.. but it was right already!
> So, I tried a bunch of other stuff, like removing the 3rd partition -
> hibernation partition for the laptop, that I never used anyway.. and nothing
> fixes it.. I still get a nice frustrating "3" every time I press F2, or if I
> set NetBSD to be the default OS, and wait 10 seconds at boot... then "3"
Hum. '3' is "Magic no. check failed for part" (from mbr_bootsel.S).
So it has read the wrong sector. I suspect a geometry mismatch between what
the BIOS uses and what NetBSD thinks it is.
Did you change the geometry with pfdisk.exe ?
If so I think you have to rewrite the partition table under NetBSD, to make
the C/H/S of the partition match the LBA.
run fdisk -u, when it comes to the NetBSD partition says you want to change
it. Accpect the default values to start and size, and when it ask if you
want to specify begin/end addr say no (it should get it rigth now). at the end
when it asks if you want to update the partition table say yes.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--