* AdvFS Magic Number Wrong
@ 2002-11-14 13:36 Mohamed K. Ahmed
0 siblings, 0 replies; only message in thread
From: Mohamed K. Ahmed @ 2002-11-14 13:36 UTC (permalink / raw)
Hi Admins,
In my project of converting all my file systems from UFS to AdvFS on a
AS2100 V 4.0G pk#3, I have encountered a problem with the root file
system. After I finished the procedure below, I got the message while
fsck'ing the root FS while booting:
/dev/rz0a
Bad Super Block: Magic Number Wrong
/dev/rrz0a: Not Labeled as a BSD file system (AdvFS)
I guess I have to make the rz0a bootable partition, but here is the
procedure I followed from the UNIX manual (but I have to say that I
used the SAME partition on the SAME disk:
Backing up the root fs to a tape
booting from CD
makedevices
mkfdmn -r -t rz /dev/rz0a root_domain
mkfset root_domain root
mount -t advfs root_domain#root /mnt
cd /mnt
vrestore -xv
**Make it bootable **
disklabel -r /dev/rrz0a > /tmp/rz0label
disklabel -t advfs -r -R /dev/rrz0a /tmp/rz0label
**Change fstab to reflect the new advfs root
** shutdown -h now and reboot
Did I miss something
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-14 13:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-14 13:36 AdvFS Magic Number Wrong Mohamed K. Ahmed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox