You are not logged in.
I build OpenVZ kernel for SliTaz.
At begin i have several error, missing driver for disk, ext3 ext4 module concurrence for mount root partition
I resolv errors, but now boot failed with particular error
[c]Filesystem type is ext2fs, partition type 0x83
[Linux-bzImage, setup=0x3200, size=0x4b38e0]
mount: mounting devpts on /dev/pts failed: No such file or directory
mount: mounting tmpfs on /dev/shm failed: No such file or directory
script: ptsname error (is /dev/pts mounted ?): No such file or directory
mv: can't rename '/dev/shm/boot.log': No such file or directory
umount: can't umount /dev/shm: No such file or directory
script: ptsname error (is /dev/pts mounted ?): No such file or directory
mv: can't rename '/boot.log': Read-only file system
script: ptsname error (is /dev/pts mounted ?): No such file or directory
Slitaz GNU/Linux Kernel 2.6.32-openvz tty1
(none) login:[/c]
Offline
EDIT:
I build new kernel with SliTaz kernel
TODO
- Boot SliTaz 4.0 LiveCD with OpenVZ Kernel (for access disk)
- Install slitaz-toolchain and linux-source (2.6.37)
- cd /usr/src/linux
- make localmodconfig (generate config file for specific host machine)
- tune config file for add in hard essentials drivers
- make bzImage
- make modules
- make INSTALL_MOD_PATH=$PWD/_pkg modules_install
- Download SliTaz 4.0 base iso
- Run tazinst for install SliTaz
- Copy bzImage into /mnt/boot/vmlinuz-2.6.37-poweredge
- Copy modules into /mnt/lib/modules/2.6.37-poweredge
- Install Grub2 (because Dell PowerEdge seem use UEFI)
- Reboot
- When boot edit grub entry
- Edit grub.cfg for tweak root (/dev/sdc when boot livecd, normal boot /dev/sda)
Stats of server:
Ram usage: ~23 ~35Mo
Disk space usage: 32.8Mo ^^ (it's ridiculous)
Now i need to investigate /proc/config.gz to translate them in openvz config kernel for build and install successful.
Offline
I discuss in openvz channel for my problem to build kernel and the answer is essentially "You must use our configuration and not changed, if you do, we can not help you"
I decide to use LXC, is a same technologie as OpenVZ but include in upstream to Linux Kernel.
At week, i will provide LXC kernel and lxc tools.
Offline
Hi
promises are made to be kept.
I build kernel with LXC Support
http://people.slitaz.org/~shann/lxc
- linux-lxc-2.6.37.tazpkg (Provide Kernel with LXC Support)
It's same as standard stable kernel, i just add LXC Support
- For lxc tools works, you need to install tar package and util-linux-ng-getopt
=> just install with tazpkg
[c]tazpkg get-install tar && tazpkg get-install util-linux-ng-getopt[/c]
- If you want create Debian Container, you need to install dpkg and debootstrap
=> I generate package for dpkg and debootstrap from debian package.
You need also to configure /etc/fstab for add this line:
[c]none /cgroups cgroups defaults 0 0[/c]
Now you have ready to use LXC.
I will create documentation for install, configure and use LXC.
Offline
Nice touch.
It will be great to have your change for the next release. And also a slitaz-lxc flavor.
For OpenVZ we have some receipts in wok-undigest and packages on mirror (http://mirror.slitaz.org/packages/undigest/)
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]