[opensuse-autoinstall] Autoyast : Grub doesn't install
Hello, I Have the same problem as in the RESOLVED bug here : https://bugzilla.novell.com/show_bug.cgi?id=757523 * created a xml file with yast2 * like in the description, autoyast has lost user, root password. * Then image : https://bugzilla.novell.com/attachment.cgi?id=486439&action=edit is the file produced by yast2 corrupted ? Dsant Here is the Yast2 file : <?xml version="1.0"?> <!DOCTYPE profile> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <bootloader> <device_map config:type="list"> <device_map_entry> <firmware>fd0</firmware> <linux>/dev/sdc</linux> </device_map_entry> </device_map> <global> <activate>true</activate> <boot_boot>false</boot_boot> <boot_extended>false</boot_extended> <boot_mbr>true</boot_mbr> <boot_root>false</boot_root> <default>Linux_sda1</default> <gfxmenu>/boot/message</gfxmenu> <timeout config:type="integer">8</timeout> </global> <loader_type>grub</loader_type> <sections config:type="list"> <section> <append>splash=silent quiet showopts</append> <image>/boot/vmlinuz</image> <initrd>/boot/initrd</initrd> <name>Linux_sda1</name> <noverifyroot>false</noverifyroot> <original_name>linux</original_name> <root>(hd0,0)</root> <type>image</type> <vgamode>0x314</vgamode> </section> <section> <append>splash=silent quiet showopts</append> <image>/boot/vmlinuz</image> <initrd>/boot/initrd</initrd> <name>Linux_sda2</name> <noverifyroot>false</noverifyroot> <original_name>linux</original_name> <root>(hd0,1)</root> <type>image</type> <vgamode>0x314</vgamode> </section> <section> <append>showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe</append> <image>/boot/vmlinuz</image> <initrd>/boot/initrd</initrd> <name>Failsafe</name> <original_name>failsafe</original_name> <root></root> <type>image</type> </section> </sections> </bootloader> <deploy_image> <image_installation config:type="boolean">false</image_installation> </deploy_image> <firewall> <enable_firewall config:type="boolean">false</enable_firewall> <start_firewall config:type="boolean">false</start_firewall> </firewall> <groups config:type="list"> <group> <gid>7</gid> <group_password>x</group_password> <groupname>lp</groupname> <userlist>dd</userlist> </group> <group> <gid>305</gid> <group_password>!</group_password> <groupname>vboxusers</groupname> <userlist>dd</userlist> </group> <group> <gid>33</gid> <group_password>x</group_password> <groupname>video</groupname> <userlist>gdm,dd</userlist> </group> <group> <gid>17</gid> <group_password>x</group_password> <groupname>audio</groupname> <userlist>dd,pulse</userlist> </group> </groups> <keyboard> <keymap>french</keymap> </keyboard> <login_settings/> <networking> <dhcp_options> <dhclient_hostname_option>AUTO</dhclient_hostname_option> </dhcp_options> <dns> <dhcp_hostname config:type="boolean">false</dhcp_hostname> <domain>lyon</domain> <hostname>mypc</hostname> <nameservers config:type="list"> <nameserver>192.168.200.1</nameserver> <nameserver>8.8.8.8</nameserver> </nameservers> <resolv_conf_policy>auto</resolv_conf_policy> <searchlist config:type="list"> <search>lyon</search> </searchlist> <write_hostname config:type="boolean">true</write_hostname> </dns> <interfaces config:type="list"> <interface> <bootproto>dhcp</bootproto> <device>eth0</device> <startmode>auto</startmode> <usercontrol>no</usercontrol> </interface> </interfaces> <ipv6 config:type="boolean">true</ipv6> <managed config:type="boolean">false</managed> <routing> <ip_forward config:type="boolean">false</ip_forward> </routing> </networking> <partitioning config:type="list"/> <runlevel> <default>5</default> <services config:type="list"> <service> <service_name>sshd</service_name> <service_start>3 5</service_start> </service> </services> </runlevel> <software> <packages config:type="list"> <package>autoyast2-installation</package> </packages> <patterns config:type="list"> <pattern>base</pattern> </patterns> </software> <sshd> <config> <AllowTcpForwarding config:type="list"> <listentry>yes</listentry> </AllowTcpForwarding> <Compression config:type="list"> <listentry>yes</listentry> </Compression> <MaxAuthTries config:type="list"> <listentry>6</listentry> </MaxAuthTries> <PermitRootLogin config:type="list"> <listentry>no</listentry> </PermitRootLogin> <Port config:type="list"> <listentry>1975</listentry> </Port> <PrintMotd config:type="list"> <listentry>yes</listentry> </PrintMotd> <PubkeyAuthentication config:type="list"> <listentry>yes</listentry> </PubkeyAuthentication> <RSAAuthentication config:type="list"> <listentry>no</listentry> </RSAAuthentication> <X11Forwarding config:type="list"> <listentry>no</listentry> </X11Forwarding> </config> <status config:type="boolean">true</status> </sshd> <timezone> <hwclock>UTC</hwclock> <timezone>Europe/Paris</timezone> </timezone> <user_defaults> <group>25</group> <groups>video</groups> <home>/home</home> <inactive>-1</inactive> <shell>/bin/bash</shell> <skel>/etc/skel</skel> <umask>022</umask> </user_defaults> <users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted> <fullname>dd</fullname> <gid>25</gid> <home>/home/dd</home> <password_settings> <inact>-1</inact> <max>99999</max> <min>0</min> <warn>7</warn> </password_settings> <shell>/bin/bash</shell> <uid>1000</uid> <user_password>$1$kL54rgJ2$3j8iyHtLs8IkFkFVv7VyW0</user_password> <username>dd</username> </user> <user> <encrypted config:type="boolean">true</encrypted> <fullname>root</fullname> <gid>0</gid> <home>/root</home> <password_settings> <inact>-1</inact> <max>-1</max> <min>-1</min> <warn>-1</warn> </password_settings> <shell>/bin/bash</shell> <uid>0</uid> <user_password>$1$C0LfrEWK$LK83dzU/fuoz/5rlEwkWD/</user_password> <username>root</username> </user> </users> </profile> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On Saturday 18 August 2012 16:50:14 Dsant wrote:
* created a xml file with yast2 * like in the description, autoyast has lost user, root password. * Then image : https://bugzilla.novell.com/attachment.cgi?id=486439&action=edit
is the file produced by yast2 corrupted ?
Solved. Error message was : "An error occurred during initrd creation"; And the log file ended with : 2012-08-18 18:44:42 <3> 192.168.200.101(3460) [Interpreter] Initrd.ycp:399 SCR::Write() did not return a boolean 2012-08-18 18:44:42 <1> 192.168.200.101(3460) [ui] YPushButton.cc(setFunctionKey):204 Guessing button role YOKButton for YPushButton "OK" at 0xb4936154 from function key F10 Solution : The same of this bug of 2009 (!) : https://bugzilla.novell.com/show_bug.cgi?id=535101 -> added yast2-bootloader package : works like a charm ! Dsant, from France -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (1)
-
Dsant