LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Get and merge free space (https://www.linuxquestions.org/questions/linux-newbie-8/get-and-merge-free-space-758186/)

GirishSharma 09-28-2009 03:24 AM

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

hw-tph 09-28-2009 05:02 AM

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!

ThinkFree 09-28-2009 06:34 AM

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.

michaelk 09-28-2009 07:00 AM

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

GirishSharma 10-02-2009 08:19 AM

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


All times are GMT -5. The time now is 07:04 PM.