Subject: Re: moving the OS between disks
To: David Brownlee <abs@netbsd.org>
From: =?iso-8859-1?Q?=D8yvin?= Halfdan Thuv <thuv@nextra.com>
List: port-i386
Date: 05/01/2001 22:02:18
David Brownlee wrote:
>
> Yes. cp on its own will not work - you need to preserve
> owner, modes, setuid bits and copy devices.
though so, I have 3 users...
>
> 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?)
> # 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?)
>
> at end remember to run
> /usr/mdec/installboot /usr/mdec/biosboot.sym /dev/rsd0a
to make /root bootable, I persume.
Thanks a lot :)
--
Øyvin Halfdan Thuv