Editing Creating OpenVZ LiveCD based on Centos 4.4

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 422: Line 422:
 
than 8 characters) to kernel image, otherwise <tt>isolinux</tt> will not see it.
 
than 8 characters) to kernel image, otherwise <tt>isolinux</tt> will not see it.
 
<pre>
 
<pre>
# cp livecd-root/boot/vmlinuz-2.6.18-ovz028stab035.1-smp ovz-livecd/boot/ovz18
+
# cp root/boot/vmlinuz-2.6.18-ovz028stab035.1-smp ovz-livecd/boot/ovz18
 
</pre>
 
</pre>
 
Modify initrd image. More precisely, we need to add OpenVZ kernel modules there
 
Modify initrd image. More precisely, we need to add OpenVZ kernel modules there
Line 451: Line 451:
 
Copy modules to initrd:
 
Copy modules to initrd:
 
<pre>
 
<pre>
# cp -r ../livecd-root/lib/modules/2.6.18-ovz028stab035.1-smp/ mount/lib/modules/
+
# cp -r ../root/lib/modules/2.6.18-ovz028stab035.1-smp/ mount/lib/modules/
 
# rm -rf mount/lib/modules/2.6.18-ovz028stab035.1-smp/build                # we don't neet it on initrd image
 
# rm -rf mount/lib/modules/2.6.18-ovz028stab035.1-smp/build                # we don't neet it on initrd image
 
</pre>
 
</pre>
Line 494: Line 494:
 
# umount mount/
 
# umount mount/
 
# gzip initrd
 
# gzip initrd
# cp initrd.gz ../ovz-livecd/boot/initrd.gz
+
# /bin/cp initrd.gz ../ovz-livecd/boot/initrd.gz
 
# cd ..
 
# cd ..
 
</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)