Re: moving filesystems
On Tue, 14 Dec 1999, koyote wrote:
:
: Scuse the newbie q:
:
: I've got some filesystems I'd like to move:
:
: / on /dev/hda2 --> /dev/hdb2
mke2fs /dev/hdb2
mount /dev/hdb2 /mnt
find / -xdev | cpio -padm /mnt
umount /mnt
: swap on /dev/hda1 --> /dev/hdb1
mkswap /dev/hdb1
: /usr on /dev/hdb2 --> /dev/sda1
mke2fs /dev/sda1
mount /dev/sda1 /mnt
find /usr -xdev | cpio -padm /mnt
umount /mnt
Edit your fstab. Sorry there's not more detail, but you can read the
manpages for mke2fs, mkswap, mount, find, and cpio :)
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to: