[opensuse-autoinstall] "Error while configuring partitions. Try again"
Hi folks, Google brought me to you. I see 2 other people have reported this problem but I don't see exactly the variant I have here. I have just downloaded Opensuse 10.2 for x86_64 and after my first installation I clicked the box to have it save the configuration for Autoyast. Then I booted the new system and retrieved the file, and stuck it on my install server, where the contents of the DVD are as well. Note that the only change I made to the file was something I found also with Google about editing the specifics on the ethernet card and changing it to "eth0" from the default which includes the MAC. I made no change to HD configuration. Then to initiate the install I boot the first CD from Opensuse 10.2, and select the "Installation" option. Then in the "append" space below I enter my "install=http://blah/blah autoyast=http://blah/blah" It chugs along fine. If it matters, my network does not have DHCP so it fails the first time, then comes back with a prompt so I can manually enter network info. After entering the info it takes 3 or 4 retries for the network to come up. Then Autoyast seems to chug right along. Until it gets to the disk partition. Below is that section of the XML file. Note I do not see a size of "max" anywhere there. That seemed to be the problem for someone else who reported this. Note the partitioning is precisely what Yast came up with on it's own for the first installation. thanks, -Alan <partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <label>/boot</label> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <size>131571712</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <label>/</label> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <size>4293596160</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <label>/recovery</label> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">3</partition_nr> <partition_type>primary</partition_type> <size>1077511168</size> </partition> <partition> <partition_id config:type="integer">5</partition_id> <partition_nr config:type="integer">4</partition_nr> <size>244496447488</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <label>SWAP-hda5</label> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">5</partition_nr> <size>1077479424</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">6</partition_nr> <size>21476173824</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">7</partition_nr> <size>21476173824</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/home</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">8</partition_nr> <size>200466491392</size> </partition> </partitions> <use>all</use> </drive> </partitioning> -- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tue, Sep 25, 2007 at 11:02:43AM -0400, Alan McKay wrote:
<partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/home</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">8</partition_nr> <size>200466491392</size> </partition>
I notice the sizes in the saved xml file are exact sizes.. are you using exactly the same size disk in the new machine? or a larger one? You might want to go back and edit the sizes to make them more human readable, and replace them with values like 200G. And whichever partition you want to just use all the leftover space, make that size max. Also, is it set to initialize the disk? Here's a sample of a map I use in installs that works great: <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <partitioning config:type="list"> <drive> <device></device> <is_lvm_vg config:type="boolean">false</is_lvm_vg> <is_evms_vg config:type="boolean">false</is_evms_vg> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>500M</size> </partition> <partition> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>10G</size> </partition> <partition> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <mount>/var</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>2.5G</size> </partition> <partition> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <size>max</size> </partition> <partition> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/usr/vice/cache</mount> <partition_id config:type="integer">131</partition_id> <size>10G</size> </partition> </partitions> <use>all</use> </drive> </partitioning> </profile> Note this has a whole profile wrapper because it's assembled by autoyast in the initial stages because we use the rules.xml autoyast feature. Also, I don't specify a device because this profile is used for all our single disk systems, and autoyast auto-detects the disk. I also set the lvm and evms stuff to false because I was getting errors with sles/sled10+ initially if they weren't set to false, and we don't use those features anyway. Also note, this profile is from our new desktop image, which uses most disk for swap, because we don't want users putting data on desktops, it's supposed to be on our filers.. but you still get the idea of sizing and max. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Sorry, please try again. Thank you for taking the Turing test. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
I notice the sizes in the saved xml file are exact sizes.. are you using exactly the same size disk in the new machine? or a larger one?
that's the file that autoyast generated on my first installation, and it does not work when i try to re-install that very same machine. I get this error. The other emails to this list in spring of this year with this problem apparently said something about an off-by-1 error in the code. I'll have a look at your file and see what it's about. I would say the above is a pretty serious bug though if you ask me, so someone might want to look at that sooner or later. cheers, -Alan -- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
OK, it's gotten beyond that point with a new "partition" section, so I should be good to go. Even if this one does not end up booting, I'm to the point where I understand what I'm doing and can make the appropriate adjustments. Thanks. -- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tue, Sep 25, 2007 at 06:05:06PM -0400, Alan McKay wrote:
that's the file that autoyast generated on my first installation, and it does not work when i try to re-install that very same machine. I
Ah.. missed that bit.
I'll have a look at your file and see what it's about. I would say the above is a pretty serious bug though if you ask me, so someone might want to look at that sooner or later.
Agreed. -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com Homer: ...But now I've got to go somewhere and do some serious thinking. [gets into car, drives off] Bart: I'm sure he meant to say, "serious drinking". Lisa: That's what I assumed. ==> Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 26.09.2007 um 00:05 schrieb Alan McKay:
I notice the sizes in the saved xml file are exact sizes.. are you using exactly the same size disk in the new machine? or a larger one?
that's the file that autoyast generated on my first installation, and it does not work when i try to re-install that very same machine. I get this error. The other emails to this list in spring of this year with this problem apparently said something about an off-by-1 error in the code.
I'll have a look at your file and see what it's about. I would say the above is a pretty serious bug though if you ask me, so someone might want to look at that sooner or later.
there is a bugfix in 10.3 [bug] don't try to squeeze every byte out of a partition during cloning (#262535) maybe that fixes your problem already. See also: http://www.suse.de/~ug/autoyast_changes_10_2-10_3.html 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
OK, I'm trying to get my own partitioning scheme going and my first crack at it did not work. Does anyone have any more examples for me to look at? Also confused by the scheme that Autoyast came up with - particular the part where it seems to be definiing 2 x / partitions. See here : What's up with that?
<partitioning config:type="list"> <drive> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <label>/</label> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <size>4293596160</size> </partition>
<partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">7</partition_nr> <size>21476173824</size> </partition>
</partitions> <use>all</use> </drive> </partitioning>
-- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 26.09.2007 um 18:01 schrieb Alan McKay:
Also confused by the scheme that Autoyast came up with - particular the part where it seems to be definiing 2 x / partitions. See here :
What's up with that?
<partitioning config:type="list"> <drive> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <label>/</label> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <size>4293596160</size> </partition>
that partition has a label called "/" but no mountpoint
<partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">7</partition_nr> <size>21476173824</size> </partition>
that partition has the mountpoint "/" but no label label and mountpoint are two different kind of things. 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
On 9/27/07, Uwe Gansert <ug@suse.de> wrote:
that partition has a label called "/" but no mountpoint
that partition has the mountpoint "/" but no label label and mountpoint are two different kind of things.
OK, that was sort of clear to me, but my question is more : why? WHy is SuSe doing it this way? There was a fair bit in that default disk layout that was confusing to me. Is there somewhere you can point me to where I can read up on why this was done this way? thanks, -Alan -- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 27.09.2007 um 18:10 schrieb Alan McKay:
that partition has a label called "/" but no mountpoint
that partition has the mountpoint "/" but no label label and mountpoint are two different kind of things.
OK, that was sort of clear to me, but my question is more : why? WHy is SuSe doing it this way?
autoyast just cloned the partitioning scheme like you created it. And you created partition_nr 2 with a label"/" and partition nr 7 with mountpoint "/". I cant say why you created it that way but autoyast just cloned what you did.
me. Is there somewhere you can point me to where I can read up on why this was done this way?
I dont know what you mean 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
On 9/27/07, Uwe Gansert <ug@suse.de> wrote:
autoyast just cloned the partitioning scheme like you created it. And you created partition_nr 2 with a label"/" and partition nr 7 with mountpoint "/". I cant say why you created it that way but autoyast just cloned what you did.
No. I ran my first installation manually and let SuSe make all the decisions about partitioning the HD. I just accepted the defaults. Then at the end of the installation, it asked me if I wanted to clone this install for Autoyast, and it said "yes". I'm pretty sure I put that info in my first email. So then I booted the newly-installed box and retrieved the autoyast.xml file. That's when the troubles began. It would not even run this on the same PC. But if that odd partitioning scheme also seems odd to you, then I'm guessing that when I just let SuSe do her thing, that she saw the previous Linux installation on there (whatever flavour it was) and did not blow it away. But that's just a guess - I'll have to do some experimenting to get to the bottom of it. -- "Aikido has but one principle - the universal reality of life" - Mitsugi Saotome -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Alan McKay
-
Mike Marion
-
Uwe Gansert