sean finney on 31 Aug 2004 17:59:03 -0000 |
On Tue, Aug 31, 2004 at 12:53:00PM -0400, Art Alexion wrote: > I am adding a new (additional) hard drive. My current HD has a simple > ext3 partitioning: (/, /boot, & /swap). I want to move /home to the new > drive as well as installing a new distro. > > Can I just do a > > mkdir /newhome > > on the new HD, and then > > mv /home /newhome > mv /newhome/home /home > > That doesn't seem right. because it's not :) you need to mount the partition on /home. assuming you have the filesystem setup (i'll assume "hdb1") and already mounted on /newhome: rsync -a /home/ /newhome umount /newhome mv /home /home.old mkdir /home mount /dev/hdb1 /home (and of course /etc/fstab for preserving this across reboot) sean Attachment:
signature.asc
|
|