Solved

Re-sizing EX4 Ubuntu partition - Help

Posted on 2013-02-07
11
444 Views
Last Modified: 2013-02-07
Currently I am trying to re-size my sda1 ex4 partition using a live ubuntu dvd but I can't seem to get gparted to help my current partition 248.59GB to use the additional free unallocated 577.41GB.  Any suggestions?

See images for the description also.
Part1.jpg
Part2.jpg
0
Comment
Question by:sj77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 88

Expert Comment

by:rindi
ID: 38864207
Delete the swap partition, and after that also the extended partition in which it sits. After that you can resize your sda1. When done create a new swap partition in the space left over. When that is done check your /etc/fstab file and change the entry for the swap partition so it reflects the new one (usually you have to change partition ID, which you can view via gparted).

The reason you can't resize now is because you have the swap partition between your current partition and the unallocated space. The space must always border right to the partition you want to resize.
0
 

Author Comment

by:sj77
ID: 38864600
Rindi,

There is a key the surrounds the extended and swap partition what do you suggest to get around that?

Currently the screen shots are done via live cd.
0
 
LVL 88

Expert Comment

by:rindi
ID: 38864644
I don't understand what you are asking. Just delete the swap partition, then the extended one.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 

Author Comment

by:sj77
ID: 38864661
See the attached image
Part3.jpg
0
 
LVL 88

Expert Comment

by:rindi
ID: 38864726
Just FIRST delete the swap partition, and AFTER that the extended one. The extended partition is a container for further partitions, and your swap partition is inside that, you can't delete an extended partition until all it's contained partitions are removed.

The reason for having extended partitions is because with the old MBR disk scheme you had a limit of 4 primary partitions per disk. So if you made one of the 4 possible primary partitions an extended one, you were then able to have many logical partitions inside that. With the new GPT disk scheme that limit has gone and you can have many primary partitions. So for those you don't have extended partitions anymore.
0
 

Author Comment

by:sj77
ID: 38864891
So it doesn't give me the option to delete it dose say Swapoff is that what I need to choose?
0
 
LVL 88

Expert Comment

by:rindi
ID: 38864903
Yes, if the Ubuntu LiveCD is using the swap partition you must first turn swap off.
0
 

Author Comment

by:sj77
ID: 38864946
Ok after I have done that... How do I create the new swap and the extended?
0
 
LVL 88

Expert Comment

by:rindi
ID: 38865000
If you don't intend to put more than 4 partitions on the Disk, you won't need the extended partition. In gparted just select new when you right click in the unallocated space you have left, and there you can select what type of format, or whether that new partition shall be a swap partition.
0
 

Author Comment

by:sj77
ID: 38865025
So the system will work fine with out swap or an extended correct?
0
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 38865132
You should have a swap partition, but it doesn't have to be in an extended one. You can just use a primary partition for it. It also doesn't have to be large, I usually make mine 512MB (it isn't like in Windows where you need 1.5x the size of your RAM for the pagefile).
0

Featured Post

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question