From: elynds () MIT ! EDU (liz Zukowski)
To: tru64-unix-managers
Subject: SUMMARY: moving root to another disk
Date: Thu, 18 Apr 1996 09:43:23 +0000 [thread overview]
Message-ID: <96076331021345.tru64-unix-managers.marc@archive.invalid> (raw)
The original question:
>Can any one tell me how to restore root to a different
>disk, What I have done so far is:
>
> Modified this line in the config file:
> config vmunix root on re0 swap on re0
>
> rebuilt Kernel (moved Kernel to re0)
>
> newfs /dev/re0a
> mount /dev/re0a /mnt
> vdump rz24a vrestore to /mnt
> edited /mnt/fstab to mount /dev/re0a /
> also added swap and rebooted re0a
>
>I receive this error:
> panic: vfs_mountroot: cannot mount root
> sync the disks
>
> DUMP: problem w/specified dumpdev 0xa00001, status 19, not used
> DUMP: no primary swap, not ecplicit dumpdev.
Thanks to all who responsed. I had some suggestions to boot
GENvmunix...I was unsuccessfully with that, receiving all kind of
errors. I decided to start from scratch...
modified the kernel to its original state on root disk (rz24):
config vmunix swap generic
rebuild the kernel
newfs /dev/re0a
(I had previous disklabel as SWXCR)
mount /dev/re0a /mnt
vdump -0 -f - / | (cd /mnt; vrestore -x -f -)
modified /mnt/etc/fstab to
/dev/re0a / ufs rw 1 1
/dev/re0b swap1 ufs sw 0 2
defined /mnt/sbin/swapdefault symlink for /dev/re0b
(note, I did not modify /etc/rc.config)
shutdown and booted from the new disk (re0) without any problems.
I appreciated the feedback from everyone.
thanks,
liz Zukowski
reply other threads:[~1996-04-18 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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