Wednesday, November 4, 2009

Installing Ubuntu 9.04 NBR in VirtualBox 3.0

In preparation for setting up our soon-to-arrive (hopefully) new nettop as a home theater PC, I'm experimenting with different media center programs and Linux/Ubuntu variations. I think I've settled on using Ubuntu Netbook Remix (NBR) as the base OS. The large-icon interface seems like it would work well on a TV when viewed from a distance. On top of this I'll install XBMC (or maybe Boxee) and the Linux version of the Hulu Desktop. I started with installing the fresh-out-of-the-oven Ubuntu 9.10 NBR, but found out that XBMC doesn't currently support Karmic (they will when they release their next full version). So for now I'm stuck with Jaunty if I want XBMC.

The first challenge was finding the 9.04 downloads, since 9.10 just came out. I eventually googled my way to this page which contains (at the bottom) links to all variety of 9.04 versions. I grabbed the torrent file for the 9.04 Netbook Remix and queued it up in Transmission, Ubuntu's default BitTorrent client.

The next challenge was being able to mount the downloaded .img file. Why oh why didn't Canonical release an .iso? I first tried converting the .img to a .iso using the ccd2iso console command (didn't work). Then I found this blog post, which explains how to convert a .img to a VirtualBox hard drive file (.vdi) and mount the file as a second hard drive in VirtualBox. The console command to convert is:
VBoxManage convertfromraw -format VDI [filename].img [filename].vdi


This worked like a charm. I've now got a Jaunty NBR install in VirtualBox. Next step is to install XBMC and Hulu Desktop to see how they play together.

No comments:

Post a Comment