* [HELP] disklabel not working!
@ 1998-03-12 5:00 Weiping Hu
0 siblings, 0 replies; only message in thread
From: Weiping Hu @ 1998-03-12 5:00 UTC (permalink / raw)
Dear all,
I have a DEC Alpha 200, running Digital Unix 3.2c. I custom partitioned
the disk, but somehow didn't write the partition information to the hard
disk. Apparently there is no problem when I run Unix, because the
partition information is kept in the memory. But when I boot Linux from
floppy disks, these partitions are not show in the partition table. I
don't understand why this is so, but think it has something to do with
the fact the partition information has not been written to the hard
disk. (e.g., if I type disklabel -r rz0 I get
Disk is unlabeled or, /dev/rrz0a does not start at block 0 of the disk
But if use disklabel rz0 I'll get the correct partion table.
So I tried to use disklabel -rw -t ufs rz0 rz29b to write the partition
information to the disk. But it doesn't work! I got the following
error message:
# disklabel -rw -t ufs rz0 rz29b
disklabel: ioctl DIOCSDINFO: Open partition would move or shrink
Use alternate partition
I have a large amount of information on the disk, so I don't want to
start to repartition the disk. Any suggestions? I also include the
partition table, just in case. My plan is to make partition g (which is
empty) into a Linux ext2 partition.
Thank you very much in advance.
Kind regards,
Weiping Hu
# disklabel rz0
# /dev/rrz0a:
type: SCSI
disk: RZ29B
label:
flags:
bytes/sector: 512
sectors/track: 113
tracks/cylinder: 20
sectors/cylinder: 2260
cylinders: 3708
sectors/unit: 8380080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 4.2BSD 1024 8192 16 # (Cyl. 0 -
57*)
b: 393216 131072 unused 1024 8192 # (Cyl. 57*-
231*)
c: 8380080 0 unused 1024 8192 # (Cyl. 0 -
3707)
d: 172032 524288 4.2BSD 1024 8192 16 # (Cyl. 231*-
308*)
e: 2097152 696320 4.2BSD 1024 8192 16 # (Cyl. 308*-
1236*)
f: 2097152 2793472 4.2BSD 1024 8192 16 # (Cyl. 1236*-
2163*)
g: 2097152 4890624 4.2BSD 1024 8192 16 # (Cyl. 2163*-
3091*)
h: 1392304 6987776 4.2BSD 1024 8192 16 # (Cyl. 3091*-
3707*)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-12 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-12 5:00 [HELP] disklabel not working! Weiping Hu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox