Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: missing osf_boot
Date: 1999/03/09	[thread overview]
Message-ID: <36E506F3.E6F35830@ev.co.yu> (raw)
In-Reply-To: 7bp4ac$79s$1@nuscc.nus.edu.sg

Lee Boon Peng wrote:
> 
> Hi ..
> 
>         I'm restoring the root file system of a DUX 4.0D installation
> (among others) to a virgin DPW 433au.

I have not run into any version-specific problems in 4.0 (unlike 3.2G)

>         Upon zeroing and writing a standard disk label (using disklabel,
> and options -rw -t advfs) and partitioning appropriate (including specifying
> the the AdvFS file system type), I then create the domain and fileset using:
>         mkfdmn -r <etc ...>
>         mkfset <etc ...>

So far, so good.

>         The root file system is then restored from tape to the partition.
> The system is then rebooted, but fails with the message stating "osf_boot is
> not found", or something to that effect.
> 
>         I must be missing something here. Is it because the root file system
> is being mounted as a ufs FS, and thus unable to locate osf_boot file?

Well, this should make no difference. BTW, how did you create a backup? With
"vdump", I hope.

> Also is "disklabel -rw" enough to make a disk bootable?
> 
>         I would be grateful for any pointers.

These are the steps, as described in System Administration, for converting UFS
to AdvFS. They assume two disks, but we could imagine a Digital UNIX
installation CD and a tape with "vdump 0 /" of the previous machine.

orig:/# vdump 0C /

copy:/# disklabel ... (tailor your partitions)
copy:/# mkfdmn -r -t rz26 /dev/rz0a root_domain
copy:/# mkfset root_domain root

copy:/# mount -t advfs root_domain#root /mnt
copy:/# cd /mnt
copy:/# vrestore -x

copy:/# disklabel -r /dev/rrz0a > /tmp/rz0.lbl
copy:/# disklabel -t advfs -r -R /dev/rrz2a /tmp/rz0.lbl

copy:/# (edit /mnt/etc/fstab - set to AdvFS)
copy:/# mkdir -p /mnt/etc/fdmns/root_domain
copy:/# ln -s /dev/rz0a /mnt/etc/fdmns/root_domain/rz0a

copy:/# umount /mnt
copy:/# halt

Try booting then.

Nix.



      parent reply	other threads:[~1999-03-09  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7bp4ac$79s$1@nuscc.nus.edu.sg>
1999-03-05  5:00 ` missing osf_boot Mgros
1999-03-09  5:00 ` Nikola Milutinovic [this message]
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