tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  moving root to another disk
@ 1996-04-18  9:43 elynds
  0 siblings, 0 replies; only message in thread
From: elynds @ 1996-04-18  9:43 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-18  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-18  9:43 SUMMARY: moving root to another disk elynds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox