bug-parted
[Top][All Lists]
Advanced

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

function ped_disk_next_partition() failed.


From: Alan Pater
Subject: function ped_disk_next_partition() failed.
Date: Thu, 13 Jan 2005 16:25:35 -0800

This is on a PPC powerbook, running Ubuntu Hoary, dual boot with OSX. 
This error occurred while running Qparted. Qparted runs without
crashing, but cannot display the partitions on the harddrive, resulting
in the following error being printed to an open terminal:


address@hidden:~$ Error: Unable to satisfy all constraints on the partition.
A bug has been detected in GNU parted.  Please email a bug report to
address@hidden containing the version (1.6.11) and the following
message:Assertion (!disk->update_mode) at ../../libparted/disk.c:322 in
function ped_disk_destroy() failed.
A bug has been detected in GNU parted.  Please email a bug report to
address@hidden containing the version (1.6.11) and the following
message:Assertion (disk != NULL) at ../../libparted/disk.c:1037 in
function ped_disk_next_partition() failed.


Running parted from the terminal shows the following:

(parted) print
Disk geometry for /dev/hda: 0.000-28615.781 megabytes
Disk label type: mac
Minor    Start       End     Filesystem  Name                  Flags
1          0.000      0.031              Apple
2          0.031      0.057              Macintosh
3          0.058      0.093              Macintosh
4          0.094      0.120              Macintosh
5          0.120      0.156              Macintosh
6          0.156      0.253              Macintosh
7          0.254      0.503              Macintosh
8          0.504      0.753              Patch Partition
9          0.754  19402.169  hfs+        untitled
10     19402.170  19432.688  hfs         bootstrap             boot
11     19432.688  19982.004  linux-swap  swap                  swap
12     19982.005  28615.781  ext3        gnu-linux
(parted)



And running mac-fdisk has a similar result:

address@hidden:~$ sudo mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
        #                    type name                 length   base
( size )  system
/dev/hda1     Apple_partition_map Apple                    63 @ 1
( 31.5k)  Partition map

/dev/hda2          Apple_Driver43 Macintosh                54 @ 64
( 27.0k)  Driver 4.3

/dev/hda3          Apple_Driver43 Macintosh                74 @ 118
( 37.0k)  Driver 4.3

/dev/hda4        Apple_Driver_ATA Macintosh                54 @ 192
( 27.0k)  Unknown

/dev/hda5        Apple_Driver_ATA Macintosh                74 @ 246
( 37.0k)  Unknown

/dev/hda6          Apple_FWDriver Macintosh               200 @ 320
(100.0k)  Unknown

/dev/hda7      Apple_Driver_IOKit Macintosh               512 @ 520
(256.0k)  Unknown

/dev/hda8           Apple_Patches Patch Partition         512 @ 1032
(256.0k)  Unknown

/dev/hda9               Apple_HFS untitled           39734100 @ 1544
( 18.9G)  HFS

/dev/hda10        Apple_Bootstrap bootstrap             62501 @ 39735644
( 30.5M)  NewWorld bootblock

/dev/hda11        Apple_UNIX_SVR2 swap                1125001 @ 39798145
(549.3M)  Linux swap

/dev/hda12        Apple_UNIX_SVR2 gnu-linux          17681974 @ 40923146
(  8.4G)  Linux native

Block size=512, Number of Blocks=58605120
DeviceType=0x0, DeviceId=0x0
Drivers-
1: @ 64 for 23, type=0x1
2: @ 118 for 36, type=0xffff
3: @ 192 for 21, type=0x701
4: @ 246 for 34, type=0xf8ff







reply via email to

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