ブログ > 2008年12月03日 > ThinkPad X61 の 200GB の HDD に WindowsXP, NetBSD 4.0.1, Ubuntu? > Linux 8.10 を共存させ、MBM から選擇《せんたく》
# fdisk Disk: /dev/rwd0d NetBSD disklabel disk geometry: cylinders: 387621, heads: 16, sectors/track: 63 (1008 sectors/cylinder) total sectors: 390721968 BIOS disk geometry: cylinders: 1023, heads: 240, sectors/track: 63 (15120 sectors/cylinder) total sectors: 390721968 Partition table: 0: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7) start 63, size 41957937 (20487 MB, Cyls 0-2774) 1: NetBSD (sysid 169) start 41958000, size 10493280 (5124 MB, Cyls 2775-3468), Active 2: Linux native (sysid 131) start 52451280, size 328451760 (160377 MB, Cyls 3469-25191) 3: Compaq diagnostics (sysid 18) start 380903040, size 9812880 (4791 MB, Cyls 25192-25840) Drive serial number: -1680084871 (0x9bdbf079)
# disklabel wd0 # /dev/rwd0d: type: unknown disk: HITACHI HTS7220 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 387621 total sectors: 390721968 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: 10493280 41958000 4.2BSD 2048 16384 0 # (Cyl. 41625 - 52034) c: 10493280 41958000 unused 0 0 # (Cyl. 41625 - 52034) d: 390721968 0 unused 0 0 # (Cyl. 0 - 387620) e: 41957937 63 NTFS # (Cyl. 0*- 41624) f: 328451760 52451280 Linux Ext2 2048 16384 # (Cyl. 52035 - 377879) g: 9812880 380903040 MSDOS # (Cyl. 377880 - 387614)
# cat /etc/fstab # NetBSD /etc/fstab # See /usr/share/examples/fstab/ for more examples. /dev/wd0a / ffs rw 1 1 /dev/wd0e /ntfs ntfs ro 0 0 /dev/wd0f /linux ext2fs rw,noauto 0 0 /dev/wd0g /dos msdos ro,noauto 0 0 kernfs /kern kernfs rw procfs /proc procfs rw,noauto #