提示
在i386平台上, 在sysinst安装过程中, 当询问你是否你想 "use the entire disk for NetBSD"时, 回答 "yes".
[INDENT]Chapter 2, 安装NetBSD: 规划和准备
NetBSD/i386安装指导
NetBSD/sparc64 安装指导[/INDENT]
一旦安装完成, 你应该检查 disklabel(8) 和 fdisk(8) / sunlabel(8) 在系统上的输出:
代码: 全选
# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd0a 9343708 191717 8684806 2% /
在 i386:
代码: 全选
# disklabel -r wd0
type: unknown
disk: Disk00
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 19386
total sectors: 19541088
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 19276992 63 4.2BSD 1024 8192 46568 # (Cyl. 0* - 19124*)
b: 264033 19277055 swap # (Cyl. 19124* - 19385)
c: 19541025 63 unused 0 0 # (Cyl. 0* - 19385)
d: 19541088 0 unused 0 0 # (Cyl. 0 - 19385)
# fdisk /dev/rwd0d
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 19386, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 19541088
BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 19541088
Partition table:
0: NetBSD (sysid 169)
start 63, size 19541025 (9542 MB, Cyls 0-1216/96/1), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
代码: 全选
# disklabel -r wd0
type: unknown
disk: Disk0
[...snip...]
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 19278000 0 4.2BSD 1024 8192 46568 # (Cyl. 0 - 19124)
b: 263088 19278000 swap # (Cyl. 19125 - 19385)
c: 19541088 0 unused 0 0 # (Cyl. 0 - 19385)
# sunlabel /dev/rwd0c
sunlabel> P
a: start cyl = 0, size = 19278000 (19125/0/0 - 9413.09Mb)
b: start cyl = 19125, size = 263088 (261/0/0 - 128.461Mb)
c: start cyl = 0, size = 19541088 (19386/0/0 - 9541.55Mb)