Install minimal ubuntu 11.10 in the Virtualbox

I wanted to try pure command line linux, so I downloaded the “minimal ubuntu 11.10”, the mini.iso is only 23MB, so you need to download other packages over the internet. It was very slow, I used nearly 2 hours to finnished the installation.

But ironically I can not get into the system, see only black screen. Someone said it’s a known bug, it tried to start into tty7, but couldn’t find the desktop. Since the “Ctrl+Alt+F1” under virtualbox does not work, so you need to:

  1. press alt+F1 to get into the tty1
  2. remove the dgm service using “$sudo update-rc.d -f gdm remove”
  3. edit the rc.local file using “$sudo vi /etc/rc.local” and put the “chvt 1” above the “exit 0”. save and exit the file using “:x”
  4. reboot and you can get into the tty1 directly.
  5. If you want to make your prompt colorful, you can simply edit the .bashrc using “$vi ~/.bashrc”, find the line “#force_color_prompt=yes” remove the “#” and save and exit the file using “:x”