From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5e325184acf24b94,start X-Google-Attributes: gidfee84,public From: heiberg@daimi.aau.dk (Morten Heiberg Rasmussen) Subject: Bad disklabels and bootable tapes Date: 1998/03/06 Message-ID: <6doq4o$29c$1@nf.aau.dk>#1/1 X-Deja-AN: 331384162 Organization: DAIMI, Computer Science Dept. at Aarhus University Newsgroups: comp.unix.osf.osf1 Hi I am running Digital UNIX 4.0 on an Alpha 500au. Recently the graphical interface to the disk partitioning system was kind enough to write an inconsistent disklabel to my /usr partition that was already mounted. The disklabel now states that the partition is larger than before but the filesystem was not damaged. I have a complete backup of the partitions. What I would like to do is change the disklabel back to its old (correct) state, and I have the settings written down. However the 'disklabel' command will not let me edit the label even though the partition is not mounted. I think it is because I have other partitions (/) residing on the same physical disk mounted. Since I do not have a boot CD I would like to make a bootable tape and boot from that and then change the disklabel of my /usr partition and restore the files. I have used the btcreate utility specifying both my / and /usr partitions and no customizations. Then I put the machine in console mode (>>>) and type 'boot mkc500.5.0.1008.0' which is my tape drive. It then reads the boot block from the tape and starts loading the kernel. After the message "Loading Digital UNIX"-etc.etc. the screen goes black and my monitor enters standby-mode. Nothing more happens. I have tried to break the boot process with CTRL-C in the hope of entering single-user mode from the tape with no hard-disk partitions in use but with the same result. What am I doing wrong? Is there some easier way to edit the disklabel than booting from tape? There is only one physical disk in the machine and even though only the root partition (/dev/rrz16a) is mounted 'disklabel' will not allow me to edit the label of /usr (/dev/rrz16g) because the partition is claimed to be 'in use'. Please help. Morten Heiberg email: ph.ph1.mhr@aaa.dk OR heiberg@daimi.aau.dk