[opensuse-autoinstall] Need swap partition for pxe installation because of too less memory
Hello List I try to install OpenSuSe 10.2 via PXE. First I run a Linux unattended image and it boots the OpenSuSe 10.2 kernel and the normal autoyast part starts. It worked perfectly with older SuSe 9.2 and SuSe 9.3 installations but it fails now with OpenSuSe 10.2 because of too less memory for yast. My machines only has 256mb Ram and 8mb of it is shared with AGP. Yast asks for a swap partition. Is there a way to auto create a swap partition during the pxe boot? The boot procedure looks like: dns: mirror.intern setfont linuxrc-16.psfu Setting up lolcahost ... done Going for automatic install Loading image "mirror/opensuse/distribution/10.2/repo/oss/boot/i386/root" ... Cramfs: "root 70540" Image Size: 70540kB mount download image0: we need a loop device mount: using /dev/loop0 Loading image "mirror/opensuse/distribution/10.2/repo/oss/diverupdate" ... /dowload/imag1 removed That's it. Then I got an error about to less memory, please define a swap partition. My autoyast looks like: <?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"> <bootloader> <activate config:type="boolean">false</activate> <device_map config:type="list"> <device_map_entry> <firmware>hd0</firmware> <linux>/dev/hda</linux> </device_map_entry> </device_map> <global> <boot_mbr>true</boot_mbr> <lines_cache_id>0</lines_cache_id> </global> <initrd_modules config:type="list"> <initrd_module> <module>piix</module> </initrd_module> <initrd_module> <module>processor</module> </initrd_module> <initrd_module> <module>thermal</module> </initrd_module> <initrd_module> <module>fan</module> </initrd_module> <initrd_module> <module>jbd</module> </initrd_module> <initrd_module> <module>ext3</module> </initrd_module> <initrd_module> <module>edd</module> </initrd_module> </initrd_modules> <loader_device>/dev/hda</loader_device> <loader_type>grub</loader_type> <location>mbr</location> <repl_mbr config:type="boolean">false</repl_mbr> <sections config:type="list"> <section> <append>acpi=off resume=/dev/hda5 splash=silent showopts</append> <initial>1</initial> <initrd>/boot/initrd</initrd> <kernel>/boot/vmlinuz</kernel> <lines_cache_id>1</lines_cache_id> <name>openSUSE 10.2</name> <original_name>linux</original_name> <root>/dev/hda6</root> <type>image</type> <vga>0x31a</vga> </section> <section> <chainloader>/dev/hda1</chainloader> <lines_cache_id>2</lines_cache_id> <name>Windows</name> <original_name>windows</original_name> <root></root><sectors>1</sectors> <type>chainloader</type> </section> <section> <append>showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3</append> <initrd>/boot/initrd</initrd> <kernel>/boot/vmlinuz</kernel> <lines_cache_id>3</lines_cache_id> <name>Failsafe -- openSUSE 10.2</name> <original_name>failsafe</original_name> <root>/dev/hda6</root> <type>image</type> <vga>normal</vga> </section> </sections> </bootloader> <firewall> <FW_DEV_DMZ></FW_DEV_DMZ> <FW_DEV_EXT></FW_DEV_EXT> <FW_DEV_INT></FW_DEV_INT> <enable_firewall config:type="boolean">false</enable_firewall> <start_firewall config:type="boolean">false</start_firewall> </firewall> <general> <mode> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling/> </general> <keyboard> <keyboard_values> <capslock config:type="boolean">false</capslock> <delay></delay> <discaps config:type="boolean">false</discaps> <numlock></numlock> <rate></rate> <scrlock config:type="boolean">false</scrlock> <tty>tty1 tty2 tty3 tty4 tty5 tty6 tty8 tty9 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty20</tty> </keyboard_values> <keymap>german-ch</keymap> </keyboard> <networking> <dhcp_options> <dhclient_additional_options></dhclient_additional_options> <dhclient_client_id></dhclient_client_id> <dhclient_hostname_option>AUTO</dhclient_hostname_option> </dhcp_options> <dns> <dhcp_hostname config:type="boolean">false</dhcp_hostname> <dhcp_resolv config:type="boolean">true</dhcp_resolv> </dns> <interfaces config:type="list"> <interface> <bootproto>dhcp</bootproto> <device>eth0</device> <ifplugd_priority>20</ifplugd_priority> <startmode>ifplugd</startmode> <usercontrol>no</usercontrol> </interface> </interfaces> <managed config:type="boolean">false</managed> <modules config:type="list"> <module_entry> <device>static-0</device> <module></module> <options></options> </module_entry> </modules> <routing> <ip_forward config:type="boolean">false</ip_forward> </routing> </networking> <partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">5</partition_nr> <size>781369344</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">6</partition_nr> <size>18202512384</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">7</partition_nr> <size>27225644032</size> </partition> </partitions> <use>2,5,6,7</use> </drive> </partitioning><report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report> etc.... Thanks Thomas -- * Thomas Vogt System Engineer - SolNet ISP (AS 9044) * * phone: +41 32 686 82 22 / PGPKEY-3239B720 *
participants (1)
-
Thomas Vogt