Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating OpenVZ LiveCD based on Centos 4.4

748 bytes added, 10:41, 3 July 2007
Vmlinux, initrd and isolinux.cfg: tmpfs on /vz/private added
modprobe_module isofs
echolog "starting squashfs support"
</pre>
As mentioned earlier we want to mount <tt>tmpfs</tt> on /vz/private automatically. Just apply this patch to
<tt>liblinuxlive</tt> file:
<pre>
--- liblinuxlive.orig-fstab 2007-07-02 17:50:34.000000000 +0400
+++ mount/liblinuxlive 2007-07-03 12:33:30.000000000 +0400
@@ -414,6 +414,7 @@ activate_fstab()
echo "tmpfs / tmpfs defaults 0 0" >$FSTAB
echo "devpts /dev/pts devpts gid=5,mode=620 0 0" >>$FSTAB
echo "proc /proc proc defaults 0 0" >>$FSTAB
+ echo "tmpfs /vz/private tmpfs defaults 0 0" >>$FSTAB
 
# now done by fstab-sync
# list_cdrom_devices | while read DEVICE; do
</pre>
Finishing actions with initrd:
172
edits