Subject: Boot Problems (fdisk / disklabel)
To: None <muc-lists-netbsd-current-users@moderators.muc.de>
From: Michael Core <520079546242-0001@t-online.de>
List: current-users
Date: 03/24/2002 23:15:48
Hi,
I'm using 1.5ZA and I've installed a new hard drive (Quantum Fireball Ict
10,2 GB with U-DMA). As the other drive has only 1,2 GB and is rather
slow, I'd normally remove it. The problem is I cannot boot from the new
drive. I created mount points for / and /usr, copied all necessary file
and used fdisk to install the boot loader. When I boot my PC I see "F4:
NetBSD", hit enter and nothing happends but a "3" appears. That's why I
still have to boot from the old drive. Maybe it's not that bad having /
and /usr on seperated drive and it's not critical but I just don't get it
why it doesn't work. Here are my configs:
# disklabel wd0
# /dev/rwd0d:
type: unknown
disk: QUANTUM FIREBALL
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 19885
total sectors: 20044080
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 512000 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 507*)
b: 18983853 1060227 4.2BSD 1024 8192 16 # (Cyl. 1051*- 19884)
c: 20044017 63 unused 0 0 # (Cyl. 0*- 19884)
d: 20044080 0 unused 0 0 # (Cyl. 0 - 19884)
(removed some spaces to avoid a line break)
# fdisk -B wd0
NetBSD disklabel disk geometry:
cylinders: 19885 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 1023 heads: 255 sectors/track: 63 (16065 sectors/cylinder)
Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
start 63, size 500000 (244 MB), flag 0x80
beg: cylinder 0, head 0, sector 63
end: cylinder 1023, head 15, sector 63
The bootselector is installed and active.
I'm not sure what "beg" is correct whether 0/0/63, 0/1/0 or 0/1/1. IIRC I
tried everything but nothing worked. Actually the size (244 MB) isn't
correct because I didn't want to calculate the exact "end", but I assume
that doesn't matter at all (and I won't put any further partition on it).
Any ideas? Thanks in advance!