From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076335021719.tru64-unix-managers.marc@archive.invalid> From: Max Hadersbeck Date: Tue, 30 Jul 1996 11:59:56 +0000 To: tru64-unix-managers Subject: SUMMARY: booting stops: can't open osf_boot X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076335021719 Thanks for all who replied. >m_beltramo@sonda.cl (Marcelo Beltramo) >crittend@storm.simpson.edu (Paul Crittenden) >bouchard_l@decus.fr (Louis Bouchard - Bouygues Telecom) >Craig Makin >"F.U. Mucke" The solution is, that you need primary-boot and secondary-boot blocks on a disc to boot it. If you want to initialise a disk with an advanced filesystem, you must have the corresponding blocks for this filesystem. (/mdec/rzboot.advfs /mdec/bootrz.advfs) If you label the disk without -t advfs option you get the wrong boot blocks on the advanced filesystem disk and booting doesn't find the osf_boot file. Here the correct procedure : (from Craig Makin ) # rmfset backup_root bkroot ! remove and make filesets from domain pointing # rmfset backup_usr bkusr ! to the correct disk to build boot device on. # mkfset backup_root bkroot ! rmfset will remove any unwanted files # mkfset backup_usr bkusr ! # disklabel -z /dev/rrz25c ! zero disk label # disklabel -rw -t advfs /dev/rrz25a rz26n /mdec/rzboot.advfs /mdec/bootrz.advfs see man disklabel (8) ) if you want a different disklayout, for example a bigger root partion edit the /etc/disktab entry for the disk you specify, for example : make a new entry for rz26N to enlarge the root partition to 80 MB rz26NEW:\ :ty=winchester:dt=SCSI:ns#57:nt#14:nc#2570:\ :oa#0:pa#160000:ba#8192:fa#1024:\ :ob#160001:pb#273126:bb#8192:fb#1024:\ :oc#0:pc#2050860:bc#8192:fc#1024:\ :od#433127:pd#1617732:bd#8192:fd#1024:\ :oe#433127:pe#1:be#8192:fe#1024:\ :of#433127:pf#1:bf#8192:ff#1024:\ :og#433127:pg#1:bg#8192:fg#1024:\ :oh#433127:ph#1:bh#8192:fh#1024: now say : # disklabel -rw -t advfs /dev/rrz25a rz26NEW /mdec/rzboot.advfs /mdec/bootrz.advfsa # mount backup_root#bkroot /bkroot ! mount new device for copy # mount backup_usr#bkusr /bkusr ! Check for any crash dumps in /usr/var/adm/crash. If any dumps are found and not needed, delete them prior to the copy or move them to /tmp during the copy. # vdump -0 -Du -f - / | vrestore -xvf - -D /bkroot ! Copy root filesystem to bkroot # vdump -0 -Du -f - /usr | vrestore -xvf - -D /bkusr ! Copy usr filesystem to bkusr # cd /bkroot/etc ! Change to the bkroot fstab entry which points to # mv fstab fstab.root ! the correct domains and swap devices # mv fstab.bkroot fstab ! Ensure both are kept sychronised # cd /bkroot/sbin ! Change to the bkroot swapdefault entry which # mv swapdefault swapdefault.root ! points to the correct swap partition on rz25b # mv swapdefault.bkroot swapdefault ! Ensure both are kept sychronised Test the system by booting from /dev/rz25a via the following command >>> boot Dkd100 This works. Now I have a bigger root partition with a bootable advfs filesystem : root_domain#root 160000 109966 38464 75% / That's it. MAX -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dr. Maximilian Hadersbeck Centrum fuer Informations- und Sprachverarbeitung Ludwig Maximilians Universitaet Oettingerstr. 67 80538 Muenchen (089) 21782717, FAX (089) 21782701 max@cis.uni-muenchen.de ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~