Subject: Re: MBR not working (1.5)
To: None <port-i386@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: port-i386
Date: 11/23/2001 00:17:38
--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Okay, how 'bout this one.
I have similar symptoms to Anne's (the machine won't boot from the
hard disk after wiping it out and successfully restoring the file
system). I think I used to get a "No operating system" complaint.
Just now, I tried (from a 1.5.2 install floppy) an installboot of
biosboot.sym. Now, when trying to boot from the hard disk, I see:
F1: NetBSD
A
=2E.. and then nothing.
My fdisk:
NetBSD disklabel disk geometry:
cylinders: 6082 heads: 18 sectors/track: 162 (2916 sectors/cylinder)
=20
BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
=20
Partition table:
0: sysid 169 (NetBSD)
start 63, size 17796014 (8689 MB), flag 0x80
beg: cylinder 0, head 0, sector 0
end: cylinder 961, head 17, sector 34
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
=2E.. and my disklabel:
# /dev/rsd0d:
type: unknown
disk: grappa
label:=20
flags:
bytes/sector: 512
sectors/track: 162
tracks/cylinder: 18
sectors/cylinder: 2916
cylinders: 6082
total sectors: 17796077
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0=20
=20
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 2099457 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 71=
9)
b: 1049760 2099520 swap # (Cyl. 720 - 10=
79)
c: 17796014 63 unused 0 0 # (Cyl. 0*- 61=
02*)
d: 17796077 0 unused 0 0 # (Cyl. 0 - 61=
02*)
e: 9436176 3149280 4.2BSD 1024 8192 16 # (Cyl. 1080 - 43=
15)
f: 4164048 12585456 4.2BSD 1024 8192 16 # (Cyl. 4316 - 57=
43)
g: 1046573 16749504 4.2BSD 1024 8192 16 # (Cyl. 5744 - 61=
02*)
Note that both my MBR and my disklabel claim that a: starts at
sector 63, unlike Anne's problematic disk.
Any thoughts?
--=20
~ g r @ eclipsed.net
--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjv92/IACgkQ9ehacAz5CRqBRwCePZ3AJvnISu9FlakAXeIie+4J
rrEAnjo5Eh9Q25RdJ53/QizlyicMKC3h
=OQDM
-----END PGP SIGNATURE-----
--Kj7319i9nmIyA2yE--