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> <device_map config:type="list"> <device_map_entry> <firmware>hd0</firmware> <linux>/dev/sda/</linux> </device_map_entry> </device_map> <global> <activate>true</activate> <boot_boot>true</boot_boot> <boot_extended>true</boot_extended> <boot_mbr>true</boot_mbr> <default>Desktop -- openSUSE 11.2 --</default> <generic_mbr>true</generic_mbr> <gfxmenu>/boot/message</gfxmenu> <lines_cache_id>2</lines_cache_id> <timeout config:type="integer">8</timeout> </global> ... <loader_type>grub</loader_type> <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> <lines_cache_id>0</lines_cache_id> <name>Desktop -- openSUSE 11.2 - 2.6.31.12-0.1</name> <original_name>linux</original_name> <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> <lines_cache_id>1</lines_cache_id> <name>Failsafe -- openSUSE 11.2 - 2.6.31.12-0.1</name> <original_name>failsafe</original_name> <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> <device_map config:type="list"> <device_map_entry> <firmware>hd0</firmware> <linux>/dev/sda/</linux> </device_map_entry> </device_map> <global> <activate>true</activate> <boot_boot>true</boot_boot> <boot_extended>true</boot_extended> <boot_mbr>true</boot_mbr> <default>Desktop -- openSUSE 11.3 -- 2.6.34-12</default> <generic_mbr>true</generic_mbr> <gfxmenu>/boot/message</gfxmenu> <lines_cache_id>2</lines_cache_id> <timeout config:type="integer">8</timeout> </global> ... <loader_type>grub</loader_type> <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> <lines_cache_id>0</lines_cache_id> <name>Desktop -- openSUSE 11.3 --</name> <original_name>linux</original_name> <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> <lines_cache_id>1</lines_cache_id> <name>Failsafe -- openSUSE 11.3 --</name> <original_name>failsafe</original_name> <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> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <mountby config:type="symbol">id</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">5</partition_nr> <raid_options/> <resize config:type="boolean">false</resize> <size>150M</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <fstopt>defaults</fstopt> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <mountby config:type="symbol">id</mountby> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">6</partition_nr> <raid_options/> <resize config:type="boolean">false</resize> <size>auto</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <mountby config:type="symbol">id</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">7</partition_nr> <raid_options/> <resize config:type="boolean">false</resize> <size>15GB</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mountby config:type="symbol">device</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">8</partition_nr> <raid_options/> <resize config:type="boolean">false</resize> <size>10GB</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <loop_fs config:type="boolean">false</loop_fs> <mount>/usr</mount> <mountby config:type="symbol">id</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">9</partition_nr> <raid_options/> <resize config:type="boolean">false</resize> <size>10GB</size> </partition> <partition> <create config:type="boolean">true</create> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext4</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <loop_fs config:type="boolean">false</loop_fs> <mount>/var</mount> <mountby config:type="symbol">id</mountby> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">10</partition_nr> <raid_options/> <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