LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gparted merging unallocated to linux patition (https://www.linuxquestions.org/questions/linux-newbie-8/gparted-merging-unallocated-to-linux-patition-4175475504/)

bengalman211 09-01-2013 08:46 PM

Gparted merging unallocated to linux patition
 
I'm pretty new to GParted so if I don't provide some information you need just comment and I'd be happy to provide.
The problem I am having is when I want to merge my unallocated space into my linux partition which is in an extended (I for get what it's called but you have to click the drop down on extended to see the linux partition) I have booted off of a live cd and when I right click extended, resize/move, move the slider to fit the size and click resize/move ->, it comes up with this error


Code:

GParted 0.12.1 --enable-libparted-dmraid

Libparted 2.3
Move /dev/sda3 to the left and grow it from 36.26 GiB to 231.71 GiB  00:00:00    ( ERROR )
       
calibrate /dev/sda3  00:00:00    ( SUCCESS )
       
path: /dev/sda3
start: 412,352,510
end: 488,396,799
size: 76,044,290 (36.26 GiB)
move partition to the left and grow it from 36.26 GiB to 231.71 GiB  00:00:00    ( ERROR )
       
old start: 412,352,510
old end: 488,396,799
old size: 76,044,290 (36.26 GiB)
requested start: 2,459,648
requested end: 488,394,751
requested size: 485,935,104 (231.71 GiB)
libparted messages    ( INFO )
       
Unable to satisfy all constraints on the partition.
Can't have overlapping partitions.

========================================

Thanks for any help!

EDDY1 09-01-2013 09:02 PM

post output of
Quote:

fdisk -l

bengalman211 09-01-2013 09:04 PM

Quote:

Originally Posted by EDDY1 (Post 5020007)
post output of

Here is the output thanks for response

Code:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x42ddafb1

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *        2048    2459647    1228800    7  HPFS/NTFS/exFAT
/dev/sda3      412352510  488396799    38022145    5  Extended
/dev/sda5      412352512  484487167    36067328  83  Linux
/dev/sda6      484489216  488396799    1953792  82  Linux swap / Solaris


syg00 09-01-2013 09:21 PM

Looks like the "end" is getting re-aligned; try resizing the swap smaller first (apply that), then do the extended. Later you can resize the swap to fill the hole at the end.

bengalman211 09-01-2013 09:31 PM

Quote:

Originally Posted by syg00 (Post 5020017)
Looks like the "end" is getting re-aligned; try resizing the swap smaller first (apply that), then do the extended. Later you can resize the swap to fill the hole at the end.

Thanks for advice, still having same problem.

EDDY1 09-01-2013 09:35 PM

Can you take a screenshot of gparted?
Are there any yellow or orange warning signs in front of any of the partitions?

bengalman211 09-01-2013 10:02 PM

1 Attachment(s)
Here is a screenshots nothing wrong as far as warning signs go it appears

Attachment 13328


ext4 is linux

EDDY1 09-01-2013 10:14 PM

Have you tried right-clicking on partition, resize & typing in where it says Free Space before beginning of partition & putting 1?

yancek 09-01-2013 10:33 PM

You haven't indicated any reason why you want to do this. You have a 34GB Linux system partition which should be more than enough for most any installation. Why not just create a separate primary partition from that unallocated space and mount it with an entry in fstab. If you are going to be using it to store data and since you're having problems with the resizing this might be an option. You might check the link below which has some good information on re-sizing with GParted.

http://www.ibm.com/developerworks/li...-partitions-1/

bengalman211 09-02-2013 02:46 PM

Thanks, Could you provide a link(or if it is explainable through a post) on how I could use all this extra space as means of storage? I think this would help me even better. Thanks for all the help

yancek 09-02-2013 06:46 PM

Before doing this, create a mount point for your data as in the example below. You don't have to use 'data', choose anything you want.

Code:

sudo mkdir /mnt/data
and then in GParted select /mnt/data as the mount point. If it doesn't show in your options, enter it manually.

The image you posted shows Mint 15 so just open GParted, when you see the screen click on the 195GB unallocated space to highlight it. Then click on the Partition tab at the top and click on New in the drop down menu. You should be given the option to create a new partition and select primary or logical so just do primary. You will need to select a filesystem type (default for Mint 15 is ext4) and a mount point. Use the mount point you created here. If it doesn't shown in the Mount box, enter it manually.

You can get a lot more details on using GParted at the site below. Creating a new partition is under the Intermediate Partition Actions.

http://gparted.sourceforge.net/displ...me=help-manual

.


All times are GMT -5. The time now is 08:11 AM.