LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2003, 03:52 PM   #1
Rgamboa
LQ Newbie
 
Registered: May 2003
Location: NYC
Distribution: RH linux 8.0
Posts: 19

Rep: Reputation: 0
How to allocate a new directory to a particular partition?


When I create a new directory in the root how can I indicate that it should be allocated in the same partition as /home?

ALSO: The default allocation put 12Gb in /home and 33Gb in /usr. I'd like to reverse those numbers, putting 33Gb in /home and 12Gb in /usr. How can I do this?
 
Old 05-16-2003, 04:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1 - you can't. that just doesn't make any sense at all... unless the directory is inside /home. you could always create one in there and create a symlink to it from somewhere else though, if that's good enough.

2 - very carefully and slowly if at all. you can for example copy the contents of /home onto the root partition, then overwrite all of /home with the contents of /usr and mount it as such, then moce the copied contents of home back onto the old /usr parition. It's quite logical and striaght forward really, but very easy to screw up if you're not sure what you'er doing, which may well be the case here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error:could not allocate partition nedian Linux - General 1 02-20-2004 03:19 AM
could not allocate requested partition xzy2435 Linux - Newbie 5 11-17-2003 06:08 PM
could not allocate partitions as primary partition? syph0n Linux - Newbie 3 07-14-2003 08:45 PM
How to allocate a new directory to a particular partition? Rgamboa Linux - Software 1 05-16-2003 04:01 PM
Could Not Allocate Partition Error During Install? ScreeminChikin Linux - General 8 12-21-2002 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration