Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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.
Partition table entries are not in disk order
ubuntu@ubuntu:~$
Is it a problem where it says, "Partition table entries are not in disk order?"
What about the apparent space between the end of sdb5 and the start of sdb6?
Your problem is sdb, which has primary partitions 1, 2, and 3 all existing within the extended partition sdb4. Physically, they lie between partitions sdb5 and sdb6, so it's all working, but no partitioning tool is going to accept that. I can't think of a clean way to fix that other than saving all the data elsewhere and repartitioning the drive.
I can't think of a clean way to fix that other than saving all the data elsewhere and repartitioning the drive.
Well, there exist disk editing tools that can help you correct this error, but in any case, even if you use such a tool, it would be wise to backup all of the data elsewhere, because you never can tell if the problem really will get solved.
Having said that, I agree that the only really clean way must be repartioning the disk.
Westeren Digital Diagnostics returned a Pass for the same disk after a 2 hour extended test.
It did not show up as unallocated in Ubuntu OS after returning the following error messages that I don't understand. I have all my partitions backed up to a 2tb external hard drive using Acronis True Image boot cd.
[sudo] password for arch:
Failed to get D-Bus connection: No connection to service manager.
Too few arguments.
======================
libparted : 3.2
======================
Can't have overlapping partitions.
Your problem is sdb, which has primary partitions 1, 2, and 3 all existing within the extended partition sdb4. Physically, they lie between partitions sdb5 and sdb6, so it's all working, but no partitioning tool is going to accept that. I can't think of a clean way to fix that other than saving all the data elsewhere and repartitioning the drive.
I am wondering how I ended up with these three primary paritions being located inside the single extended partition. What is the typical way that sort of thing happens? There are no linux partitions on that disk so I would have created the respective partitions after shrinking a larger partition but before installing the Windows OS's which I would have installed one at a time. I would have had no reason to intentially create an extended partition.
I am wondering how I ended up with these three primary paritions being located inside the single extended partition. What is the typical way that sort of thing happens? There are no linux partitions on that disk so I would have created the respective partitions after shrinking a larger partition but before installing the Windows OS's which I would have installed one at a time. I would have had no reason to intentially create an extended partition.
You cannot have more than 4 primary partitions on an MBR disk, so to have your 6 data partitions you would have to create an extended partition. I don't know of any tool besides sfdisk with the "--force" option that would allow you to set up the partitions the way they are ("-f or --force: Do what I say, even if it is stupid.'). If it happened during a Windows installation, talk to Microsoft. A Google search shows that others have had a similar problem.
The strange thing is that Windows partitioning software such as EaseUS disk manager and Windows Disk Management do not show all the same unallocated spaces as Gparted in Linux does. Being that all my disks are move than 5 years old, they are likely to fail sooner rather than later.
I have not used diskpart. I generally use the graphical application called Easeus Partition Manager which allows automatic resizing of partitions as well as the recovery of accidental partition deletions. I occasionally also look at the administrative options for computer disk management which comes with all versions of Windows but can do a bit more in the more recent versions of Windows. What I am saying is that I have seen all kinds of information in Gparted regarding my 640gb hard drive such as unallocated partitions (sometimes it reports the whole disk as unallocated, other times it shows unallocated partitions in between allocated ones) that I have not seen in the optional Easeus Partition Manager or the basic Disk Management tool in various Windows operating systems. Most of these issues seem to have coincided with the installation of the last Linux OS (Linux Mate 14.04) which chose to select and automatically reformat my single 5gb swap partition sdc5 during installation. This had nothing to do with the larger sdb disk, though, only with the partitions can't overlap messages when I open Gparted in Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.