On Mon, December 12, 2005 9:00 am, Rickard Eriksson wrote:
>>>> I have all of Arch installed on a single partition right now. That
>>>> happens to be /dev/hdb8 (10GB). I would like to move the /home directory to
>>>> /dev/hdb7 (17GB). Both are formatted ext3. As I understand it, "dd", isn't 
>>>> the
>>>> right tool for this, because I'm not moving a complete partition, right?
So, my >>>> question is, is it as simple as doing a copy (cp -r /dev/hdb8/home
/dev/hdb7), >>>> editing the fstab file, and then rebooting?
>>>>
>>>>
>>>>
>>> I'd do (cp -a /home/* /mnt/hdb7) and change fstab/reboot instead.  This
>>> will preserve permissions and linked files too.
>>>
>>>
>>
> sounds like an awful lot of work, i'd just mount the new disc to some random 
> folder
> and mv /home/* /random/folder  then add a line to the fstab to auto mount the 
> new
> partition to /home
>

Wouldn't (cp -a /home/* /new/home) be the better choice, in case of errors I'd 
still
have the original /home to fall back on?


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to