Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* osf_boot deleted(?). What to do?
@ 1994-11-29 21:56 Panayotis Kassapidis, IISR/NOA
  1994-11-30 17:34 ` Volker Hejny
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Panayotis Kassapidis, IISR/NOA @ 1994-11-29 21:56 UTC (permalink / raw)


	Hello!

 A friend's DEC 3000-500 running OSF/1 V1.3 is unable to boot because
osf_boot got lost (or deleted?). The console displays:

>>> boot DKA300

INIT-S-SCC...
INIT-S-NI...
INIT-S-SCSI...
INIT-S-ISDN...
INIT-S-TC2...
AUDIT_BOOT_STARTS...
AUDIT_CHECKSUM_GOOD
AUDIT_LOAD_BEGINS
AUDIT_LOAD_DONE
can't load osf_boot

?05 HLT INSTR ....

>>>

 I boot the machine from the distribution CD-ROM and enter single-user
mode in an attempt to find what's going on:

# cd /dev
# MAKEDEV rz3
....
# mount /dev/rz3a /tmp
/dev/rz3a on /tmp: Dirty file system
# fsck /dev/rz3a
/sbin/ufs_fsck /dev/rz3a
/dev/rz3a is not a character device
CONTINUE? [yn] y

** /dev/rz3a
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE ID=3253 OWNER=0 MODE=100644
SIZE=1270 MTIME=Sep 29 11:18 1994
CLEAR? [yn] n

** Phase 5 - Check Cyl groups
833 files, 41781 used, 8601 free (121 pages, 1060 blocks, 0.2% fragmentation)
Filesystem still has errors - rerun fsck.
#

 If I answer yes to the CLEAR? question will the unreferenced file go
to the lost+found directory on rz3a automagically? How can I tell if this
is osf_boot? Is osf_boot somewhere on the distribution CD-ROM, so all I
have to do is mount it and just copy it to the system disk?
 What is the correct course of action in such case where key system files
(osf_boot, the OSF/1 kernel, etc.) are corrupted or missing? What do you
suggest we should do?

	Many thanks in advance,
	Panayotis

-----
Panayotis Kassapidis                            Tel: +(30) 1 346 2710
Inst. of Ionosphere & Space Research                 +(30) 1 346 4412
National Observatory of Athens, Greece.         Fax: +(30) 1 342 0022

E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr   (Internet)
        29123::KASSAPIDIS     (SPAN)

Gravitation cannot be held responsible for people falling in love.
 Albert Einstein.


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

* Re: osf_boot deleted(?). What to do?
  1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
@ 1994-11-30 17:34 ` Volker Hejny
  1994-11-30 18:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
  2 siblings, 0 replies; 6+ messages in thread
From: Volker Hejny @ 1994-11-30 17:34 UTC (permalink / raw)



In article <D01uAD.KCB@clnsnet.ariadne-t.gr>, kassapidis@thission.iisr.noa.ariadne-t.gr (Panayotis Kassapidis, IISR/NOA) writes:
|> A friend's DEC 3000-500 running OSF/1 V1.3 is unable to boot because
|>osf_boot got lost (or deleted?). The console displays:
|>
|>>>> boot DKA300
|>
|>INIT-S-SCC...
|>INIT-S-NI...
|>INIT-S-SCSI...
|>INIT-S-ISDN...
|>INIT-S-TC2...
|>AUDIT_BOOT_STARTS...
|>AUDIT_CHECKSUM_GOOD
|>AUDIT_LOAD_BEGINS
|>AUDIT_LOAD_DONE
|>can't load osf_boot
|>
|>?05 HLT INSTR ....
|>
|>>>>
|>
--

Only a comment:

Are you sure the error is caused by the missing osf_boot ? This morning
I've got the same error caused by a malfunctioned exabyte drive that
confused the whole SCSI bus (or only the boot disk id). Maybe you
have problems likie this.

Volker

==============================================================================
Volker Hejny                | Tel.: 0641 - 702 2783     |  \|/   ____   \|/
II. Physikalisches Institut |                  2760     |   @~  / .. \  ~@
Universitaet Giessen        | Fax : 0641 - 74390        |    \_( \__/ )_/
Heinrich-Buff-Ring 16       |                           |       \____/
D-35392 Giessen             | Internet:     hejny@marvin.physik.uni-giessen.de
==============================================================================


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

* Re: osf_boot deleted(?). What to do?
  1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
  1994-11-30 17:34 ` Volker Hejny
@ 1994-11-30 18:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
  2 siblings, 0 replies; 6+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-11-30 18:34 UTC (permalink / raw)



In article <D01uAD.KCB@clnsnet.ariadne-t.gr>, kassapidis@thission.iisr.noa.ariadne-t.gr (Panayotis Kassapidis, IISR/NOA) writes:


> I boot the machine from the distribution CD-ROM and enter single-user
>mode in an attempt to find what's going on:
>
># fsck /dev/rz3a

For what its worth, I'd have run fsck on /dev/rrz3a directly, though
it probably doesn't matter with the file system unmounted.

>/sbin/ufs_fsck /dev/rz3a
>/dev/rz3a is not a character device
>CONTINUE? [yn] y
>
>** /dev/rz3a
>** Last Mounted on /
>** Phase 1 - Check Blocks and Sizes
>** Phase 2 - Check Pathnames
>** Phase 3 - Check Connectivity
>** Phase 4 - Check Reference Counts
>UNREF FILE ID=3253 OWNER=0 MODE=100644
>SIZE=1270 MTIME=Sep 29 11:18 1994
>CLEAR? [yn] n

For what its worth osf_boot on my V1.3 system is inode #10 and is 45,520
byte long.  I'd guess that this file isn't osf_boot.

>
>** Phase 5 - Check Cyl groups
>833 files, 41781 used, 8601 free (121 pages, 1060 blocks, 0.2% fragmentation)
>Filesystem still has errors - rerun fsck.
>#
>
> If I answer yes to the CLEAR? question will the unreferenced file go
>to the lost+found directory on rz3a automagically?

I think it should end up in lost+found.  The time, size, permissions,
etc, are consistent with those of a file and not some random corruption.
That isn't connected to anything just means there's no directory
entry that remembers it.  It could have been a temporary file.

>How can I tell if this is osf_boot?

I compared the size of the file with the size of a known /osf_boot.  If
your /usr is intact you could have looked at the inventory files in
/usr/.smdb. to see how big osf_boot is supposed to be.  I haven't
looked closely at a distribution CD to see, but since it is bootable,
I'd guess that osf_boot is on it.

>Is osf_boot somewhere on the distribution CD-ROM, so all I
>have to do is mount it and just copy it to the system disk?

If that is all that is missing, sure.

> What is the correct course of action in such case where key system files
>(osf_boot, the OSF/1 kernel, etc.) are corrupted or missing? What do you
>suggest we should do?

Identify what files are missing or corrupt.  If the number is small
and all are replaceable from the distribution, then just use that.
In the particular case of the kernel track see if you kept a copy
in the /sys build directory.  It is a wise thing to do.  Failing
that see if genvmunix is still around.  That will let you boot
and rebuild from your existing configuration file.  It may require
no more than linking the kernel.  If genvmunix is gone as well,
try the distribution kernel on the CD.

When all else fails, or the damage is too severe to repair by
copying a couple of files, restore from backup.  If you don't
have a reasonably current backup, you should.

>
>	Many thanks in advance,
>	Panayotis
>
>-----
>Panayotis Kassapidis                            Tel: +(30) 1 346 2710

--
Alan Rollow				alan@nabeth.cxo.dec.com



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

* All / files deleted. Is an OSF/1 disk mountable under Ultrix?
  1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
  1994-11-30 17:34 ` Volker Hejny
  1994-11-30 18:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-12-06 23:44 ` Panayotis Kassapidis, IISR/NOA
  1994-12-07 23:33   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2 siblings, 1 reply; 6+ messages in thread
From: Panayotis Kassapidis, IISR/NOA @ 1994-12-06 23:44 UTC (permalink / raw)


In article <D01uAD.KCB@clnsnet.ariadne-t.gr>, I wrote:
>	Hello!
>
> A friend's DEC 3000-500 running OSF/1 V1.3 is unable to boot because
>osf_boot got lost (or deleted?). The console displays:
>

 [trimmed]

> I boot the machine from the distribution CD-ROM and enter single-user
>mode in an attempt to find what's going on:
>

 [trimmed]

># fsck /dev/rz3a
>/sbin/ufs_fsck /dev/rz3a
>/dev/rz3a is not a character device
>CONTINUE? [yn] y
>
>** /dev/rz3a
>** Last Mounted on /
>** Phase 1 - Check Blocks and Sizes
>** Phase 2 - Check Pathnames
>** Phase 3 - Check Connectivity
>** Phase 4 - Check Reference Counts
>UNREF FILE ID=3253 OWNER=0 MODE=100644
>SIZE=1270 MTIME=Sep 29 11:18 1994
>CLEAR? [yn] n
>
>

 After allowing fsck to repair all file system damages, I mounted /dev/rz3a
and discovered that indeed all plain (non-directory) files in the root
directory were gone. This was probably the result of an unfortunate 'rm *'
command. Now my options are, to either re-install OSF/1 and layered products,
or try to copy osf_boot and vmunix back to / (is any other file needed to
get going?).
 I chose to try the second way. I copied osf_boot and vmunix from another
system (physically quite far from ours) to a nearby DECstation. My question
is, is it possible to mount an OSF/1 V1.3 filesystem under Ultrix V4.2? If
yes, I could mount an external disk we have under Ultrix, copy the files in
question to it, reconnect the disk to the Alpha and copy the files back to
the  root directory. Is this possible? Should I try it?  I 'm sorry is this 
is a funny (or silly) question, but when it comes to Unix systems I am still
a beginner.

	Many thanks for your help so far,
	Panayotis

-----
Panayotis Kassapidis                            Tel: +(30) 1 346 2710
Inst. of Ionosphere & Space Research                 +(30) 1 346 4412
National Observatory of Athens, Greece.         Fax: +(30) 1 342 0022

E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr   (Internet)
        29123::KASSAPIDIS     (SPAN)

Gravitation cannot be held responsible for people falling in love.
 Albert Einstein.


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

* Re: All / files deleted. Is an OSF/1 disk mountable under Ultrix?
  1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
@ 1994-12-07 23:33   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-12-07 23:33 UTC (permalink / raw)



In article <D0Exxo.8sv@clnsnet.ariadne-t.gr>, kassapidis@thission.iisr.noa.ariadne-t.gr (Panayotis Kassapidis, IISR/NOA) writes:

>
> [ Previous problem description deleted.   Summary, somebody
>   did a rm * in / and all the non-directory files went away. ]

> I chose to try the second way. I copied osf_boot and vmunix from another
>system (physically quite far from ours) to a nearby DECstation. My question
>is, is it possible to mount an OSF/1 V1.3 filesystem under Ultrix V4.2?

It probably won't hurt anything to try it, but some of the
likely problems are:

1.  ULTRIX won't have a clue what to do with the OSF disklabel.

2.  Since OSF probably didn't write a partition table at the
    end of the superblock, ULTRIX will rely on the its default
    which is probably wrong.

The result of #1 and #2 is that unless your OSF file system just
happened to be the same size as the ULTRIX default, you probably
won't be able to see all the root.  You might try the C partition
though, since it usually covers the whole disk and the superblock
will limit the useful size of the partition.

Then run fsck(8).  Don't let it repair anything until you know
what it will try to fix.  If too many things are "broken", then
it may not be possible to move from OSF back to ULTRIX.  (ULTRIX
to OSF) is supported.

If the repairs that fsck wants to do are nothing more than fixing
up the cylinder group summaries, then you should be ok.

>	Many thanks for your help so far,
>	Panayotis
>
>-----
>Panayotis Kassapidis                            Tel: +(30) 1 346 2710
>Inst. of Ionosphere & Space Research                 +(30) 1 346 4412
>National Observatory of Athens, Greece.         Fax: +(30) 1 342 0022
>
>E-mail: kassapidis@thission.iisr.noa.ariadne-t.gr   (Internet)
>        29123::KASSAPIDIS     (SPAN)
>
>Gravitation cannot be held responsible for people falling in love.
> Albert Einstein.
>
--
Alan Rollow				alan@nabeth.cxo.dec.com



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

* Re: All / files deleted. Is an OSF/1 disk mountable under Ultrix?
@ 1994-12-09 20:29 RAMU
  0 siblings, 0 replies; 6+ messages in thread
From: RAMU @ 1994-12-09 20:29 UTC (permalink / raw)


  We mount a disk on our Alpha (3000 Model 300) running OSF/1 1.3 from
a DECStation running Ultrix, and have had no problems at all.
 
  The man page on mount should tell you everything you need to know.
 
                                                 Best reagards,
                                                 Ramu
========================================================================
B. Ramu Ramachandran                         Department of Chemistry
Associate Professor                          Louisiana Tech University
                                             Ruston, LA 71272


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

end of thread, other threads:[~1994-12-09 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-29 21:56 osf_boot deleted(?). What to do? Panayotis Kassapidis, IISR/NOA
1994-11-30 17:34 ` Volker Hejny
1994-11-30 18:34 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-12-06 23:44 ` All / files deleted. Is an OSF/1 disk mountable under Ultrix? Panayotis Kassapidis, IISR/NOA
1994-12-07 23:33   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  -- strict thread matches above, loose matches on Subject: below --
1994-12-09 20:29 RAMU

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