Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moving installation to a new HD *woes*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chillmaster
n00b
n00b


Joined: 21 Jan 2004
Posts: 50

PostPosted: Wed Jan 04, 2006 7:40 pm    Post subject: moving installation to a new HD *woes* Reply with quote

Well, this is my own damn fault but let me explain what I did.

I had borrowed a HD from a friend and was using it to experiment with encrypted partitions. Recently I had my whole linux installation on that hard drive and the day came when he needed it back. No worries. I setup a similar partition scheme on another hard drive and began copying the files over.

The system boots up fine, no errors. The only problem im running into are some wierd errors when logged in as a user and I then began slapping myself in the face repeatedly when I realized the copy command I used was just

cp -r

instead of something like...

cp -rPp

I was wondering if there is any hope in fixing all the permissions or symlinks. Unfortunately I dont have the other HD anymore so I cant really start over :(

note: I am almost willing to re-install gentoo all together considering I have always kept my /home partition on my 3rd HD :) I reccomend this to everyone because even if you lose your linux install you still have all your files, AND there are tools out there for windows to read extfs.
Back to top
View user's profile Send private message
The_P
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 248

PostPosted: Fri Jan 06, 2006 9:31 am    Post subject: Reply with quote

I made once the same fault you did.
I din't find a solution I had to reinstall the system.
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sat Jan 07, 2006 5:24 pm    Post subject: Reply with quote

If you can get the old hard disk back, you should by all means do the copy procedure again, but do it with the "-a" option, which is much easier to remember.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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