bug-parted
[Top][All Lists]
Advanced

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

Re: [version 1.6.21] Assertion (dis k != NULL) at ../../libparted/disk.c


From: Andrew Clausen
Subject: Re: [version 1.6.21] Assertion (dis k != NULL) at ../../libparted/disk.c:1037 in function ped_disk_next_partition() failed
Date: Thu, 24 Mar 2005 09:56:18 +1100
User-agent: Mutt/1.3.28i

Hi eliehd,

On Wed, Mar 23, 2005 at 09:38:40PM +0100, eliehd wrote:
> When trying to access the partition list of this drive with qtparted, I
> get the following error in a message box:

Is it possible to test out Parted (as opposed to qtparted)?  This
will help determine if the bug is located in Parted or qtparted.

> However, when i run fdisk -l, I can read the partition table:
> 
> Disk /dev/hda: 123.5 GB, 123522416640 bytes
> 255 heads, 63 sectors/track, 15017 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> ~   Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *        9306        9396      724248   82  Linux swap / Solaris
> /dev/hda2            1147       15018   111414744    5  Extended
> /dev/hda5            1147        9306    65535592+  83  Linux
> /dev/hda6            9396       15018    45154840+  83  Linux
> 
> Partition table entries are not in disk order


Partition 1 overlaps with partition 2.  I recommend you use fdisk to:
(1) delete partition 1.
(2) create a logical partition 7, in the same location.
(3) update /etc/fstab to use partition 7 for swap rather than partition
1.

Note: you should check if partition 1 is involved in the boot process.
(It probably isn't, but...)

Cheers,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]