[opensuse-autoinstall] Grub Error 21: Selected disk does not exist
Hello all,
I'm testing a new autoyast.xml for OpenSUSE 11.3 and at the end of
stage1 of the installation I'm getting this error:
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]
grub> setup --stage2=/boot/grub/stage2 --force-lba (hd0) (hd0,4)
Error 21: Selected disk does not exist
grub> quit
This is quite strange, because all partitions were created successfully
without any complains, but grub seems unable to install in der MBR.
I found that in the grub "disk order settings" "/dev/sda" is defined -
this doesn't seem to work anny more in 11.3?
Changing to "/dev/disk/by-id/ata-XXX" by hand solved that, but breaks
the complete auto installation process - is there another solution?
The bootloader part of my autoyast.xml looks like this:
<bootloader>
on Wednesday 18 August 2010 Ivan De Masi wrote:
I found that in the grub "disk order settings" "/dev/sda" is defined - this doesn't seem to work anny more in 11.3? Changing to "/dev/disk/by-id/ata-XXX" by hand solved that, but breaks the complete auto installation process - is there another solution?
if you set <mountby> to "id" in the <partitioning>, the bootloader should configure it to id too. Did you try that? If you hardcode /dev/sda in the <bootloader> section, that won't help of course. -- ciao, Uwe Gansert Uwe Gansert 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
Am 19.08.2010 17:21, schrieb Uwe Gansert:
on Wednesday 18 August 2010 Ivan De Masi wrote:
I found that in the grub "disk order settings" "/dev/sda" is defined - this doesn't seem to work anny more in 11.3? Changing to "/dev/disk/by-id/ata-XXX" by hand solved that, but breaks the complete auto installation process - is there another solution?
if you set<mountby> to "id" in the<partitioning>, the bootloader should configure it to id too. Did you try that? If you hardcode /dev/sda in the<bootloader> section, that won't help of course.
Hello,
yes, <mountby> is set to "id" in the <partitioning>.
In my "autoinst" for OpenSuse 11.2 that worked fine with the following
grub config:
<bootloader>
Am 23.08.2010 16:35, schrieb Ivan De Masi:
Am 19.08.2010 17:21, schrieb Uwe Gansert:
on Wednesday 18 August 2010 Ivan De Masi wrote:
I found that in the grub "disk order settings" "/dev/sda" is defined - this doesn't seem to work anny more in 11.3? Changing to "/dev/disk/by-id/ata-XXX" by hand solved that, but breaks the complete auto installation process - is there another solution?
if you set<mountby> to "id" in the<partitioning>, the bootloader should configure it to id too. Did you try that? If you hardcode /dev/sda in the<bootloader> section, that won't help of course.
Hello,
yes, <mountby> is set to "id" in the <partitioning>.
In my "autoinst" for OpenSuse 11.2 that worked fine with the following grub config:
<bootloader>
<global> <activate>true</activate> <firmware>hd0</firmware> <linux>/dev/sda/</linux> true true true <default>Desktop -- openSUSE 11.2 --</default>true <gfxmenu>/boot/message</gfxmenu>2 <timeout config:type="integer">8</timeout> </global> ...grub <sections config:type="list"> <section> <append>resume=/dev/sda6 splash=silent quiet showopts</append> <image>/boot/vmlinuz-2.6.31.12-0.1-desktop</image> <initial>1</initial> <initrd>/boot/initrd-2.6.31.12-0.1-desktop</initrd>0 <name>Desktop -- openSUSE 11.2 - 2.6.31.12-0.1</name>linux <root>/dev/sda7</root> <type>image</type> <vgamode>0x31a</vgamode> </section> <section> <append>showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe</append> <image>/boot/vmlinuz-2.6.31.12-0.1-desktop</image> <initrd>/boot/initrd-2.6.31.12-0.1-desktop</initrd>1 <name>Failsafe -- openSUSE 11.2 - 2.6.31.12-0.1</name>failsafe <root>/dev/sda7</root> <type>image</type> <vgamode>0x31a</vgamode> </section> </sections> </bootloader>For OpenSuse 11.3 I copied that part (except the <image> and <initrd> part):
<bootloader>
<global> <activate>true</activate> <firmware>hd0</firmware> <linux>/dev/sda/</linux> true true true <default>Desktop -- openSUSE 11.3 -- 2.6.34-12</default>true <gfxmenu>/boot/message</gfxmenu>2 <timeout config:type="integer">8</timeout> </global> ...grub <sections config:type="list"> <section> <append>resume=/dev/sda6 splash=silent quiet crashkernel= showopts</append> <image>/boot/vmlinuz-2.6.34-12-desktop</image> <initial>1</initial> <initrd>/boot/initrd-2.6.34-12-desktop</initrd>0 <name>Desktop -- openSUSE 11.3 --</name>linux <root>/dev/sda7</root> <type>image</type> <vgamode>0x311</vgamode> </section> <section> <append>showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe</append> <image>/boot/vmlinuz-2.6.34-12-desktop</image> <initrd>/boot/initrd-2.6.34-12-desktop</initrd>1 <name>Failsafe -- openSUSE 11.3 --</name>failsafe <root>/dev/sda7</root> <type>image</type> <vgamode>0x311</vgamode> </section> </sections> </bootloader>The <partitioning> in 11.3 look like this:
<partitioning config:type="list"> <drive> <device>/dev/sda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">true</create>
false <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt>false <mount>/boot</mount> <mountby config:type="symbol">id</mountby>131 5 <resize config:type="boolean">false</resize> <size>150M</size> </partition> <partition> <create config:type="boolean">true</create> false <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <fstopt>defaults</fstopt>false <mount>swap</mount> <mountby config:type="symbol">id</mountby>130 6 <resize config:type="boolean">false</resize> <size>auto</size> </partition> <partition> <create config:type="boolean">true</create> false <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt>false <mount>/</mount> <mountby config:type="symbol">id</mountby>131 7 <resize config:type="boolean">false</resize> <size>15GB</size> </partition> <partition> <create config:type="boolean">true</create> false <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format>false <mountby config:type="symbol">device</mountby>131 8 <resize config:type="boolean">false</resize> <size>10GB</size> </partition> <partition> <create config:type="boolean">true</create> false <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt>false <mount>/usr</mount> <mountby config:type="symbol">id</mountby>131 9 <resize config:type="boolean">false</resize> <size>10GB</size> </partition> <partition> <create config:type="boolean">true</create> false <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt>false <mount>/var</mount> <mountby config:type="symbol">id</mountby>131 10 <resize config:type="boolean">false</resize> <size>5GB</size> </partition> </partitions> But it's not working. I'm not sure what else to change :-/
Regards, Ivan
Hello, so I'm still searching for a solution. Not clear why this works with 11.2 and with 11.3 not... No idea? Thanks! Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 07 September 2010 Ivan De Masi wrote:
so I'm still searching for a solution. Not clear why this works with 11.2 and with 11.3 not...
can you send me the /var/log/YaST2 directory in a tgz please? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Lucid Dreams" by Edge Of Dawn -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 07.09.2010 13:54, schrieb Uwe Gansert:
on Tuesday 07 September 2010 Ivan De Masi wrote:
so I'm still searching for a solution. Not clear why this works with 11.2 and with 11.3 not...
can you send me the /var/log/YaST2 directory in a tgz please?
Hi Uwe, I'll do so, thanks for your help! I'll send it directly to you. Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 07 September 2010 Ivan De Masi wrote:
I'll do so, thanks for your help! I'll send it directly to you.
can you try (<general> section!):
<general>
...
<storage>
Am 07.09.2010 17:06, schrieb Uwe Gansert:
on Tuesday 07 September 2010 Ivan De Masi wrote:
I'll do so, thanks for your help! I'll send it directly to you.
can you try (<general> section!):
<general> ... <storage>
align_cylinder </storage> </general>there seems to be something weird with the partitioning. http://www.suse.de/~ug/autoyast_doc/configuration.html#CreateProfile.General
Hi Uwe,
thanks! I tried that - it didn't solve the problem, BUT I found out now
what happend:
My rules.xml pointed to another (incomplete) profile, where this part
Am 19.08.2010 17:21, schrieb Uwe Gansert:
If you hardcode /dev/sda in the<bootloader> section, that won't help of course.
So I checked my original autoinst.xml.
participants (2)
-
Ivan De Masi
-
Uwe Gansert