Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have been browsing this site for hours and while I can find plenty of threads on the subject, I cannot seem to find one that matches my situation... or at least that I can get their solution to work. I have read in several places that if unallocated space is next to a partition, I should be able to extend the partition to consume the unallocated space. I understand the concepts of unmounting and running from a livecd, and have used parted magic to no avail. When I click my sda4 and try to resize it, it is showing no avaialable space at the end, and saying that it is already at its maximum size. I am including a screenshot of GPARTED and my fdisk -l output. Thanks.
Thanks for such a quick response. As i understand it, I could shrink sda3 and then move sda4 to take that space? I have tried shrinking the large unallocated space, but GPARTED will not let me. I appreciate the explanation of partitions. I forgot to mention, I would like for sda4 to occupy, additionally, the unallocated space
Last edited by cjones903; 09-01-2012 at 04:43 PM.
Reason: Unclear of intent
Yes, it looks like sda3 (the extended partition) contains only unallocated space and the swap partition.
In principle you could delete the swap partition sda5 and then delete the extended partition sda3 completed - and recreate them afterwards. Swap areas don't contain anything you need to save between reboots.
However it may be that the Live CD has found the swap partition and is using it (though I don't see a lock on it in your gparted screenshot).
Try deleting the swap partition sda5, and if you can do that, delete sda3 - or resize it if you prefer.
(You can't resize an unallocated space ... because this doesn’t really mean anything.)
Last edited by SecretCode; 09-01-2012 at 04:50 PM.
As SecretCode explained you could've remove sda5 & sda3 especially since the only thing that resides in sda3 so it wouldn't have change your /etc/fstab so there would be no real editing. But by doing so, depending on how much ram your system has, you could possibly run short of memory.
I have deleted sda5, but I do not understand what you mean by "then delete the extended partition sda3 completed". I'm sorry, this is my first experience repartitioning in Linux.
Hello cjones. I'm glad to hear your issue is now resolved. I just thought i'd explain a couple things for your benefit.
There are three types of partitions; Primary, Extended, and Logical. Because of old technical limitations, the maximum amount of primary partitions you can have is four. A primary partition can be bootable and often has an operating system on it. Due to the four partition limitations, Extended partitions were invented. You may have up to only three primary partitions with the extended partition: and only ever one extended partition regardless of what else is there. An extended partition work like a container. On my computer and likely other peoples too, it is the biggest partition. It is often the biggest partition, because an extended partition is then separated into x amount of logical partitions, the user deems appropriate. A logical partition works much like a primary partition and often also contains an operating system.
Gnu/Linux is bootable off both primary and logical partitions. It's important though to realise that not all operating systems are bootable off logical partitions. FreeBSD for example needs to be on a primary partition, (FreeBSD also uses different jargon to describe partitions, but i'm not going to get into that here). I'm unsure on Windows, but i think it needs a primary partition too.
I hope that has helped your understanding of partitioning. :-)