Linux - SoftwareThis 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.
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'm looking for someone who's proficient with parted to help me out here. Currently my partition table looks like this:
Code:
(parted) print
Disk geometry for /dev/ide/host0/bus1/target0/lun0/disc: 0.000-57231.562 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 28615.781 primary fat32 boot, lba
2 38154.375 38193.596 primary ext2
3 38193.596 39158.437 primary linux-swap
4 39158.438 57231.562 primary reiserfs
Notice there is a 10gig chunk missing between minor partitions 1 and 2. I basically want to slide everything back against the first partition, and stretch partition 4 to fill the rest of the drive. Also, if possible I'd like to shrink the swap partition from 1 gig to 512mb. So I want it to look about like this:
Moving #2 will be easy enough, make it to start at 28615.782 end at 28655.003
Edit: I forgot you need to move #3 to start at 28655.004 then resize it to
end at 29155.004
After you resize #4 , move it to start at 29167.005
then you can resize it again to use up the disk.
You will need to resize #4 to about 10gig before you can move it
( can't move a partition onto it's self )
Hey, when I tried moving #2, I get the same error whether or not i specify an end, have any ideas?
Code:
(parted) move 2 28615.782
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
(parted) move 2 28615.782 28655.003
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).
Hey, I tried using parted one command at a time, but received the same message. I also tried using parted from Knoppix 3.6, but got the same result yet again. Any more ideas?
I'm kind of in a rush to figure this out... I think if I can't get parted to do it by tomorrow I'm just going to reformat the linux partitions and reinstall gentoo over again :-( It's all I really have time for, I gotta go to my girlfriends for the holiday on the 29th, then I go back to school (by which time my computer needs to be ready to rock) on like the 5th...
Are you positive that I should be able to do this sort of rearranging with parted? It would surely save a lot of trouble... but it may be simply more timely to just format reinstall :-/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.