LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-22-2003, 07:20 PM   #1
tmillard
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Rep: Reputation: 15
Question Can we merge ext2 with GNU Parted?


I have Red Hat 5.0 and I want to get Linux From Scratch installed. My hard disk is laid out like this:
/dev/hda1 = Microfat-DOS 6.22
/dev/hdb1 = Home dir
/dev/hdb2 = Swap
/dev/hdb3 = Red Hat Linux 5.0 (About 300 MB.)
/dev/hdb4 = Future LFS (About 800 MB.)

After I get LFS installed I want to merge or outher wise re-use my Red Hat partition.
Is it possable to use GNU Parted to merge them together?
 
Old 11-24-2003, 05:52 AM   #2
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 247

Rep: Reputation: 31
If you're meaning to get rid of the RedHat stuff, then after your LFS is set up you should be able to remove the filesystem from /dev/hdb3. Then, I believe you will be able to re-size /dev/hdb4 to use the free space. It's possible the new, expanded partition will become /dev/hdb3. It's been a couple of years since i've read parted's docs.

I suppose another option would be to "rm -Rf /dev/hdb3 *". Then use parted to shrink /dev/hdb3 to a tiny one and then expand /dev/hdb4, but that would sacrifice some precious hd space.
 
  


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
How can i merge two ext2 linux partition without loosing any data amitkjain_crld Linux - General 2 10-26-2004 01:53 PM
gnu parted hyphenage Linux - Software 3 08-17-2003 04:41 PM
Partitioning: GNU Parted Gerardoj Linux - General 1 06-01-2003 01:50 AM
GNU parted nakkaya Linux - Software 4 03-10-2003 02:17 PM
GNU parted nic_d Linux - Software 1 06-28-2002 04:38 PM

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

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