LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-06-2000, 01:15 AM   #1
chin
LQ Newbie
 
Registered: Oct 2000
Posts: 2

Rep: Reputation: 0
Angry


I have installed my Linux box for several months. When the first time I installed, I partition my HD into two, one for Win98 and the other one for Linux. Testing my Linux installation for several months, I decide to give up my Win98 and make use of the space for my Linux. Can anyone tell how to partition and format the space as /usr and /home of my existing Linux system? I find that /usr and /home need much more space than other volumes. Many thanks!
 
Old 10-06-2000, 01:43 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Use the following steps. Note that you must be logged in as root.

1) Use fdisk to create the partition - for this example let's say you created hda4
2) Type "/sbin/mkfs.ext2 /dev/hda4" - This is the equivalent to format
3) Mount hda4 as something (for example /newusr)
4) Copy all of /usr to /newusr
5) Edit /etc/fstab - you should see a line something like
Quote:
/dev/hda6 /usr ext2 defaults 1 2
Change the hda6 to hda4
6) reboot

If you have any other questions let us know.
 
  


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
why isnt linux mounting my harddisk partition? Itachi Linux - General 2 09-12-2005 04:43 PM
harddisk partition trouble Thulemanden Linux - Hardware 9 09-08-2005 05:07 AM
Is it possible to instal Suse 9.3 Pro on another partition instead of a new harddisk suse91pro Linux - General 1 08-27-2005 08:20 PM
Creating partition of 100 MB on harddisk using the OS NetBSD Naveen Sriram *BSD 0 12-25-2004 08:24 AM
how to partition a harddisk?? Sammy2ooo Linux - Newbie 7 05-14-2003 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 AM.

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