On Mon, 12 Dec 2005 17:26:10 +0100, Dale Blount <[EMAIL PROTECTED]> wrote:

> On Mon, 2005-12-12 at 08:21 -0800, Pilgrim 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.
>

Well a
cp -a -u -v /home /mnt/hdb7
will do the trick smoothly while letting you check what's moving on.

Of course you need to have created & formated hdb7, with enough space for  
the operation ;)

-- 
Salutations,

kozaki

[~] > Arch, Mandrake~iva x86_64 & Ubuntu Linux
   ______________________________________
/ Linux llewellyn2 2.6.14-ARCH #1 SMP  \
| PREEMPT Fri Nov 11 20:01:06 CET 2005 |
| i686 Pentium III (Coppermine)        |
\ GenuineIntel GNU/Linux               /
  --------------------------------------
      \
      \
     ^__^          /
     (oo)\_______/  _________
     (__)\       )=(  ____|_ \_____
         ||----w |  \ \     \_____ |
         ||     ||   ||           ||
Et puis Linux, c'est bien sympa, mais la personne qui pleure quand ce  
qu'il faut faire est plus compliqué que double cliquer sur une icone, elle  
fait comment ?

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

Reply via email to