1

Topic: GParted on iPod 80GB

Hi,

I'd like to prtition the hard disk of my iPod 5.5G.
It's a 80GB hard disk with a sector size of 2048 byte.

fdisk can print the partition table

Note: sector size is 2048 (not 512)

The number of cylinders for this disk is set to 2432.
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/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           4      128394    0  Empty
/dev/sda2               5        2432    78011640    b  W95 FAT32

while gparted only shows an unallocated space of 18.63 GB.
DiskLabelType: unrecognised
Heads: 255
Sector/Track: 63
Cylinders: 2432
Total Sectors: 39070080.

I'm using Fedora Core 5, kernel 2.6.20.
gparted 0.3.3 and libparted 1.8.2

It seems that gparted thinks the size is 512, (1/4 of the correct one, so the space is 1/4 of about 80GB).

Is there anything that can be done?

Thanks

2

Re: GParted on iPod 80GB

Yes : the only think to do is to wait for libparted 1.8.3 which support 2048 sector size sad
Sorry, but no workaround ATM.
Maybe Plors could have an idea, if comes around, which is not sure...

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3

Re: GParted on iPod 80GB

I've just installed libparted 1.8.3 and this is the output.
I haven't tried with gparted because the compile error.

[root@thinkpad ~]# parted /dev/sda
Warning: Device /dev/sda has a logical sector size of 2048.  Not all parts of GNU Parted support this at the moment, and the working code
is HIGHLY EXPERIMENTAL.

GNU Parted 1.8.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: Unable to open /dev/sda - unrecognised disk label.
(parted)   

Since fdisk is able to read the partition table, I don't think I'm missing something in the kernel.

Any suggestions?

4

Re: GParted on iPod 80GB

audetto wrote:

Any suggestions?

Yeah : file a bug or question to parted-team.
Anyway, I gonna contact them about that point.
Thx for reporting (even if this is not exactly the right place ; anyway, it is *very* important, so feel free to report here again smile)

since it is EXPERIMENTAL, nothing really strange I guess ...

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

5

Re: GParted on iPod 80GB

I've got exactly the same problem Ipod 80 gb an d gparted only shows an unallocated space of 18.63 GB.


Is there a fix for this issue?

6

Re: GParted on iPod 80GB

did anyone reported the bug? I don't want to post a duplicate one, but I didn't found any.

7

Re: GParted on iPod 80GB

beeshop,
A couple of days I pointed out that GParted compiled against parted-1.8.x wasn't able to perform any move, so I reverted back to parted-1.7.1 to compile GParted.
Did you try the last GParted-livecd, that runs parted-1.7.1 ?
(just to know)

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

8

Re: GParted on iPod 80GB

I'll check this, but i think it was the 1.7.1.

Thanks.