Subject: problems booting -current
To: None <current-users@netbsd.org>
From: Jaromir Dolecek <jdolecek@per4mance.cz>
List: current-users
Date: 12/07/1998 13:36:08
Hi,
I'm using i386, kernel from sources about 2 weeks old, NetBSD-1.3H
snapshot userland.
After a short power outage I can't boot NetBSD directly off the hdd anymore.
I've tried to install new bootblocks (via installboot biosboot.sym /dev/rwd0a),
both -current and 1.3.2's and it didn't help. I even tried to switch
ids 165<-->169 and remove os-bs - didn't help.
I'm outa ideas now ...
I can first-stage-boot from floppy and follow off the hdd, FYI. Maybe
the bootblocks get installed on bad place ? Strange, it ever did work
for me ...
fdisk & disklabel output follows:
******* Working on device /dev/rwd0d *******
Warning: BIOS sector numbering starts with sector 1
parameters extracted from in-core disklabel are:
cylinders=8374 heads=16 sectors/track=63 (1008 sectors/cylinder)
parameters to be used for BIOS calculations are:
cylinders=8374 heads=16 sectors/track=63 (1008 sectors/cylinder)
Information from DOS bootblock is:
0: sysid 7 (OS/2 HPFS or NTFS or QNX2 or Advanced UNIX)
start 63, size 4199265 (2050 MB), flag 0x80
beg: cylinder 0, head 1, sector 1
end: cylinder 261, head 100, sector 63
1: sysid 165 (FreeBSD or 386BSD or old NetBSD)
start 4201344, size 2252880 (1100 MB), flag 0x0
beg: cylinder 72, head 0, sector 1
end: cylinder 258, head 15, sector 63
2: sysid 130 (Linux swap or Prime or Solaris)
start 6456240, size 512064 (250 MB), flag 0x0
beg: cylinder 401, head 225, sector 1
end: cylinder 433, head 192, sector 63
3: sysid 131 (Linux native)
start 6970320, size 1463805 (714 MB), flag 0x0
beg: cylinder 433, head 225, sector 1
end: cylinder 523, head 254, sector 63
disklabel: old BSD partition ID!
# /dev/rwd0d:
type: ST506
disk: mydisk
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 8374
total sectors: 8440992
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 2048256 4201344 4.2BSD 1024 8192 16 # (Cyl. 4168 - 6199)
b: 204624 6249600 swap # (Cyl. 6200 - 6402)
c: 2252880 4201344 unused 0 0 # (Cyl. 4168 - 6402)
d: 8440992 0 unused 0 0 # (Cyl. 0 - 8373)
e: 1463805 6970320 unknown # (Cyl. 6915 - 8367*)
--
Jaromir Dolecek <dolecek@ics.muni.cz> http://www.ics.muni.cz/~dolecek/
-------------------------------------------------------------------------
It is better never to have been born. But who among us has such luck?
One in a million, perhaps.