Quote:
Originally Posted by J65nko
Somebody ported this to NetBSD, but AFAIK it is not part of the NetBSD base system.
|
I've just found it. However, it obviously cannot be run on a mounted partition. So, can that utility be found on a FreeBSD LiveCD (supposing that it exists) and would it be safe to run it on a NetBSD partition?
Quote:
BTW your problem would be more understandable if you would post your fdisk and disklabel output
|
fdisk:
Code:
Disk: /dev/wd0d
NetBSD disklabel disk geometry:
cylinders: 310101, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 312581808
BIOS disk geometry:
cylinders: 1024, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 312581808
Partition table:
0: Primary DOS with 32 bit FAT - LBA (sysid 12)
bootmenu: WINDOWS
start 63, size 12321792 (6017 MB, Cyls 0-766), Active
1: Primary DOS with 32 bit FAT - LBA (sysid 12)
start 12321855, size 18442620 (9005 MB, Cyls 767-1914)
2: Primary DOS with 32 bit FAT - LBA (sysid 12)
start 30764475, size 22523130 (10998 MB, Cyls 1915-3316)
3: Ext. partition - LBA (sysid 15)
start 53287605, size 259289100 (126606 MB, Cyls 3317-19456)
Extended partition table:
E0: Primary DOS with 32 bit FAT (sysid 11)
start 53287668, size 16402302 (8009 MB, Cyls 3317-4337)
E1: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
start 69690033, size 8193087 (4001 MB, Cyls 4338-4847)
E2: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
start 77883183, size 8401932 (4103 MB, Cyls 4848-5370)
E3: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
start 86285178, size 16595082 (8103 MB, Cyls 5371-6403)
E4: Primary DOS with 32 bit FAT (sysid 11)
start 102880323, size 1429722 (698 MB, Cyls 6404-6492)
E5: Primary DOS with 32 bit FAT (sysid 11)
start 104310108, size 17607177 (8597 MB, Cyls 6493-7588)
E6: Linux native (sysid 131)
start 121917348, size 42154497 (20583 MB, Cyls 7589-10212)
E7: NTFS, OS/2 HPFS, QNX2 or Advanced UNIX (sysid 7)
start 164071908, size 16386237 (8001 MB, Cyls 10213-11232)
E8: NetBSD (sysid 169)
start 180458208, size 20498877 (10009 MB, Cyls 11233-12508)
E9: Linux swap or Prime or Solaris (sysid 130)
start 286053453, size 273042 (133 MB, Cyls 17806-17822)
PBR is not bootable: All bytes are identical (0x00)
E10: Linux swap or Prime or Solaris (sysid 130)
start 286326558, size 273042 (133 MB, Cyls 17823-17839)
PBR is not bootable: All bytes are identical (0x00)
E11: Linux native (sysid 131)
start 286599663, size 514017 (251 MB, Cyls 17840-17871)
PBR is not bootable: All bytes are identical (0xf6)
E12: Linux native (sysid 131)
start 287113743, size 25462962 (12433 MB, Cyls 17872-19456)
PBR is not bootable: All bytes are identical (0xf6)
Bootselector enabled, timeout 7 seconds.
First active partition: 0
Drive serial number: 149817581 (0x08ee08ed)
disklabel:
Code:
# /dev/rwd0d:
type: unknown
disk: BIGMAXTOR
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 310101
total sectors: 312581808
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: 8721216 180458208 4.2BSD 2048 16384 0 # (Cyl. 179026 - 187677)
b: 263088 189179424 swap # (Cyl. 187678 - 187938)
c: 20498877 180458208 unused 0 0 # (Cyl. 179026 - 199362*)
d: 312581808 0 unused 0 0 # (Cyl. 0 - 310100)
e: 12321792 63 MSDOS # (Cyl. 0*- 12224*)
f: 18442620 12321855 MSDOS # (Cyl. 12224*- 30520*)
g: 24579450 30764475 MSDOS # (Cyl. 30520*- 54904*)
h: 11514762 189442512 4.2BSD 2048 16384 0 # (Cyl. 187939 - 199362*)
i: 14345982 55343988 MSDOS # (Cyl. 54904*- 69136*)
j: 8193087 69690033 NTFS # (Cyl. 69136*- 77264)
k: 8401932 77883183 NTFS # (Cyl. 77265*- 85600*)
l: 15759702 86285178 NTFS # (Cyl. 85600*- 101234)
m: 1429722 102880323 MSDOS # (Cyl. 102063*- 103482*)
n: 17607177 104310108 MSDOS # (Cyl. 103482*- 120949*)
o: 42154497 121917348 Linux Ext2 0 0 # (Cyl. 120949*- 162769*)
p: 16386237 164071908 NTFS # (Cyl. 162769*- 179025*)