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>
<firmware>hd0</firmware>
<linux>/dev/sda/</linux>
<global>
<activate>true</activate>
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>
<firmware>hd0</firmware>
<linux>/dev/sda/</linux>
<global>
<activate>true</activate>
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
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org