View previous topic :: View next topic |
Author |
Message |
Leocifre Tux's lil' helper
Joined: 14 Mar 2006 Posts: 139
|
Posted: Fri Jun 23, 2006 1:37 pm Post subject: integrating new SATA drive into system |
|
|
I have bought a new SATA harddisk. When keeping my original configuration, can I use a partition on my new drive as /home? How can I migrate my existing /home to the new drive?
I have tried copying all files in /home to the new drive, then mounting it as /home but I somehow have no write access as normal user, that is no write access in my home folder.
Otherwise, are there any special tools I need in order to configure the drive? I noticed it only copied at ~20MB/s, but hdparm does not seem to work on it.
Thanks for help |
|
Back to top |
|
|
anello Guru
Joined: 17 Jul 2005 Posts: 557 Location: EU -> DE -> Stuttgart
|
Posted: Fri Jun 23, 2006 1:52 pm Post subject: |
|
|
Did you copy your files with preserving the rights?
do
Code: | mkdir /mnt/newdrive
mount /dev/sda1 /mnt/newdrive
cp -a /home /mnt/newdrive/
umount /mnt/newdrive
rm -rf /home/*
rm -r /mnt/newdrive
mount /dev/sda1 /home
|
don't forget to add it into your /etc/fstab of course
*sda1 stands for the partition that you want to use[/code] _________________ Antonino Catinello | http://catinello.eu |
|
Back to top |
|
|
Leocifre Tux's lil' helper
Joined: 14 Mar 2006 Posts: 139
|
Posted: Sat Jun 24, 2006 2:41 pm Post subject: naturally |
|
|
i did not. thanks! |
|
Back to top |
|
|
|