From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d1209a5f60349f3f X-Google-Attributes: gidfee84,public From: "Mark & Suzanne (gcs might work)" Subject: Re: convert root filesystem to AdvFS Date: 1998/06/23 Message-ID: <358EEED4.794B@s054.aone.net.au>#1/1 X-Deja-AN: 365141573 Content-Transfer-Encoding: 7bit References: <358E59D6.5FD65666@ife.ee.ethz.ch> Content-Type: text/plain; charset=us-ascii Organization: Garetech Computer Solutions P/L Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Tom Goessi wrote: > > Hi out there. > > I want to convert the root filesystem from UFS to AdvFS. > > My questions are: > Can I copy the root filesystem to h and then make a bootable partition > from h? just vdump -0f /usr/root.vdump / I assume /usr is on advfs and is usr_domain#usr ls -l /etc/fdmns/usr_domain and note which patition(s) are used boot from the CD-ROM > > I cannot see my partitions, when I boot from CDROM. The partitions are > not > shown in the /dev directory and cannot be mounted then. If I use the > disklabel You need to create the paritions/dev cd /dev ./MAKEDEV rz0 You don't mention which disk you boot from if its not ID0 then you need to know what it is to make the correct devices assuming from hereon in that it was rz0 and that usr_domain contained rz0g mkfdmn -r /dev/rz0a r That -r is very important for root domains it prevents the domain from being expanded! mkfset r root Note that this has only create the domain pointers in the memory filesystem not on your new target root volume!! DO NOT !! make file domain on usr !!!! cd /etc/fdmns mkdir u cd u ln -s /dev/rz0g . mkdir /tmp/r mkdir /tmp/u mount r#root /tmp/r mount u#usr /tmp/u cd /tmp/r vrestore -xf /tmp/u/root.vdump Now that you have the root back you need to fix its /etc/fdmns and /etc/fstab cd /tmp/r/etc/fdmns mkdir root_domain cd root_domain ln -s /dev/rz0a . cd ../.. vi fstab {root_domain#root / advfs rw 1 0} <- This should now replace you mount of / umount /tmp/u cd / umount /tmp/r You can now hit the reset and boot your new advfs root Cheers Mark :) ps. Did I say backup first, The wrong command at the wrong moment and kiss you data good buy!