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.
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.