LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-28-2009, 03:24 AM   #1
GirishSharma
Member
 
Registered: Dec 2008
Posts: 37

Rep: Reputation: 16
Get and merge free space


Hello,

There are two linux distro on my home pc 1.fedora-11 2.rhel5. There are some free space in fedora 11 i.e. around 5.0 gb; so i wish to get that free space from there and merge into rhel 5's free space. How do i do it ? After searching on net, i am posting the question here please.

/dev/hda6 is Fedora 11 partition.
/dev/hda8 is RHEL 5 partition.

Regards
Girish Sharma
 
Old 09-28-2009, 05:02 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Boot your computer with a gparted livecd (http://gparted.sourceforge.net/livecd.php) and try to resize the partitions to your liking. But first, back up everything of value to you!
 
Old 09-28-2009, 06:34 AM   #3
ThinkFree
Member
 
Registered: Jan 2009
Location: India
Distribution: Fedora, Arch, OpenSolaris
Posts: 112

Rep: Reputation: 20
I don't think that it will be possible as the two partitions are not adjacent. So you will have to first delete hda3 to do something like that.
 
Old 09-28-2009, 07:00 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,376

Rep: Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649Reputation: 1649
It is possible to resize and move partitions around using gparted however, if your Fedora 11 uses LVM then it is a lot more complicated. It would help to see exactly how the drive is partitioned i.e. the output from the fdisk command i.e.
fdisk -l /dev/hda (that is a small L and you must be root)

http://equivocation.org/node/103
 
Old 10-02-2009, 08:19 AM   #5
GirishSharma
Member
 
Registered: Dec 2008
Posts: 37

Original Poster
Rep: Reputation: 16
First of i would like to thank you very much for your reply and valuable guide.

I downloaded gparted iso file, burnt cd and booted pc from that cd. I got options there to resize the partitions, but unfortunately in the ignorance i deleted LVM2 partitions. Now when i reboot the pc it goes to grub> prompt.

I thought that probably some problem has been occured with grub, so i inserted the RHEL5's first cd and "linux rescue" ... i got command prompt after chroot /sysimage/mnt (i am just remembering what exactly i gave there). Now, when i says grub-install /dev/hda then it is saying there is no device.

It is my home pc, so i just use for learning, testing and meanwhile for damage too...!

Kindly guide me how to recover the LVM and/or grub installation.

Best regards
Girish Sharma
 
  


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
Help removing free space to create Raw free space nightmare55 Linux - Newbie 11 10-01-2009 03:07 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 08:21 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM


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