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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-24-2014, 06:02 AM
|
#1
|
Member
Registered: Aug 2012
Posts: 139
Rep:
|
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.
|
|
|
11-24-2014, 06:42 AM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,201
|
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.
|
11-24-2014, 06:55 AM
|
#3
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
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.
|
11-24-2014, 07:50 AM
|
#4
|
Member
Registered: Aug 2012
Posts: 139
Original Poster
Rep:
|
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
|
|
|
11-24-2014, 08:51 AM
|
#5
|
Senior Member
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791
|
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.
|
11-24-2014, 09:15 AM
|
#6
|
Member
Registered: Aug 2012
Posts: 139
Original Poster
Rep:
|
Thank you.
Yes /home is on the 1000G drive.
Small SSD is only for the OS.
Will try these steps tomorrow.
|
|
|
11-24-2014, 03:17 PM
|
#7
|
Moderator
Registered: Mar 2008
Posts: 22,113
|
Or post screen shot of gparted for us to be sure.
|
|
|
11-25-2014, 05:19 AM
|
#8
|
Member
Registered: Aug 2012
Posts: 139
Original Poster
Rep:
|
Thanks will get a screenshot
|
|
|
11-25-2014, 05:23 AM
|
#9
|
Member
Registered: Aug 2012
Posts: 139
Original Poster
Rep:
|
Here is the Gparted screeshot
|
|
|
11-25-2014, 08:28 AM
|
#10
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
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.
|
11-25-2014, 08:52 AM
|
#11
|
Member
Registered: Aug 2012
Posts: 139
Original Poster
Rep:
|
Quote:
Originally Posted by yancek
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?)
|
|
|
11-25-2014, 05:44 PM
|
#12
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
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.
|
11-25-2014, 07:41 PM
|
#13
|
Moderator
Registered: Mar 2008
Posts: 22,113
|
May have to fix boot config to mount for new swap.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 01:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|