, Simas Mockevicius <symka@vejas.lt>
From: Simas Mockevicius <symka@vejas.lt>
List: port-i386
Date: 04/07/2001 23:02:54
Hi,
Wojtek, can You show me exactly what to do ? I am afraid to lost all that data
? please :) Here is a outputs from fdisk wd1:
bash-2.04# fdisk wd1
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
Partition table:
0: sysid 131 (Linux native)
start 63, size 4192902 (2047 MB), flag 0x80
beg: cylinder 0, head 1, sector 1
end: cylinder 260, head 254, sector 63
1: sysid 5 (Extended partition)
start 4192965, size 13848030 (6761 MB), flag 0x0
beg: cylinder 261, head 0, sector 1
end: cylinder 1023, head 254, sector 63
2: <UNUSED>
3: <UNUSED>
And here is disklabel output:
bash-2.04# disklabel -I -i wd1
partition> P
8 partitions:
# size offset fstype [fsize bsize cpg]
d: 18041184 0 unused 0 0 # (Cyl. 0 - 17897)
e: 4192902 63 Linux Ext2 0 0 # (Cyl. 0*- 4159*)
f: 13848030 4192965 unused 0 0 # (Cyl. 4159*- 17897*)
partition>
thanx:* :)
Sincerely,
Symka
>fdisk wd1 on one console
>disklabel -I -i wd1
>
>and edit disklabel. use ? to help, edit disklabel info and then edit
>wd1e,f,g for your 3 linux partitions (copying sector start and size from
>fdisk output). enter MSDOS as type - it should not matter much but i don't
>know if there is EXT2 type in disklabel partitions
>
>