Çarşamba, Ekim 17, 2007

Ubuntu 7.04 server edition under virtualBox

Playing around with a few virtual machines, I came across a rather unpleasant situation where the ubuntu 7.04 server installation wouldn't boot when run under virtual box. The installation runs smoothly but after the first reboot you get an error saying something like:

int 14 000F 000C 000A ...

and some other crap. The host machine also runs ubuntu 7.04 but the desktop edition.
The reasons is said to be that virtual box doesn't support the PAE kernel, yet.
However the work around is to install the generic kernel, which solves the problem.
The steps involved are as follows:
  • Run the install normally
  • After the installation completes, don't unmount the image, but boot again
  • Select system rescue from the menu
  • Proceed with the rescue steps, but select shell in the installation environment when the menu appears.
  • Type the following commands:


chroot /target /bin/bash
mount /dev/hdc /media/cdrom
aptitude install linux-generic
exit
shutdown -h now

Now unmount the image file, hit ESC at the GRUB menu and boot from the generic kernel. Wham problem solved.

0 yorum: