Problem with QtParted

Bug #48055 reported by _tp___
12
Affects Status Importance Assigned to Milestone
qtparted (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Error message from QtParted:
Critical error during ped_disk_new!

Revision history for this message
Jonathan Riddell (jr) wrote :

Some context is necessary. What were you doing at the time? What processor type does your computer have?

Changed in qtparted:
status: Unconfirmed → Needs Info
Revision history for this message
Bohdan (bohdan-linda) wrote :

I confirm the same thing here. Originally I wanted to install debian and had the same type of malfunction - I cannot see partitions on target drive, but fdisk can (also kernel).

Athlon 64+, SATA2, nforce chipset

for details on dmesg, lspci, lspci -n see the following url:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367706

Revision history for this message
Bohdan (bohdan-linda) wrote :

OK I found the problem. Originally I have created setup with cfdisk (fdisk was also ok with that):
   Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 30401 223713157+ f W95 Ext'd (LBA)
/dev/sda3 27792 28095 2441880 82 Linux swap / Solaris
/dev/sda4 28096 28101 48195 83 Linux
/dev/sda5 2551 27791 202748301 7 HPFS/NTFS
/dev/sda6 28102 28587 3903763+ 83 Linux
/dev/sda7 28650 30401 14072908+ 83 Linux

this did not liked parted, which was babbling something about:
(parted) print
Error: Can't have overlapping partitions.

and later when deleting 4..8 partitions

(parted) print
Error: Can't have a partition outside the disk!

I have resolved it without loosing data and wasting 300kb:
   Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 27791 202748301 7 HPFS/NTFS
/dev/sda3 27792 27804 104422+ 83 Linux
/dev/sda4 27805 30401 20860402+ 5 Extended
/dev/sda5 27805 27927 987966 82 Linux swap / Solaris
/dev/sda6 27928 28050 987966 83 Linux
/dev/sda7 28051 28173 987966 83 Linux
/dev/sda8 28174 30401 17896378+ 83 Linux

still parted is somehow wired:
(parted) print
Disk geometry for /dev/sda: 0kB - 250GB
Disk label type: msdos
Number Start End Size Type File system Flags
1 32kB 21GB 21GB primary ntfs boot
2 21GB 229GB 208GB primary ntfs
3 229GB 229GB 107MB primary linux-swap
4 229GB 250GB 21GB extended
5 229GB 230GB 1012MB logical
6 230GB 231GB 1012MB logical
7 231GB 232GB 1012MB logical
8 232GB 250GB 18GB logical

Please note sda3. fdisk shows it is 83 (linux) and parted that it is swap.
Anyway this is my first encounter with parted and I don't like it. Its a pitty that installer relies on parted, I have partitioned the disk prior installing windows and both kubuntu and debian was unable to proceed with installation.

I am suggesting that parted shall be more expressive about the problem and not such picky about partition types. I think that type f is the same as 5.

Revision history for this message
Ryan Kavanagh (ryanakca) wrote :

I can confirm with the 2007-02-22 daily build, 200GB SATA Hard drive, Athlon 64+. I encounter this error on the live cd while running qtparted (from the menu, and threw the partitioning utility in the Ubiquity).
qtparted v0.4.5-cvs
 feisty-desktop-amd64.iso 22-Feb-2007 06:33 703M Desktop CD for 64-bit PC (AMD64) computers (standard download)

ubuntu@ubuntu:~$ sudo fdisk /dev/sda

The number of cylinders for this disk is set to 24321.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Command (m for help): p

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 1 1913 15366141 7 HPFS/NTFS
/dev/sda2 1914 2867 7663005 b W95 FAT32
/dev/sda3 * 2868 2880 104422+ 83 Linux
/dev/sda4 2881 24321 172224832+ 5 Extended
/dev/sda5 2881 2978 787153+ 82 Linux swap / Solaris
/dev/sda6 2979 9058 48837568+ 83 Linux
/dev/sda7 9059 15138 48837568+ 83 Linux
/dev/sda8 15139 24321 73762416 83 Linux

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qtparted (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.