Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Creating OpenVZ LiveCD based on Centos 4.4

731 bytes added, 13:54, 29 June 2007
compressing part is added
</pre>
'''Booted''' LiveCD filesystem is ready, congratulations!
 
=== Compressing '''booted''' LiveCD filesystem ===
Since <tt>mksquashfs</tt> tool is already installed we can simply use it to create
<tt>*.mo</tt> files:
<pre>
# rm -f ovz-livecd/base/*.mo
# mksquashfs root/lib/ ovz-livecd/base/bin.mo -keep-as-directory
# mksquashfs root/etc/ ovz-livecd/base/etc.mo -keep-as-directory
# mksquashfs root/lib/ ovz-livecd/base/lib.mo -keep-as-directory
# mksquashfs root/root/ ovz-livecd/base/root.mo -keep-as-directory
# mksquashfs root/sbin/ ovz-livecd/base/sbin.mo -keep-as-directory
# mksquashfs root/usr/ ovz-livecd/base/usr.mo -keep-as-directory # it can take long...
# mksquashfs root/var/ ovz-livecd/base/var.mo -keep-as-directory
</pre>
 
=== Vmlinux, initrd and isolinux.cfg ===
 
== External Links ==
172
edits