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!
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.
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.
I have a HD with 4 partitions. Partition 4 is a logical and divided in 4 other partitions.
So I can use 7 partitions.
The problem is that partition 3 is to small. I can resize some of the other partitions, but it seems that Gparted does not allow to move the beginning of the partition.
Since this system has only linux I am looking for some possibility to resize the partition. ( I have already put all my personal files on another partition that is mounted in the file system but that is not enough).
can you list your partition scheme like p1 (partition 1) primary 1,000 mb swap
p2 (partition 2) primary 20,000 mb linux
p3 (partition 3) primary 15,000 mb linux
p4 (partition 4) extended 21,000 mb logical
P5 (partition 5) logical 1,000 mb linux
p6 (partition 6) logical 20,000 mb linux
this is how mine looks let me see yours and maybe i can help
Excuse me, I told GTparted it should be QT parted.
With QT parted I can resize, but the starting point of the partition cannot change.
How is it with parted?
Exampel :
Par 3 starts at 52 Gb and ends at 64 GB so it is about 12 GB.
I want to resize it from 12 to 8, this is not the problem, and then move it so it begins at 56GB. So I want to move the beginning at 52GB to 56GB.
Next I can resize the previous par (par2).
Qtparted does not allow to change the beginning, only the end.
CloudBuilder
Last edited by CloudBuilder; 07-26-2006 at 10:43 AM.
As far as I'm aware, you can resize a partition by shrinking/growing it by moving the END of the partition. You cannot move the *start* of the partition, once you've set that, it's fixed. Moving it would require moving the whole partition with it.
So, to resize a partition... you can only move the end. Not the beginning.
I copy the contents of the P to another partition. (this means I have to copy everything that is in the logical one perhaps with DD)
Delete the logical and activate it after leaving som space.
Then I put the other P's back in place and resize P3.
Should be possible I think.
Something I forget ? No problems with Grub ?
Another scenario could be :
Make a new lager partition in the logical.
Copy everything over there.
Then I have to change \etc\fstab and menu.lst in Grub
Seems less time consuming :-) Did I forget something ?
Thanks for your input....
CloudBuilder
Last edited by CloudBuilder; 07-27-2006 at 10:13 AM.
Possible (I think), but you'd better be VERY sure you got everything backed up safely.
Wouldn't a better idea be a new hard-drive, and simply a sym-link to a partition on that new drive? It's what I do, works well enough. Certainly less time-consuming and dangerous than fiddling with partitions!
I run into a similar problem when I attempted to dual boot XP and ubuntu. I have a 20G 1st primary partition for XP and the rest is the extended with 2 logical partitions.
I tried and failed lots to shrink this extended one until I found that partition magic (possibly others too) will allow you to change a logical to primary partition. When doing this the logical partition is moved out of the extended, so presto, the extended one shrinks
I only converted the last logical though, so I haven't tried to convert e.g. the first one in the extended set...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.