LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2014, 06:02 AM   #1
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Rep: Reputation: Disabled
Question Gparted LiveCD Ubuntu 14.04


I'm VERY sorry for posting this simple question but I've hit a brick wall with my research.

Running Ubuntu 14.04

I'm trying to resize "UP" the boot partion on my small SSD drive.
Booted from Live CD, run Gparted.
(I have resized "UP" on the 1000G drive with no problem.)

However with the SSD I can't find a way of resizing UP (only down?)
I have tried doing this mounted and unmounted.

PLEASE what am I missing?????


Model: ATA SanDisk SDSSDP06 (scsi)
Disk /dev/sda: 64.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 25.0GB 25.0GB primary ext4 boot
2 25.0GB 30.0GB 4999MB extended
5 25.0GB 30.0GB 4999MB logical linux-swap(v1)


Model: ATA WDC WD10EFRX-68J (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 470GB 470GB primary ext4

Last edited by hdp160; 11-24-2014 at 06:03 AM.
 
Old 11-24-2014, 06:42 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,147

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
You can't increase it because your swap partition is in the way. You need to move or delete it first.
 
1 members found this post helpful.
Old 11-24-2014, 06:55 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
You will also need to delete the Extended partition because as you can see, they are the same size and the swap is the only thing in the Extended. You need to unmount a partition before resizing.
 
1 members found this post helpful.
Old 11-24-2014, 07:50 AM   #4
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Hi Both thanks very much I did'nt know these points.

So the first step is I think is:-

Delete the 5Gig logical linux swap partition

I see in Gparted that there is also a 5Gig extended partition do I then delete that?

then resize the boot partition

then recreate the swap partion
 
Old 11-24-2014, 08:51 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
1. Your first step will be to turn off swap.
2. I've never tried moving an extended partition with internal partitions, but I'd try it. If it can't be done, I'd
2a. just delete the swap partion
2b. then the extended partition
3. then resize the boot partition
4. I wouldn't create an extended partition since you've got a small SSD and are presumably going to be using most of it for your boot partition; I'd
5. just recreate a swap partition
 
1 members found this post helpful.
Old 11-24-2014, 09:15 AM   #6
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Thank you.

Yes /home is on the 1000G drive.

Small SSD is only for the OS.

Will try these steps tomorrow.
 
Old 11-24-2014, 03:17 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Or post screen shot of gparted for us to be sure.
 
Old 11-25-2014, 05:19 AM   #8
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Thanks will get a screenshot
 
Old 11-25-2014, 05:23 AM   #9
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Here is the Gparted screeshot

Click image for larger version

Name:	Screenshot from 2014-11-24 13:36:52.png
Views:	36
Size:	52.8 KB
ID:	16921
 
Old 11-25-2014, 08:28 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Highlight sda5, the swap partition then go to the Partition tab and in the options select swapoff. After that with sda5 still highlighted go back to the Partition tab and select Delete. The selections should show in the bottom part of the window. Select Apply (the green check mark) at the top of the window. When it finishes, highlight sda2, go to the Partition tab and select Delete and then Apply. Then highlight sda1, go to the Partition tab again and select resize and set to the size you want and click the Apply check mark.
 
1 members found this post helpful.
Old 11-25-2014, 08:52 AM   #11
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Highlight sda5, the swap partition then go to the Partition tab and in the options select swapoff. After that with sda5 still highlighted go back to the Partition tab and select Delete. The selections should show in the bottom part of the window. Select Apply (the green check mark) at the top of the window. When it finishes, highlight sda2, go to the Partition tab and select Delete and then Apply. Then highlight sda1, go to the Partition tab again and select resize and set to the size you want and click the Apply check mark.
100% thanks to yourself and Rootdoctor

Then do I just simply recreate a swap partition (I think I read somewhere to make it about 2-3 times the RAM size?)
 
Old 11-25-2014, 05:44 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
If you have unallocated space available now you can use GParted to create swap. If you have a lot of RAM you may not need it but unless you do a lot of graphics or RAM intensive activity, 2-4GB is more than enough.
 
1 members found this post helpful.
Old 11-25-2014, 07:41 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
May have to fix boot config to mount for new swap.
 
1 members found this post helpful.
  


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
[SOLVED] Gparted LiveCD stalls searching for partitions vnkinnaman Linux - Newbie 16 10-04-2010 03:38 AM
[SOLVED] how to check if gparted livecd is still doing something? zuzoa Linux - Software 2 04-23-2010 12:30 PM
LXer: DistroWatch Weekly: GParted LiveCD vs Parted Magic, Ubuntu and Automatix, Medison Celebrity LXer Syndicated Linux News 0 08-06-2007 05:16 AM
Problem with GParted LiveCD 0.3.4-6 while booting up manhinli Linux - Hardware 3 04-22-2007 03:44 AM
LXer: ReviewLinux.Com: GParted LiveCD 0.2.5-1 A Must Have Disc! LXer Syndicated Linux News 0 06-18-2006 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 AM.

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