Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
integrating new SATA drive into system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Leocifre
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 139

PostPosted: Fri Jun 23, 2006 1:37 pm    Post subject: integrating new SATA drive into system Reply with quote

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
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Fri Jun 23, 2006 1:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Leocifre
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2006
Posts: 139

PostPosted: Sat Jun 24, 2006 2:41 pm    Post subject: naturally Reply with quote

i did not. thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum