#129 Issue closed: Problem with more than 9 partitions ?

Labels: bug

jo-github opened issue at 2012-07-25 10:23:

My setup has 10 partitions
ReaR produces a false order in initrd.cgz: part 10 (which is a logical one of course) is placed as second in the list:
todo /dev/sda1 part
todo /dev/sda10 part
todo /dev/sda2 part
todo /dev/sda3 part
todo /dev/sda4 part
todo /dev/sda5 part
todo /dev/sda6 part
todo /dev/sda7 part
todo /dev/sda8 part
todo /dev/sda9 part

While recovering an parted error occurs, because a logical must not follow a primary partition directly.

Consequences:

  • parted wipes the partittion first (which should not be nessessary as geometry didn't change)
  • parted stops with above error
  • luckily one can edit this from the ReaR recovery menu, but it should not happen

BTW: is it possible to correct this in initrd.cgz of the ISO or does this break the ISO?

Joe

jo-github commented at 2012-07-25 10:27:

My ReaR version is

Relax-and-Recover 1.13.0-git201207200104 / 2012-07-20

Previous 1.13 version had the same problem.

Joe

gdha commented at 2012-10-31 15:14:

if you could add a debug output to gist.github.com then that would be very useful for us.

jo-github commented at 2012-10-31 21:26:

What exactly do you need?
This is the relevant part of disklayout.conf in detail:

disklayout.conf^@^@^@disk /dev/sda 320072933376 msdos
part /dev/sda 1258435584 32256 primary none /dev/sda1
part /dev/sda 98636398592 221436182528 logical none /dev/sda10
part /dev/sda 136549584384 1258467840 primary boot /dev/sda2
part /dev/sda 11270094848 137808052224 primary none /dev/sda3
part /dev/sda 1024 149078147072 extended lba /dev/sda4
part /dev/sda 8388608000 149079195648 logical none /dev/sda5
part /dev/sda 524288000 157468852224 logical none /dev/sda6
part /dev/sda 31457280000 157994188800 logical none /dev/sda7
part /dev/sda 524288000 189452517376 logical none /dev/sda8
part /dev/sda 31457280000 189977853952 logical none /dev/sda9

jhoekx commented at 2012-11-01 10:27:

I think we will be able to reproduce this. Never tested with that many partitions.

gdha commented at 2014-04-02 08:29:

@jo-github @jhoekx same issue as #352 . Is fixed to my best knowledge.

jo-github commented at 2014-04-02 18:43:

Am Wednesday 02 April 2014 10:29:16 schrieb gdha:

@jo-github @jhoekx same issue as #352 . Is fixed to my best knowledge.

Thanks a lot!

Joe


[Export of Github issue for rear/rear.]