UNIX BLOG
Blog for NIX system based administrators
Convert openvz to xen VPS centos or debian
mv /etc/init.removed /etc/init/
chroot /mnt
apt-get install mingetty
yum install mingetty
# hvc0 – mingetty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/mingetty hvc0
nano etc/init/hvc0.conf
nano /etc/fstab
proc /proc proc defaults 0 0
none /dev/pts devpts rw 0 0
/dev/xvda1 none swap sw 0 0
/dev/xvda2 / ext4 noatime,nodiratime,errors=remount-ro 0
cp -dpR 3.2.0-0.bpo.3-amd64 /mnt/lib/modules/
Leave a Reply