[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qtparted and kernel disagree about partitions

On Thu, 4 Mar 2010 10:44:10 -0500 (EST), David Goodenough wrote:
> I have a hard drive with a primary partition and an extended partiton.
> QTParted says that it has /dev/hda1, /dev/hda2 and /dev/hda5 which is
> what one would expect, but when I boot the disk the kernel reports
> that there are only the /dev/hda1 and /dev/hda2 partitons, no /dev/hda5.

What happened to /dev/hda3 and /dev/hda4?  How can there be a /dev/hda5
without all the partitions in between?

> The really odd thing is that qtparted is running on the kernel which
> can not see /dev/hda5.

Perhaps qtparted reads the partition table directly, rather than
relying on the kernel for this information.

> Any idea what might cause this and how to fix it (preferably without
> repartitioning the disk as backing it all up would take a while and also
> I do not know how I would access the data in /dev/hda5 if I can not see
> it).

This is pure guesswork, but maybe the kernel stopped when it couldn't
find /dev/hda3 and assumed that there was nothing beyond.
Maybe creating dummy partitions /dev/hda3 and /dev/hda4 would allow
the kernel to find /dev/hda5.  It's worth a shot.

I'm not even addressing the issue of SCSI vs ATA.  I'll leave that
to those who know more about it.

(David, please excuse the duplicate.  I accidentally replied to you
personally instead of to the list.)

Reply to: