Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-06-2004, 05:57 PM   #1
Registered: Jul 2003
Location: Illinois
Distribution: Fedora 11, Ubuntu 9.04
Posts: 80

Rep: Reputation: 15
Question separate /usr from root fs

distro->fedora core 2

What is the best way to separate /usr from the "/" (root) filesystem?

Right now /usr is included in the / filesystem, and /usr seems to be a good chunk of space.


Below is the df -k output

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 10078852 7319220 2247644 77% /
/dev/hda1 524292 18384 479276 4% /boot
none 193592 0 193592 0% /dev/shm
/dev/hda3 3023640 601096 2268952 21% /home

/dev/hdb1 7441112 20 7063096 1% /main
/dev/hdb2 7441144 20 7063124 1% /extra
/dev/hdb3 7441144 436340 6626804 7% /backup
/dev/hdb4 16147568 20 15327288 1% /storage
Old 09-06-2004, 07:44 PM   #2
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 798

Rep: Reputation: 184Reputation: 184
Using cfdisk or some other tool, split hdb1 or hdb2 into required partitions.
Mount the new partition as /usrnew - say
Using `find` all in /usr, piped to `dd`, copy all /usr to /usrnew.
Change the mount point of /usrnew to /usr.
Rename /usr (under hda2) as /usrold - say.
Reboot the system to be sure (or umount and remount).
After a reasonably safe period, remove /usrold.

I expect that the whole thing can be achieved by your favourite GUI tool.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
use of separate /usr/local ArchNGEL Linux - General 6 10-18-2005 09:49 AM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 02:42 AM
Does anyone here have a separate /root and /home partition? Kramer Linux - General 12 03-17-2004 05:52 AM
using cdburner as a usr - not as root? ursar Linux - Newbie 4 01-08-2004 11:30 AM
Separate partions for /usr, /home,/root, and /swap hedburner Slackware 2 09-14-2003 11:55 AM

All times are GMT -5. The time now is 01:28 PM.

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