Editing Creating OpenVZ LiveCD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 257: | Line 257: | ||
</pre> | </pre> | ||
− | Now you have aufs.ko file in current directory. Next we need to add these modules to the disc: | + | Now you have an aufs.ko file in current directory. Next we need to add these modules to the disc: |
<pre> | <pre> | ||
cp aufs.ko cloop.ko cd-contents/KNOPPIX/modules/ | cp aufs.ko cloop.ko cd-contents/KNOPPIX/modules/ | ||
Line 277: | Line 277: | ||
The modules directory on initrd contents kernel modules. Now we should replace these modules by | The modules directory on initrd contents kernel modules. Now we should replace these modules by | ||
− | equivalents from OpenVZ kernel. Note, that some modules | + | equivalents from OpenVZ kernel. Note, that some modules are already build in OpenVZ kernel, |
− | + | so they are missing. After this operation is done copy new minirt.gz to the appropriate place: | |
<pre> | <pre> | ||
umount mnt | umount mnt | ||
Line 323: | Line 323: | ||
chmod -R u+w cd-contents | chmod -R u+w cd-contents | ||
rm cd-contents/boot/isolinux/boot.cat | rm cd-contents/boot/isolinux/boot.cat | ||
− | mkisofs -b boot/isolinux/isolinux.bin -o KNOPPIX_V5.1.1-OPENVZ-CD-2007-01-04-EN.iso -no-emul-boot | + | mkisofs -b boot/isolinux/isolinux.bin -o KNOPPIX_V5.1.1-OPENVZ-CD-2007-01-04-EN.iso -no-emul-boot -l -J -r -boot-load-size 4 -boot-info-table KNOPPIX_V5.1.1CD-2007-01-04-EN.iso-content |
− | |||
</pre> | </pre> | ||