|
List Info
Thread: boot problems on 4.0beta2 installation
|
|
| boot problems on 4.0beta2 installation |

|
2006-12-25 02:11:39 |
I just installed 4.0beta2 on a new machine. (I modified the
INSTALL
kernel by commenting out the SCSI disks, to make things
fit...)
There's something wrong with the mbr boot, though. It
displays both
choices, waits the requisite 10 seconds, then says
"Error 3", as if it
doesn't have a default boot partition. (I'm 99% certain I
did specify
one...) If I type '1', it does boot NetBSD. How do I fix
this? I've
reread fdisk(8) many times, obviously missing something. I
haven't yet
tried installboot, but I assume that that's not the problem
since it
does boot if I type '1'.
--Steve Bellovin, http://www.cs.columbi
a.edu/~smb
|
|
| boot problems on 4.0beta2 installation |

|
2006-12-25 02:18:42 |
On Sun, 24 Dec 2006, Steven M. Bellovin wrote:
> There's something wrong with the mbr boot, though. It
displays both
> choices, waits the requisite 10 seconds, then says
"Error 3", as if it
> doesn't have a default boot partition. (I'm 99%
certain I did specify
> one...) If I type '1', it does boot NetBSD. How do I
fix this? I've
> reread fdisk(8) many times, obviously missing
something. I haven't yet
> tried installboot, but I assume that that's not the
problem since it
> does boot if I type '1'.
Is the NetBSD partition marked active in fdisk? I think
if the boot
menu times out, it's supposed to boot the active partition.
--
Michael L. Hitch mhitch montana.edu
Computer Consultant
Information Technology Center
Montana State University Bozeman, MT USA
|
|
| boot problems on 4.0beta2 installation |

|
2006-12-25 03:00:35 |
On Sun, 24 Dec 2006 19:18:42 -0700 (MST)
"Michael L. Hitch" <mhitch lightning.msu.montana.edu> wrote:
> On Sun, 24 Dec 2006, Steven M. Bellovin wrote:
>
> > There's something wrong with the mbr boot, though.
It displays both
> > choices, waits the requisite 10 seconds, then says
"Error 3", as if
> > it doesn't have a default boot partition. (I'm
99% certain I did
> > specify one...) If I type '1', it does boot
NetBSD. How do I fix
> > this? I've reread fdisk(8) many times, obviously
missing
> > something. I haven't yet tried installboot, but I
assume that
> > that's not the problem since it does boot if I
type '1'.
>
> Is the NetBSD partition marked active in fdisk? I
think if the
> boot menu times out, it's supposed to boot the active
partition.
>
Yes, it's marked active:
# fdisk wd0
Disk: wd0d
NetBSD disklabel disk geometry:
cylinders: 620181, heads: 16, sectors/track: 63 (1008
sectors/cylinder)
total sectors: 625142448
BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065
sectors/cylinder)
total sectors: 625142448
Partition table:
0: NetBSD (sysid 169)
bootmenu: NetBSD
start 63, size 563206707 (275003 MB, Cyls 0-35057),
Active
1: <UNUSED>
2: <UNUSED>
3: FreeBSD or 386BSD or old NetBSD (sysid 165)
bootmenu: FreeBSD
start 563206770, size 61935678 (30242 MB, Cyls
35058-38913/80/63)
Bootselector enabled, timeout 10 seconds.
--Steve Bellovin, http://www.cs.columbi
a.edu/~smb
|
|
| boot problems on 4.0beta2 installation |

|
2006-12-25 19:59:29 |
On Sun, 24 Dec 2006 21:11:39 -0500
"Steven M. Bellovin" <smb cs.columbia.edu> wrote:
> I just installed 4.0beta2 on a new machine. (I
modified the INSTALL
> kernel by commenting out the SCSI disks, to make things
fit...)
>
> There's something wrong with the mbr boot, though. It
displays both
> choices, waits the requisite 10 seconds, then says
"Error 3", as if it
> doesn't have a default boot partition. (I'm 99%
certain I did specify
> one...) If I type '1', it does boot NetBSD. How do I
fix this? I've
> reread fdisk(8) many times, obviously missing
something. I haven't
> yet tried installboot, but I assume that that's not the
problem since
> it does boot if I type '1'.
>
The solution was to run 'fdisk -B' -- somehow, it was set
wrong. I'm
not sure what happened.
--Steve Bellovin, http://www.cs.columbi
a.edu/~smb
|
|
[1-4]
|
|