LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Gparted ?? (https://www.linuxquestions.org/questions/fedora-35/gparted-568767/)

mickeyboa 07-12-2007 10:46 AM

Gparted ??
 
FC7 x86_64. 160 gig harddrive
I'am running Gparted on my Harddrive and I have a 9.00 gig unallocated
partition, and I want to resize my /home partition to include that 9.00gig .
When I do the resize on /home it says that I can only resize /home,
/home 96.90 gig (present size)
/home 99230 (is max. size it will allow me to resize)
/home 44303 ( is the min. size it will allow)
The present size of /home 96.90 gig and adding 9.00 gig to that
would make a total of 105.90 gig for /home, why is it that Gparted
will only allow me to resize to 99230 gig, instead of the full 105.90gig ??

pixellany 07-12-2007 12:01 PM

First, a semantic nitpick: You would not re-size /home, you would re-size the partition which is mounted at /home---eg /dev/sda3, /dev/hdb4---somthing like that.

Please do "fdisk -l" and "df" (running as root) and post the results here

The partition should be mounted when doing the above commands, but NOT mounted when attempting to re-size it. Ideally, you would run GParted from a LiveCD so that you are not running any risk of re-sizing a partition that is in use.

mickeyboa 07-12-2007 12:11 PM

I'am running gparted from a LiveCD

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 85672504 8822200 75981628 11% /
/dev/sda2 98429044 42175808 51172680 46% /home
tmpfs 513640 0 513640 0% /dev/shm

mickeyboa 07-12-2007 12:17 PM

# /sbin/fdisk -l /dev/sda

Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10836 87040138+ 83 Linux
/dev/sda2 10837 23486 101611125 83 Linux
/dev/sda3 23487 23617 1052257+ 82 Linux swap / Solaris

pixellany 07-12-2007 12:28 PM

Your fdisk output says that sda2 is already at its maximum size---ie its upper limit is right at the start of sda3 (swap).

first, delete swap and recreate it at the end of the disk

then you will be able to resize sda2 to use all available space.

By the way, did anyone say "backup"??---highly recommended before re-sizing.

mickeyboa 07-13-2007 11:11 AM

That did the job thanks for your help.

Jim


All times are GMT -5. The time now is 05:37 PM.