[opensuse-autoinstall] AY changes types of existing partitions :-(
Hi, in SLES 11 I'm using e.g. this profile for partitioning: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <create config:type="boolean">false</create> <filesystem config:type="symbol">vfat</filesystem> <format config:type="boolean">false</format> <fstopt>defaults</fstopt> <mount>/dos</mount> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <mountby config:type="symbol">device</mountby> </partition> The partition existed already and had id=7 (HPFS/NTFS). When installing, AY didn't recreate any partititions, just formatted some as it was told to. But after the installation, the id of /dev/sda1 was "83" instead of "7", preventing Windows XP from booting. Up to SLES 10 SP2, AY never changed my windows partitions with the above config and it should stay like that in SLES 11! There is absolutely no sense in changing the partition type if create and format are both FALSE. Is this a bug or do I need to set a new flag or sth. to prevent this? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thursday 09 April 2009 16:10:50 Frank Steiner wrote:
The partition existed already and had id=7 (HPFS/NTFS). When installing, AY didn't recreate any partititions, just formatted some as it was told to.
But after the installation, the id of /dev/sda1 was "83" instead of "7", preventing Windows XP from booting.
have you tried to use the <partition_id config:type="integer">7</partition_id> element? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote
have you tried to use the <partition_id config:type="integer">7</partition_id> element?
No, because not all our Windows partitions have type 7, so I just left that out and AY so far never touched them. Is it an intended behaviour to change the id for an existing "non-create/non-format" partition if partition_id is not given? I don't see any sense in changing the partition id of an existing partition if AY isn't told to change it or (re)create the partition. So I vote for reverting the behaviour to SLES10 SP2... cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday 14 April 2009 12:55:42 Frank Steiner wrote:
Is it an intended behaviour to change the id for an existing "non-create/non-format" partition if partition_id is not given?
not really intended in a way like "I wanted it so" :) It looks like a sideeffect of some changes in the yast2 partitioning code. Since I never guaranteed how the partition id is handled if not configured in the profile, that's not really a bug but your suggestion to keep the old id makes sense. I have "fixed" that today for 11.2
So I vote for reverting the behaviour to SLES10 SP2...
accepted ;) -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote
So I vote for reverting the behaviour to SLES10 SP2...
accepted ;)
Thanks :-) I will try to get the id into our profiles anyway, just to be sure. Any chance of getting a driverupdate for SLES11 for this fix? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday 14 April 2009 17:38:04 Frank Steiner wrote:
I will try to get the id into our profiles anyway, just to be sure. Any chance of getting a driverupdate for SLES11 for this fix?
maybe yes, but maybe later, when there are more fixes I can bundle. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Frank Steiner wrote
I will try to get the id into our profiles anyway, just to be sure. Any chance of getting a driverupdate for SLES11 for this fix?
Now that I've done that, lilo.conf generation fails. AY now generates a section for the Windows partition, too (which it didn't before), but it is wrong: other = /dev/sda1 ###Don't change this comment - YaST2 identifier: Original name: windows### label = Windows root Thus, lilo fails due to the root line. The profile looks like: <partition> <create config:type="boolean">false</create> <filesystem config:type="symbol">vfat</filesystem> <format config:type="boolean">false</format> <fstopt>defaults</fstopt> <mount>/dos</mount> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <partition_id config:type="integer">7</partition_id> </partition> cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Frank Steiner
-
Uwe Gansert