Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to move /var /usr to another partition [SOLVED]
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
chy168
n00b
n00b


Joined: 12 Mar 2005
Posts: 70

PostPosted: Mon Dec 26, 2005 10:47 am    Post subject: how to move /var /usr to another partition [SOLVED] Reply with quote

Hi all.

My gentoo's hdd has no enough space.
I need to move /usr, /var to another partition (on another hdd)

Can I just use
Code:
cp -apR /usr.old /usr.new
?

Can I just copy these dir to new partition and edit /etc/fstab ?

any problem should I notice ?


thank you very much :)


Last edited by chy168 on Wed Jan 04, 2006 5:25 am; edited 1 time in total
Back to top
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Mon Dec 26, 2005 11:21 am    Post subject: Reply with quote

yes but make sure no processes are runnign that use anything on /usr or /var.
In practise that means to do this copying in single-user mode. if you don't know how to do that i recommend you search this forum or gentoo-wiki
Back to top
View user's profile Send private message
bec
Apprentice
Apprentice


Joined: 30 Sep 2004
Posts: 220
Location: Cali - Colombia

PostPosted: Mon Dec 26, 2005 11:22 am    Post subject: Reply with quote

IMO you should not experience any trouble. I did something lilke that once and it worked correctly
_________________
abe
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