From: "Mark & Suzanne (gcs might work)" <SPAMOFFPLS@s054.aone.net.au>
Subject: Re: convert root filesystem to AdvFS
Date: 1998/06/23 [thread overview]
Message-ID: <358EEED4.794B@s054.aone.net.au> (raw)
In-Reply-To: 358E59D6.5FD65666@ife.ee.ethz.ch
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!
next prev parent reply other threads:[~1998-06-23 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-22 4:00 convert root filesystem to AdvFS Tom Goessi
1998-06-23 4:00 ` Mark & Suzanne (gcs might work) [this message]
1998-06-23 4:00 ` Nikola Milutinovic
1998-06-24 4:00 ` Mark & Suzanne (gcs might work)
1998-06-24 4:00 ` Nikola Milutinovic
1998-06-25 4:00 ` Mark & Suzanne (gcs might work)
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