From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c96e5b218c93c283,start X-Google-Attributes: gid111c93,public From: Weiping Hu Subject: [HELP] disklabel not working! Date: 1998/03/12 Message-ID: <35070D87.59E2@adonis39.et.deakin.edu.au>#1/1 X-Deja-AN: 333121315 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Deakin University Newsgroups: comp.os.linux.alpha 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*)