[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /home to its own partition.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 04, 2003 at 03:33:17AM -0400, Kevin Mark wrote:
> mkfs.ext2 /dev/hdb1 

mkfs.ext3 is a better option at this point.

> move data to new partition with
> mv /home/* /mnt/home2

cp -ax /home/ /mnt/home

Make sure everything looks good twice, *then*

rm -rf /home/

(Always think twice, delete once.)

> get rid of old home directory with
> rmdir /home

Keep it around, you need an empty /home as a mount point.

> cfdisk /dev/hdb

If you're repartitioning a live system, parted is way safer.

- -- 
 .''`.     Paul Johnson <baloo@ursine.ca>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Mw96sClmdIs2Ki8RAkVLAJ0dZIl3zbSPJWE6BDihFQzO/q+HpACdFSsH
59dEF0zGnMZqN3v7rNy9E+I=
=OUOe
-----END PGP SIGNATURE-----



Reply to: