LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-29-2006, 11:27 PM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
Change partition


I have newly installed RH linux , my "df" output is as below

/dev/hdb2 9258240 4192632 4595308 48% /
/dev/hdb1 101089 9203 86667 10% /boot
none 62328 0 62328 0% /dev/shm


if I want the other directories eg. /usr /var /home my also be shown by "df" command " like below , I try to mount it to /etc/fstab , but can't boot , can advise what can I do ? thx.


/dev/sda5 " " " 75% /
/dev/sda2 " " " 44% /home
none " " " 0% /dev/shm
/dev/sda7 " " " 43% /usr
/dev/sda8 " " " 67% /var
 
Old 09-29-2006, 11:44 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
The output of df shows availiable diskspace for mounted filesystems. The default RH install creates 3 partitions /, /boot and swap. Your /home, /usr and /var are part of / which is hdb2. So what you are asking is not possible unless you create additional partitions for the other directories. If you do want additional filesystems then the simplest solution would be to reinstall and create additional partitions. You can find out how much space is used in the other directories via the du command.

Last edited by michaelk; 09-29-2006 at 11:48 PM.
 
Old 10-01-2006, 02:15 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
//unrelated to neteoking. moved.
 
  


Reply


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
Change partition sunhui Linux - Software 1 09-29-2006 02:13 AM
change /home to another partition ovl Linux - Newbie 6 08-15-2006 12:27 AM
Change partition dyrer SUSE / openSUSE 3 06-22-2005 03:36 PM
How to change the fs on the root partition? atheist Linux - General 3 06-13-2004 12:15 PM
change partition size paulserjeant Linux - Software 2 05-22-2004 04:26 AM


All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration