After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353253 - only one partition (incorrectly) displayed for each disk
only one partition (incorrectly) displayed for each disk
Status: RESOLVED INCOMPLETE
Product: gparted
Classification: Other
Component: application
0.1
Other All
: Normal major
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2006-08-28 15:10 UTC by mayeulk
Modified: 2010-03-21 13:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot from live-cd with same problem, disk hda (141.50 KB, image/jpeg)
2006-08-28 15:13 UTC, mayeulk
Details
screenshot from live-cd with same problem, disk hdb (139.31 KB, image/jpeg)
2006-08-28 15:13 UTC, mayeulk
Details

Description mayeulk 2006-08-28 15:10:36 UTC
Please describe the problem:
When I launch gparted (as root, from Ubuntu dapper), it believes my 2 physical disks have only one patition each (completely filling the disks), wich is not true.
The same happens when I launch gparted (or qtparted, by the way) from the latest live CD.
Another symptom: when I launch gparted from a (root) command line, it starts with this message in the console:
"Currently, only 1 or 2 FATs are supported, not 246."
The same message displays (for the second disk only) on the graphical interface.

However, the command line utilities fdisk and cfdisk display things well [but I think I can't use them for what I want to do: resize partitions].

The following are what cfdisk correctly finds for my 2 disks:
(sorry, it's in French. As you probably guess, Primaire=primary; logique=logical)

                                        cfdisk 2.12r
                                 Unité de disque: /dev/hda
                            Taille: 41110142976 octets,  41.1 Go
                   Têtes: 255   Secteurs par piste: 63  Cylindres: 4998
    Nom           Fanions      Part Type   Type SF             [�iq.]          Taille (Mo)
------------------------------------------------------------------------------------------
    hda1          Amorce        Primaire   FAT16               [NO NAME    ]        57,58
    hda5                        Logique    NTFS                                   8455,59
    hda6                        Logique    NTFS                []                32596,79




                                        cfdisk 2.12r
                                 Unité de disque: /dev/hdb
                            Taille: 81964302336 octets,  81.9 Go
                   Têtes: 255   Secteurs par piste: 63  Cylindres: 9964

    Nom           Fanions      Part Type   Type SF             [�iq.]          Taille (Mo)
------------------------------------------------------------------------------------------
    hdb1          Amorce        Primaire   Linux ext2                               57,58
    hdb5                        Logique    Linux swap / Solaris                    633,35
    hdb6                        Logique    Linux ext3          [/]               10840,92    (this is my root)
    hdb7                        Logique    Linux ext3          [/]                4375,85     (this is part of my user files)
    hdb8                        Logique    NTFS                                   4219,57
    hdb9                        Logique    W95 FAT32                             20982,69
    hdb10                       Logique    NTFS                                   2097,45
    hdb11                       Logique    NTFS                []                38749,30


gparted believes I have only one partition in each disk.
I've been advised here (http://gparted-forum.surf4.info/viewtopic.php?id=66) to use the most recent gparted live-cd, with the same result.

Partition / File system / Size /used:unused
/dev/hda1    fat16      38.29 Go   38.23 Go   54.1 Mo  (for disk1)
/dev/hdb1    fat16      76.34 Go (other information not avalaible; a warning says it is not possible to read the content of the file system)



From the live CD, I have same results:
On gparted, with the /dev/hdb disk (no with /dev/hda), there is a warning sign beside the name of the "fist" partition. Right-click leads to the following information:
"Currently, only 1 or 2 FATS are supported, not 246"


================================================
                                  cfdisk 2.12r

                              Disk Drive: /dev/hda
                        Size: 41110142976 bytes, 41.1 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 4998

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1        Boot        Primary   FAT16          [NO NAME    ]        57,58 
    hda5                    Logical   NTFS                              8455,59
    hda6                    Logical   NTFS             [^C]            32596,79

===================================================

                                  cfdisk 2.12r

                              Disk Drive: /dev/hdb
                        Size: 81964302336 bytes, 81.9 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 9964

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hdb1        Boot        Primary   Linux ext2                          57,58 
    hdb5                    Logical   Linux swap / Solaris               633,35
    hdb6                    Logical   Linux ext3       [/]             10840,92
    hdb7                    Logical   Linux ext3       [/]              4375,85
    hdb8                    Logical   NTFS                              4219,57
    hdb9                    Logical   W95 FAT32                        20982,69
    hdb10                   Logical   NTFS                              2097,45
    hdb11                   Logical   NTFS             [^D]            38749,30

===================================================
root@GParted:~# fdisk /dev/hda

The number of cylinders for this disk is set to 4998.
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)

Command (m for help): p

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           7       56196    6  FAT16
/dev/hda2               8        4998    40090207+   f  W95 Ext'd (LBA)
/dev/hda5               8        1035     8257378+   7  HPFS/NTFS
/dev/hda6            1036        4998    31832766    7  HPFS/NTFS


===================================================
root@GParted:~# fdisk /dev/hdb

The number of cylinders for this disk is set to 9964.
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)

Command (m for help): p

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1           7       56196   83  Linux
/dev/hdb2               8        9964    79979602+   f  W95 Ext'd (LBA)
/dev/hdb5               8          84      618471   82  Linux swap / Solaris
/dev/hdb6              85        1402    10586803+  83  Linux
/dev/hdb7            1403        1934     4273258+  83  Linux
/dev/hdb8            1935        2447     4120641    7  HPFS/NTFS
/dev/hdb9            2448        4998    20490876    b  W95 FAT32
/dev/hdb10           4999        5253     2048256    7  HPFS/NTFS
/dev/hdb11           5254        9964    37841076    7  HPFS/NTFS


===================================================

root@GParted:~# parted /dev/hda
GNU Parted 1.7.1
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                

Disk /dev/hda: 41,1GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End     Size    File system  Flags
 1      0,00kB  41,1GB  41,1GB  fat16             

(parted)                                     
===================================================
root@GParted:~# parted /dev/hdb
GNU Parted 1.7.1
Using /dev/hdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                

Disk /dev/hdb: 82,0GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End     Size    File system  Flags
 1      0,00kB  82,0GB  82,0GB  fat16             

(parted)             
====================================================

(end of info from the live-cd)





Steps to reproduce:
run gparted


Actual results:
Partitions incorrectly displayed.

Expected results:
Partitions correctly displayed.

Does this happen every time?
Yes

Other information:
If I remember it well, I partitioned all of this using the Ubuntu setup CD 
(maybe 1 year and a half ago).
Comment 1 mayeulk 2006-08-28 15:13:19 UTC
Created attachment 71781 [details]
screenshot from live-cd with same problem, disk hda

screenshot would be identical from ubuntu dapper (gparted 0.1)
Comment 2 mayeulk 2006-08-28 15:13:58 UTC
Created attachment 71783 [details]
screenshot from live-cd with same problem, disk hdb

same as for hda
Comment 3 Henrik 2007-04-07 14:22:29 UTC
I am experiencing the same thing.  I have tried with gparted versions 0.3.4-5 (gparted livecd) and 0.2.5-2 (from debian testing).  

See http://gparted-forum.surf4.info/viewtopic.php?id=576 for details.
Comment 4 Henrik 2007-04-11 10:31:24 UTC
Okay, this is actually a libparted issue:

http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/14
Comment 5 Henrik 2007-10-24 09:06:51 UTC
The parted ticket URL has changed to http://parted.alioth.debian.org/cgi-bin/trac.cgi/ticket/50
Comment 6 Curtis Gedak 2010-02-02 18:31:32 UTC
Would you be able to try this problem with the latest version of GParted and a recent version of Parted?

Both of these can be found on the GParted Live 0.5.1-1 CD.
Comment 7 Tobias Mueller 2010-03-21 13:17:53 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!