Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Bad disklabels and bootable tapes
@ 1998-03-06  5:00 Morten Heiberg Rasmussen
  1998-03-10  5:00 ` Peter M. Juhl
  0 siblings, 1 reply; 2+ messages in thread
From: Morten Heiberg Rasmussen @ 1998-03-06  5:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootable tapes
  1998-03-06  5:00 Bad disklabels and bootable tapes Morten Heiberg Rasmussen
@ 1998-03-10  5:00 ` Peter M. Juhl
  0 siblings, 0 replies; 2+ messages in thread
From: Peter M. Juhl @ 1998-03-10  5:00 UTC (permalink / raw)
  To: Morten Heiberg Rasmussen


Morten Heiberg Rasmussen wrote:
[snip]
> /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?

I recently had a problem booting after making changes to inittab 
(had "kloadsrv: kernel load server already running" scrolling). 
I did a full restore from tape (see chap.12 in Sys.Adm):
>>> init
>>> show dev
>>> boot -fl "nc" MKC500
This will bring you to a menu from which you may choose a default or 
advanced restore (perhaps Ctrl-C works here?)

My btcreate was recent so I did not mind restoring the whole disk. 
My 433au was shipped with DU preinstalled and no bootable CD-ROM.

However, it should be possible to boot from tape and then mount / for
repairs 
(or in Mortens case disklabel the disk). Does anyone know how to do
this?

I think the answer to this question should be in the FAQ.

BTW, I have a second disk in my box. How do I setup a partition of this
disk as a secondary boot device? (which files do I need to copy? Is it
sufficient
to copy the kernel and other files or should the partition be made
'bootable' 
in some sence?)



Peter
-- 
Peter M. Juhl                     | E-mail: pmj@dat.dtu.dk     D T U
Technical University of Denmark   | http://www.dat.dtu.dk/~pmj -----+
Department of Acoustic Technology | Telephone                  <>-<>|
Building 352                      |   Direct   : +45 4525 3954 <>-<>|
DK-2800 Lyngby                    |   Secretary: +45 4588 1622 <>-<>|
Denmark                           | Fax: +45 4588 0577              |
+------------------------------------------------------------+     /
| Insanity is hereditary.  You get it from your kids.        |    /
+------------------------------------------------------------+   /



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-10  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-06  5:00 Bad disklabels and bootable tapes Morten Heiberg Rasmussen
1998-03-10  5:00 ` Peter M. Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox