Showing posts with label step by step. Show all posts
Showing posts with label step by step. Show all posts

Saturday, March 7, 2009

How to install Ubuntu Netbook Remix (UNR v1.0.1) in VirtualBox

Read This First

Read through this entire post before attempting to use it as reference for your trial as I went through many steps that can be avoided as they do not work. Some things included in this guide:
  • Download the Ubuntu Netbook Remix .iso
  • Create a VirtualBox Guest Install for UNR deployment
  • Boot said VirtualBox machine from the mounted UNR v1.0.1 image and complete the automated installation process (which fails on reboot)
  • Install Ubuntu Hardy Herring 8.10 on modified Virtual machine
  • Add UNR packages to Hardy Herring Install and troubleshoot process

This is as much a tale of my attempt to install Ubuntu Netbook Remix on my Windows XP Hosted VirtualBox installation as much as a guide one how to do it. Note that, once installed, UNR doesn't run well in VirtualBox as suggested in some of the documentation. The cause, as far as I can tell, is caused by how VirtualBox handles OpenGL. This should only be used to test the software at this point, and not implemented as a usable interface.

About Ubuntu Netbook Remix

Ubuntu Netbook Remix is an Ubuntu variant/adaptation designed to work effectively and efficiently with netbook computers. Detailed information and standard installation instructions are available here:
https://wiki.ubuntu.com/UNR

Assumptions/Prerequisites:

VirtualBox is installed <-- tested with 2.1.4 on a Windows XP host
updates
Ubuntu 8.10 is installed in as a guest machine in VirtualBox

Step by Step recount of my attempts, failures, and results


  1. Download image (to mount or burn) from here:
    http://oem-images.canonical.com/unr/unr-1.0.1.iso
  2. Create a new Virtual Machine in Virtual Box (Linux OS, Ubuntu Type). The usual settings should be fine...I used the following settings:
    • 512 mb ram
    • 128mb video memory with hardware acceleration
    • Dynamic sized hard disk
  3. Mount the .iso (or boot from CD if you burned it) and start the Virtual Machine.

    The installation seems to be pretty much automated. There were no options to repartition the drive or preserve any existing data
  4. This step took a little longer than i expected...it was the same splash screen as is usually displayed when ubuntu is loaded, so i may have just expected it to go faster.
  5. After the first restart of the installation process, I encountered an error message:
    FATAL:  No bootable medium found!  System halted

    The following are steps I took to troubleshoot the installation:
    1. restart
    2. check VirtualBox settings, decrease video memory to 32mb with no hardware access
    3. read some information about UNR and VirtualBox from the following:
      https://wiki.ubuntu.com/MeetingLogs/openweekintrepid/NetbookRemix

    None of my troubleshooting procedures corrected the problem, but based on the reading, I decided to try installing 8.10 or 8.04 and using the instructions from
    https://wiki.ubuntu.com/UNR
    to try to install ubuntu 8.xx and perform the necessary alterations to that install so that the final result is basically the UNR release

Second Attempt -- by altering a Ubuntu 8.10 (Hardy Herring) Installation

  1. I began by attempting to install a copy of 8.10 (beta) i had laying around but it was 64 bit edition...and that doesn't work for my VirtualBox/XP host. I then began downloading the x86, non beta, version. For the record, a torrent search lists quite a few heavily seeded torrents which should get you the image faster than you can get it elsewhere. I think it took me 10 mins.
  2. I then mounted it and began installation on the previous machine.
    note: I left the standard 2GB hd size...I was warned that this may not be large enough, but though I'd give Ubuntu a chance to impress me with it's error handling capabilities. After all...it was just a warning, right?
  3. I then encountered an error -- failure to install due to insufficient hard drive space -- they warned me. Ubuntu did fail gracefully into the live session screen, only wasting about 5 minutes of my time.


  4. I shut down and modified the hard disk to start with 4 GB of space and expand if necessary -- had to delete the existing HD and create a new one. I still made it dynamic, bu started it with 8GB to be safe.
  5. Next, I installed Ubuntu easily using default options -- once installed, I agreed to recommended updates (250 mb worth). Some screenshots of the install follow for you screenshot lovers.


  6. After the installation had completed, I did the system updates (System >> Administration >> Update Manager) and installed guest additions...explained in a previous tutorial, here:
    http://chapmanit.blogspot.com/2009/02/how-to-access-shared-files-from-ubuntu.html

  7. Modifying the Ubuntu Hardy Herring (8.10) Installation by adding the Ubuntu Netbook Remix Packages

    note: For the next few lines, instructions came directly from the following web page:
    https://wiki.ubuntu.com/UNR#line-108
  8. As the instructions indicated, I did the following:
    go to system >> administration >> software sources
    • ensure under the Ubuntu tab that Community Maintained... box is checked
    • go to the third party tab and click add and enter the following:
      deb http://ppa.launchpad.net/netbook-remix-team/ubuntu intrepid main
    • click 'add source' and then 'close'
  9. ERROR: I got an error stating no public key was available to validate a signature here.

    After a google search for the error statement, a forum provided the following command line fix with some explanation that was a little beyond me, but here's how to avoid it:
    in a terminal, type the following >>
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3F2A5EE4B796B6FE
  10. To resume, open a terminal and type the following:
    sudo apt-get update && sudo apt-get install go-home-applet human-netbook-theme maximus netbook-launcher window-picker-applet and hit enter
  11. (This section wasn't necessary for me, as maximus and netbook-launcher were already check to run when I went to the Gnome Session Manager) The remaining instructions say to chck the gnome-session-manager and to add maximus and the netbook-launcher, which aren't supposed to auto-start. Install them / set them to auto-start. Restart!

  12. It started up correctly...and operated as it was supposed to (forgiving the ridiculously slow performance). There are further instrctions (brief) saying to...
    setup the gnome-panel to mimic the standard UNR set-up. The applet order is as follows:
    go-home-applet | window-picker-applet | notifcation-area-applet | mixer-applet | clock

    ...but i'm not sure how necessary this is.

    Here's Ubuntu 8.10 -- Hardy Herring -- with the UNR packages added, running successfully.

Conclusion


If I would have listened to the recommendations my sources gave and installed onto an existing Intrepid (8.10) install, the whole process would have been easier and much faster. Still, it wasn't hard. That said, even with hardware acceleration enabled (or disabled), it runs unacceptably slow on my system. I saw warnings about Intrepid and about VirtualBox, but my guess is this has more to do with VirtualBox and its ability to render OpenGL graphics. It is running and looks nice...I look forward to trying this on a real laptop!

Sunday, February 1, 2009

How to perform an effective Internet search

Skill-Level: Beginner/Intermediate

Overview: (if you don't have much time, read this)

Search Tips:
Be informed: Research (briefly) your search topic before you start to develop key words and a basic understanding.

Use quotation marks:
"cheese and grits" will return different results than cheese and grits. Most search engines throw out common words like the, and, if, in, us, etc.

Add key-words for ambiguous searches:
Search for "best buy" store instead of best buy. Store helps a search engine know what type of results you are looking for.

Detail: (more explanation and reasoning here)

I can't really profess to be an expert on how to locate things on the internet, but I've been doing it for a while and feel I am generally successful. While at the University of North Carolina at Asheville (UNCA), I was given a seminar on effective search techniques. The following are mostly things I've learned on my own added to some other things I've been taught in the past.

The most important thing is to know what you are looking for, and it helps to be somewhat informed before you start. Some things are easy to search for. For instance, molecular biology...is pretty straight forward. Go to Google and type in molecular biology and the results should pretty relevant. Searching gets a little more complex when you want to find something that has multiple associations. For instance...I like the band Discover America. One thing that helps with searches is using quotation marks around a set of terms to specify that you want to find those terms located by one another. "Discover America" will return more relevant results than Discover America. With bands, often having names consisting of generally used words in various combinations (Any the band [the killers], common word named band [Narcissus], etc.), adding the term band to the search will often help a search engine specify that you are looking for a band. Seems obvious, but more obscure bands will benefit from such practical searching.

In turn, anything with a more distinct name such as brand names with irregular spelling (The Beatles, Google) or non-common words (Lenovo, iPod) is less difficult to locate on the internet and requres less specification. I once designed a website for the domain PostNBeam.com. After a basic submission to Yahoo and Google, it showed up as number 1 in the search results when PostNBeam was searched for...but much lower on the list (under some large Post And Beam companies) when Post and Beam was searched for. To find it using more standard terms, something like Post and Beam Asheville or Post and Beam "Golden Valley" had to be used. Locations help for local businesses.

The last bit of advice is a little more subjective, hence more difficult to describe. Sometimes I search for free software to find more quality programs to the list of free software shown on this website. Free Software, in general, translates to "free for personal, non commercial, use." This is fine for most people and great for this bit of search advice. Another term is often associated, but not exactly synonymous with, free software...this is open source. In short, open source software is software which offers its 'source code,' something which is guarded carefully by many software providers (*cough* microsoft, apple). This is convenient because, given you know the language the software is coded in, you can download the source code and modify the software to better suite your (and potentially other people's) needs. That said, I often search for something like free open source antivirus or something like that. While open source doesn't necessarily mean free, the vast majority of open source software is free.

I know the last paragraph was supposed to be the "last" part, but I decided to include a little something else. This was hinted at in previous paragraphs, but not explicitly stated. I can't get enough information, usually. I'll often do a skimming of an encyclopedia article (or something general like that) before doing any further research. This helps me identify relevant vocabulary and make note of any keywords I may need to use when searching if standard means fail(provide excessive or non relevant results).

Thanks for reading. I hope this was beneficial to anyone who took the time to read it.