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/24 Message-ID: <3590497D.15FB@s054.aone.net.au>#1/1 X-Deja-AN: 365481158 Content-Transfer-Encoding: 7bit References: <358E59D6.5FD65666@ife.ee.ethz.ch> <358EEED4.794B@s054.aone.net.au> <358FFE3E.F8BFE85C@EUnet.yu> Content-Type: text/plain; charset=us-ascii Organization: Garetech Computer Solutions P/L Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Nikola Milutinovic wrote: > > Mark & Suzanne (gcs might work) wrote: > > > > > > 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 > > !!!!!!!!!!!!!!!!!!!! > > Ahhh. You are forgeting something (I am not, since I had a "privilege" > of restoring root file sistem from backup). You must make that disk > AdvFS bootable. > > Tom asked if he could make partition h bootable. Well,... > > For a partition to be bootable, it must have offset of 0. AFAIK, any > partition starting from 0 can be bootable, if you have a proper > bootstrap loader (I'm not sure if it looks at the label). But, tradition > is tradition, let us make it partition a. > > Since there are 2 posible FSs for root, there are TWO bootstrap loaders. > Each is installed via disklabel command. The problem is, I couldn't make > it work with -R option (restore form a file). I had to zero label, > install new and then restore the old. So, supposing you have RZ29 > disk... > > # disklabel rz0 > /usr/disklabel.RZ0 > # dikslabel -z rz0 > # disklabel -wr -t advfs rz0 RZ29 > # disklabel -R rz0 /usr/disklabel.RZ0 > You need to know the type of the disk eg rz0 which is a RZ29 disklabel -r rz0 > rz0.lab disklabel -R -r -t advfs rz0.lab RZ29 Well forgetting that was like leaving the cars keys behind - you don't get far away before you are reminded :) Cheers Mark :)