Editing Creating OpenVZ LiveCD

Jump to: navigation, search

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 can missing, because we use other kernel.
+
equivalents from OpenVZ kernel. Note, that some modules are already build in OpenVZ kernel,
Just remove modules, that are missing. After this operation is done copy new minirt.gz to the appropriate place:
+
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
-l -J -r -boot-load-size 4 -boot-info-table KNOPPIX_V5.1.1CD-2007-01-04-EN.iso-content
 
 
</pre>
 
</pre>
  

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)