Categories

How to create Ubuntu 11.04 Natty Narwhal LXC template

First create a network configuration file:

lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0

…and run lxc-create:

root@servukas:~# lxc-create -n natty-lxc-template -t natty -f /tmp/natty-template-network.conf debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/natty/rootfs-amd64 … Downloading ubuntu natty minimal … … Copy /var/cache/lxc/natty/rootfs-amd64 to /var/lib/lxc/natty-lxc-template/rootfs … Copying rootfs to /var/lib/lxc/natty-lxc-template/rootfs …Please change root-password ! . . . → Read More: How to create Ubuntu 11.04 Natty Narwhal LXC template

How to install Windows 3.11 to VirtualBox on Ubuntu

Why? Because it is funny :) . . . → Read More: How to install Windows 3.11 to VirtualBox on Ubuntu

How to make MS-DOS 6.22 to stop consuming 100% CPU in VirtualBox on Ubuntu

So you have a MS-DOS installed to a virtual machine on your super new multicore computer and it consumes 100% of your CPU (well… 100% of one core actually…)? . . . → Read More: How to make MS-DOS 6.22 to stop consuming 100% CPU in VirtualBox on Ubuntu

How to install MS-DOS 6.22 to VirtualBox on Ubuntu

Why? Because it is funny :) . . . → Read More: How to install MS-DOS 6.22 to VirtualBox on Ubuntu

“mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

Today I wanted to update my virtual LXC Ubuntu and I got an error: mknod: `/lib/udev/devices/ppp’: Operation not permitted . . . → Read More: “mknod: `/lib/udev/devices/ppp’: Operation not permitted” when updating Ubuntu 10.04 on virtual LXC machine

How to solve Redmine error “Permission denied – /etc/redmine/default/session.yml” on Ubuntu 10.04

After installing Redmine on Ubuntu 10.04 Lucid Lynx from repositories (apt-get install redmine redmine-mysql) I got an error: Permission denied – /etc/redmine/default/session.yml . . . → Read More: How to solve Redmine error “Permission denied – /etc/redmine/default/session.yml” on Ubuntu 10.04

Workaround “/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)” on diskless Ubuntu

When trying to “aptitude upgrade” a diskless Ubuntu 10.04 machine I gen an arror:

update-initramfs: Generating /boot/initrd.img-2.6.32-23-generic Running postinst hook script /usr/sbin/update-grub. /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). User postinst hook script [/usr/sbin/update-grub] exited with value 1 dpkg: error processing linux-image-2.6.32-23-generic (–configure): subprocess installed post-installation script returned error exit . . . → Read More: Workaround “/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)” on diskless Ubuntu

KVM failed to start with error: internal error unable to start guest: chardev: opening backend “pty” failed

This is just a quick workaround.

After restarting my Ubuntu 10.04 server KVM virtual machines didn’t start. Tried manually:

virsh # start saturn error: Failed to start domain saturn error: internal error unable to start guest: chardev: opening backend “pty” failed

I needed a fast solution. Very fast googling and this gave me a . . . → Read More: KVM failed to start with error: internal error unable to start guest: chardev: opening backend “pty” failed

How to Install Oracle SQL Developer on Ubuntu 10.04 Lucid Lynx

Download newest version of Oracle SQL Developer for other platforms (a zip file). Install sun-java6-jre, debhelper and sqldeveloper-package packages. Fix a “dos2unix: not found” problem.

Make a deb package from previously downloaded zip file.

emanuelis@ramune:~/tmp$ make-sqldeveloper-package sqldeveloper-2.1.1.64.45-no-jre.zip make-sqldeveloper-package: Building sqldeveloper package in “/home/emanuelis/tmp”.

Install this deb package as usual.

emanuelis@ramune:~/tmp$ sudo dpkg -i sqldeveloper_2.1.1.64.45+0.2.3-1_all.deb . . . → Read More: How to Install Oracle SQL Developer on Ubuntu 10.04 Lucid Lynx

How to fix “dos2unix: not found” on Ubuntu 10.04 Lucid Lynx with tofrodos

Just create two symlinks… . . . → Read More: How to fix “dos2unix: not found” on Ubuntu 10.04 Lucid Lynx with tofrodos