From: heiberg@daimi.aau.dk (Morten Heiberg Rasmussen)
Subject: Bad disklabels and bootable tapes
Date: 1998/03/06 [thread overview]
Message-ID: <6doq4o$29c$1@nf.aau.dk> (raw)
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
next reply other threads:[~1998-03-06 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-06 5:00 Morten Heiberg Rasmussen [this message]
1998-03-10 5:00 ` bootable tapes Peter M. Juhl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox