From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,eb8671f36e64f4a1 X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: missing osf_boot Date: 1999/03/09 Message-ID: <36E506F3.E6F35830@ev.co.yu>#1/1 X-Deja-AN: 452948528 Content-Transfer-Encoding: 7bit References: <7bp4ac$79s$1@nuscc.nus.edu.sg> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS JP Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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 > mkfset 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.