LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-19-2004, 06:18 PM   #1
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
combining linux partitions


Hello all,
Here's the thing. I have multiple partitions due to installing linux then deleting windows < I reformatted the partitions into the following set up

Device Boot Start End Blocks Id System
/dev/hda1 1 277 2094088+ 83 Linux
/dev/hda2 278 616 2562840 83 Linux
/dev/hda3 * 617 1281 5027400 83 Linux
/dev/hda4 1282 1298 128520 82 Linux swap

So you can see I do not at least one of these partitions. What I would like to do is make hda3 into hda1 and hda1 and 2 into hda2. this way I have my /usr on one partition and the rest on one. Does anyone have any suggestions?
 
Old 04-19-2004, 06:28 PM   #2
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
use parted, a great Linux utility. Here's one place to get the rpm version, but there are many other places...

http://rpm.pbone.net/index.php3/stat....i386.rpm.html

Last edited by profjohn; 04-19-2004 at 06:30 PM.
 
Old 04-19-2004, 06:32 PM   #3
portux
Member
 
Registered: Apr 2003
Location: Portugal
Distribution: Slackware 10.1
Posts: 42

Rep: Reputation: 15
I'm not sure I understood what you want to do, you cannot turn hda3 on hda1 but you can mount the new partitions ( I think they are hda1 and hda2 ) wherever you want in the tree in /etc/fstab, just write the mounting point you want the partitions to be mounted.

For the details: man fstab.
 
Old 04-19-2004, 07:10 PM   #4
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Original Poster
Rep: Reputation: 30
well I think that the parted is the best option here. I want to lower the number of partitions by combining and move there place on the drive. thank you so much profjohn, ... china they allow you to post on the net, could you not post "subversive material"?
 
  


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
Combining EXT3 Partitions Mr_Munkey Linux - Hardware 4 03-14-2005 09:23 AM
Dual Boot: Combining w2k3 and linux mdk disks vicoluf Linux - Newbie 2 02-19-2005 09:24 AM
RH-Firewall combining johnnydangerous Fedora 6 02-07-2005 06:00 AM
combining old 486's??? Peppercorn Linux - Software 5 01-22-2004 06:04 PM
Write Combining? TomGerman Linux - Software 1 11-30-2002 08:51 AM

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

All times are GMT -5. The time now is 12:17 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