LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-04-2015, 09:52 AM   #1
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Rep: Reputation: Disabled
Gparted trouble


I was trying to expand my Ubuntu partition but found I could only shrink it. Launching Gparted Live made no difference; I could expand the extended partition containing Ubuntu, but not the Ubuntu section itself. What was I doing wrong?
 
Old 08-04-2015, 09:55 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Welcome to Linuxquestions.

To answer your question could you post a map of your hard drive partitions and explain which partition you are trying to expand?

----------------------
Steve Stites
 
Old 08-04-2015, 10:03 AM   #3
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Sure. What exactly do you mean by 'map'- a screenshot or would a text description suffice?
 
Old 08-04-2015, 12:06 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Is there empty space after the partition for room to expand? If the partition is at the end of an extended partition, is there room beyond the extended partition to expand the extended partition then the Ubuntu partition
 
Old 08-04-2015, 12:16 PM   #5
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
I haven't learned how to move partitions yet... No, the free space (1 MiB) is sandwiched between the extended partition and the one I want to expand.

Last edited by Seff; 08-04-2015 at 12:22 PM. Reason: more information
 
Old 08-04-2015, 12:33 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Post the output of: sudo fdisk -l(Lower Case Letter L in the command) or an image of GParted showing your drives/partitions.
 
Old 08-04-2015, 12:40 PM   #7
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Which program do you recommend for screenshots? Also, is there such a thing as a terminal that one can copy text from?

Last edited by Seff; 08-04-2015 at 01:18 PM.
 
Old 08-04-2015, 04:39 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Screenshot should be installed in Ubuntu. To access it and to access a terminal, click on the Dash icon, the Ubuntu logo in the extreme upper left of the Desktop. You will get a search box. Type screenshot and you should see its icon below, click on it to open. Same with terminal.
 
Old 08-04-2015, 07:04 PM   #9
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Quote:
I could expand the extended partition containing Ubuntu, but not the Ubuntu section itself.
You could expand the Ubuntu partition but you couldn't, er... extend the Ubuntu partition? That's what I'm reading from this. And no, I don't understand what you mean, can you clarify? Preferably as requested above.

To extend a partition, you need to have free space adjacent to that partition. This may involve shrinking and moving other partitions.

Play Bonny!

 
Old 08-04-2015, 07:05 PM   #10
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Okay... I think I copied the report from the console, but I can't paste it here.

Just trying to remember the jargon. I think what I mean to say is, I have a logical partition and an extended one. The one I'm trying to expand is the logical partition. (?)

Last edited by Seff; 08-04-2015 at 07:15 PM.
 
Old 08-04-2015, 07:13 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
You can upload to a site which allows you to put images and then click on the icon above, the insert link icon, Mouse over to find it. There is also an attachment icon above.
 
Old 08-04-2015, 07:19 PM   #12
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
All right, but knowing how to upload a picture doesn't help me paste text.

This is starting to irk me. I looked under Edit and saw "Copy- Ctrl-Shift-C". I tried it, and still can't paste.

Last edited by Seff; 08-04-2015 at 07:48 PM.
 
Old 08-04-2015, 07:30 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
The top of the terminal window should have the typical pull down menus i.e file edit view ... High light the output using the mouse while clicking the left mouse button. The click on edit->copy.

Press the go advance reply button, select the # then ctrl-v to paste the output and you get the below output.

Code:
Your text goes here

Last edited by michaelk; 08-04-2015 at 07:57 PM.
 
Old 08-04-2015, 07:54 PM   #14
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
The extended partition is on sda4 while the other is sda6.

Code:
Disk /dev/loop0: 1 GiB, 1101672448 bytes, 2151704 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 /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 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
Disklabel type: dos
Disk identifier: 0x76d34eb4

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   3074047   3072000   1.5G 27 Hidden NTFS WinRE
/dev/sda2         3074048 565911551 562837504 268.4G  7 HPFS/NTFS/exFAT
/dev/sda3       596877312 625141759  28264448  13.5G 17 Hidden HPFS/NTFS
/dev/sda4       576399358 596877311  20477954   9.8G  5 Extended
/dev/sda5       589590528 596877311   7286784   3.5G 82 Linux swap / Solaris
/dev/sda6       576401408 589588479  13187072   6.3G 83 Linux

Partition table entries are not in disk order.

Last edited by Seff; 08-04-2015 at 08:22 PM.
 
Old 08-04-2015, 10:37 PM   #15
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Disable the swap partition as explained in detail in the link below:

http://techie-buzz.com/foss/ubuntu-e...partition.html

Then in GParted, right click on sda6 and select the option to umount. You should then be able to extend sda4 to the end of the disk and then do the same with sda6.
 
  


Reply



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
Trouble Resizing Extended Partition - Gparted natibo Linux - General 4 08-04-2015 08:02 PM
partition trouble gParted lazerking9 Linux - Newbie 6 06-03-2011 09:09 AM
Trouble installing gParted 0.3.1 from source. truthfatal Linux - Software 5 04-07-2008 03:33 PM
trouble mounting multiple partitions in Gparted shadowsnipes Linux - General 2 07-01-2006 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 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
Open Source Consulting | Domain Registration