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.
thanks in advance for your kind assistance and 4 bearing with me. while installing ubuntu 8.04 lts, somehow selected the wrong choices with GParted 0.3.5. from two original partitions on 'c' /dev/sda1 [ntfs, where WinXP MCE resides from factory] and /dev/sda2 [fat32, a repository to reinstall WinXP if something does go wrong] i got what i think are 2 many partitions. this situation has me scratching for a solution!
GParted now shows:
[Partition|Filesystem|Mountpoint|Size|Flags] - Used|Unused not shown
You should only need one swap partition for a start. Is Ubuntu the only distro you are using? I haven't deleted one before that may have been in use, so do some googling on the matter. i'd suggest that a look at /etc/fstab will tell you which is in use. Delete the other.
I assume that /dev/sda4, as an extended partition simply encapsulates logical the partitions below it (as opposed to primary) (or at least sda5-8, perhaps 6).
From there, you should be able to move partitions to get the unalocated space where you want it an enlarge whichever you want.
This means that you'd be left with 2 partitions for Ubuntu - sda5 and 7 (short of reinstalling I think you're stuck with 2, but so what?), your ntfs partition, a fat32 (you use this for sharing?), your extended partition, one swap plus some free space to be incorporated.
How exactly would LVM help? That would require a separate root partition, and why delete the existing swap and create a new one? Use the one that's there and move it if necessary.
LVM would help in terms of management with an additional layer of abstraction...he wouldn't care how many physical partitions there are, simply merge the PVs into VGs and deal out volumes accordingly, his /etc/fstab would be cleaner for it. There's no need to put root on LVM.
As far as recreating swap, its optional...but he IS asking how to merge, so why not merge and recreate swap?
You can't put root on LVM IIRC. Abstraction isn't what LVM is about, it's about seemless management but usually of multiple physical volumes, note partitions.
What do you want him to merge? We don't know what's on /dev/sda5, so deleting that may be dangerous.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.