Changes

Jump to: navigation, search

OpenSUSE template creation

328 bytes added, 09:48, 12 January 2008
Added instructions about /dev/console
=== Preparing the base system ===
Run <code>yast2</code> on your openSUSE 10.3 installation (this does not have to be your OpenVZ HN, you can prepare cache on one box and put it on your OpenVZ HN). Proceed with <code>Software->Installation into directory</code> option. It is assumed that this directory is current directory in following instructions (unless otherwise stated).
=== Create device nodes ===
I suggest creating all required nodes directly in the <code><DIRINSTALL>/lib/udev/devices/</code>, in that case you don't have to disable udev in startup scripts.
Change directory Execute the following commands to create device files: <code><DIRINSTALLpre>mknod -m 666 lib/udev/devices/full c 1 7mknod -m 600 lib/udev/devices/initctl pmknod -m 666 lib/udev/devices/random c 1 8mknod -m 444 lib/udev/devices/urandom c 1 9</pre> Replace console device with regular file (otherwise <code> and execute the following commondsvzctl stop</code> fails with timeout -- needs more investigation):
<pre>
mknod -m 666 full c 1 7mknod -m 600 initctl pmknod -m 666 random c 1 8mknod -m 444 urandom c 1 9rm lib/udev/devices/console ; touch lib/udev/devices/console
</pre>
== Disable boot.klog ==
For some reason, <code>klogd</code> hangs when tries to retrieve kernel log. You need to disable it. Simply delete <code><DIRINSTALL>/etc/rc.d/boot.d/S08boot.klog</code>
== Create OS template ==
Create OS template cache by invoking the following command (from inside <code><DIRINSTALL></code>):
<code>
tar -czf /vz/template/cache/opensuse-10.3-i386-default.tar.gz ./
7
edits

Navigation menu