Hi The following are the partitions in My second disk in 4.5

$ sudo fdisk wd1
Disk: wd1       geometry: 9729/255/63 [156301488 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-----------------------------------------------------------------------------
--
*0: 83      0   1   1 -   1823 254  63 [          63:    29302497 ] Linux
files*
 1: 83   1824   0   1 -   3647 254  63 [    29302560:    29302560 ] Linux
files*
 2: 83   3648   0   1 -   5471 254  63 [    58605120:    29302560 ] Linux
files*
 3: 05   5472   0   1 -   9728 254  63 [    87907680:    68388705 ] Extended
DOS
Offset: 87907680        Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-----------------------------------------------------------------------------
--
 0: 82   5472   1   1 -   5714 254  63 [    87907743:     3903732 ] Linux
swap
 1: 05   5715   0   1 -   9728 254  63 [    91811475:    64484910 ] Extended
DOS
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Offset: 91811475        Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-----------------------------------------------------------------------------
--
 0: 83   5715   1   1 -   9728 254  63 [    91811538:    64484847 ] Linux
files*
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
$


$ sudo disklabel wd1
# Extended partition 3: type 05 start 87907680 size 68388705
# Extended partition 1: type 05 start 3903795 size 64484910
disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD800BB-00JH
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9729
total sectors: 156301488
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]
  c:        156301488                0  unused
  i:         29302497               63   MSDOS
  j:         29302560         29302560  ext2fs
  k:         29302560         58605120   MSDOS
  l:          3903732         87907743 unknown
  m:         64484847         91811538  ext2fs
$

Now when I try to change fstype of partition k using disklabel -e

I get the following output
# Extended partition 3: type 05 start 87907680 size 68388705
# Extended partition 1: type 05 start 3903795 size 64484910
disklabel: warning, DOS partition table with no valid OpenBSD partition
disklabel: line 24: too few fields
re-edit the label? [y]:

and the fstype is not changed to 4.2BSD :-(

Could Somebody help me with this?

Thanks

--Siju

Reply via email to