Subject: Re: moving the OS between disks
To: =?iso-8859-1?Q?=D8yvin?= Halfdan Thuv <thuv@nextra.com>
From: David Brownlee <abs@netbsd.org>
List: port-i386
Date: 05/01/2001 21:29:51
On Tue, 1 May 2001, [iso-8859-1] =D8yvin Halfdan Thuv wrote:
> >
> > dump works well for copying entire filesystems.
> > eg: to copy /usr to /dev/sd0e (from memory)
> >
> > # newfs /dev/sd0e
>
> I don't have to specify the filesystem-type? (that info is taken from
> the rdb, right?)
>
=09It assumes ffs unless otherwise specified.
> > # mount /dev/sd0e /mnt
> > # cd /mnt
> > # dump 0f - /usr | restore xf -
> > (answer y at end)
> > # umount /mnt
>
> and the procedure for /root I guess, then...(other parameters?)
>
=09Replace sd0e with sd0a and /usr with /
# newfs /dev/sd0a
=09# mount /dev/sd0a /mnt
=09# cd /mnt
=09# dump 0f - / | restore xf -
=09(answer y at end)
=09# umount /mnt
> >
> > at end remember to run
> > /usr/mdec/installboot /usr/mdec/biosboot.sym /dev/rsd0a
>
> to make /root bootable, I persume.
Yup.