This is Sam-M’s submission for the HP Magic Giveaway. Feel free to leave comments for this article as you see fit – your feedback is certainly welcomed! If you’d like to submit your own how-to, what-is, or top-five list, you can send it to me. Views and opinions of this writer are not necessarily my own:
This is a ‘How-To’ for all you curious minds out there who like the idea of Linux and would like to have it either as a primary or even a secondary operating system, but are having trouble installing or need help with Ubuntu Linux. This article is focused mainly on Dell Vostro or Inspiron series notebooks since I explain how to fix the wireless problem that Dell initially has with Linux, but it can also be used for non-Dell users.
So, lets get started!
I will be teaching you how to install Ubuntu Hardy Heron 8.04LTS operating system, the wireless driver for Dell Vostro and Inspiron series notebooks, as well as the Compiz Fusion EyeCandy; the basics to get your Linux up and running with a working wireless connection as well as some cool desktop effects to go along with the whole Linux experience.
NOTE: Installation of Ubuntu 8.04 is actually pretty much the same as the installation of any other previous version of Ubuntu or Kubuntu.
Ubuntu requires a little bit of work to be done before it installs properly on your computer.
Follow this guide, and you will be enjoying the Linux experience in no time!
Step 1: Where to get Ubuntu
Ubuntu is a free / open source operating system. It can be downloaded for free, shipped to you for free on a CD, or you can also get newer versions of Ubuntu Linux all from the Ubuntu website.
Step 2: Installing Ubuntu (CD)
Important: If you choose to download Ubuntu, you are still required to go through this process. Follow the instructions that are available on Ubuntu’s website on how to get the downloaded file on to a CD. Once you have burned the CD, follow the steps below:
1. Preparing your computer through BIOS
This is a very essential step. This step prepares your computer to recognize the Ubuntu Live CD and uses the CD to boot first regardless of what operating system you have on your hard-drive.
- Place the CD in your DVD drive and reboot the computer.
- When you see the initial boot-screen with the Dell logo in the middle, press “F2.” This loads your BIOS where you are required to make a few changes.
- Now press the Right Arrow key repeatedly until the “Boot” tab is selected. Once in the Boot tab, press the Down Arrow key repeatedly until your DVD drive is selected. Now press the “+” or the “-” key on your keyboard to change the priority for the DVD drive (use “Shift” key for “+”). Pressing “+” raises the selection, which is in this case the DVD drive, and “-” lowers the selection’s priority in the boot order.
- Once you are done with that process, press “F10” and then select “Exit Saving Changes”
- The computer will now reboot and will use the DVD drive first.
Your computer is now set-up to load Ubuntu using the CD as its first priority.
2. Loading Ubuntu (CD)
Once your computer has rebooted, the Ubuntu Boot Options screen will first appear.
- Press “Enter” to select “Start or install Ubuntu”
- Ubuntu will now start to boot up, this may take some time.
3. Installing Ubuntu (CD)
Now that Ubuntu has booted, you will see the general layout of the Ubuntu Desktop. You will see a few icons, one being “Install” and the other being “Examples.” If you see any other icons on your desktop, they are most likely to be any external devices that you have connected to your computer such as a USB Flash drive, or an external hard-drive. Ubuntu is now running through the Live CD, you can play around with the system and get a hang of it and see if you like it. The system at this point in time will run relatively slowly as it is running off the Live CD. Lets go on and install the operating system on your hard-drive.
- Click on the “Install” icon and follow the on-screen instructions.
- You will be asked to enter your time zone, keyboard layout, login name, and then finally, you will be asked to enter the location on your computer where you would like to install Ubuntu. Your options are according to the hard-drive you choose; Master: Erase the entire disk (and install Ubuntu on a clean hard-drive), Manually edit the partition table (and create as many partitions as you like and the size of each partitions. This option also allows you to have another OS running besides Ubuntu itself.) Your last option is a Slave or an external hard-drive, if you have one connected.
- For the Manually edit option, you must enter one partition named “/” as mount point and the file system as ‘ext3’s and another partition called ‘swap’ and that must be of at least 200MB in size.
- Follow any other on-screen instructions, and Ubuntu will start to install. This will take some time, anywhere from 30 minutes to 1 hour.
- Once Ubuntu is installed, it will ask you whether to restart your computer and run Ubuntu off the hard-drive or to continue using the Live CD.
You now have Ubuntu successfully installed on your system.
Step 3: Enabling all software-sources (a very important step)
It is very important for you to enable software-sources, as it allows Linux to download any necessary files and packages off Ubuntu’s website and other related websites. Following this step will be great help when installing the wireless driver as well as Compiz-Fusion EyeCandy later on in the tutorial.
- Go to:
- “System” tab
- “Administration” tab
- Software Sources
- Under the “Ubuntu Software” tab, check-mark the following:
- Canonical-supported Open Source software (main)
- Community-maintained Open Source software (universe)
- Proprietary drivers for devices (restricted)
- Software restricted by copyright or legal issues (multiverse)
- Next, go to the “Updates” tab, and check-mark the following:
- Important security updates (hardy-security)
- Recommended updates (hardy-updates)
- Pre-released updates (hardy-proposed)
- Unsupported updates (Hardy-backports)
Step 4: Installing Wireless driver using ndiswrapper (for Dell users only)
(Please follow instructions properly and carefully)
- First, with your Ubuntu desktop fully loaded, go to:
- “Applications” tab
- “Accessories” tab
- (NOTE: This setup works best on a fresh install of Ubuntu, and therefore it is necessary to uninstall all previous versions of ndiswrapper before we continue) The following code should be entered one at a time into ‘Terminal’:
- sudo rmmod ndiswrapper
- sudo ndiswrapper -e bcmwl5
- sudo apt-get remove ndiswrapper-utils
- Now we get the needed packages for the installation, go to www.dell.com and download the appropriate driver for your wireless lan card according to your notebook model number. For those with Dell Inspiron 1501 series and Vostro 1000 series, the driver can be found here: http://ftp.us.dell.com/network/R151519.EXE
- sudo apt-get update
- sudo apt-get install build-essential
- sudo apt-get install linux-headers-`uname -r`
- Next, we need to download the ndiswrapper program and that can be found here: http://internap.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.49.tar.gz
- Next, we uncompress/unzip the ndiswrapper-1.49 file (In terminal, type the location where you have downloaded the files. In this example we’ll download the files to the desktop, so the location will be, home>user-name>Desktop, we’ll type this in terminal as: “/home/user-name/Desktop/ndiswrapper-1.49.tar.gz”)
- tar -xzvf /home/user-name/Desktop/ndiswrapper-1.49.tar.gz
- Now, we blacklist the default bcm43xx firmware drivers that try to install upon Ubuntu installation
- sudo -s
- echo blacklist bcm43xx >> /etc/modprobe.d/blacklist
- THE COMPUTER MUST NOW BE REBOOTED!
- After rebooting, go to the location where you extracted ndiswrapper (in our example, the ndiswrapper directory is no longer, “/home/user-name/Desktop,” it is now, “/home/user-name/ndiswrapper-1.49”)
- cd /home/user-name/ndiswrapper-1.49
- sudo make uninstall
- sudo make
- sudo make install
- Now we install the Dell Wireless Lan Card driver, in terminal, enter the location where you downloaded the files (in our example, it is “/home/user-name/Desktop”)
- unzip -a /home/user-name/Desktop/R151519.exe
- Now go to the “DRIVER” directory in your ndiswrapper-1.49 folder
- cd /home/user-name/ndiswrapper-1.49/DRIVER
- sudo ndiswrapper -i bcmwl5.inf
- sudo ndiswrapper -l
- sudo ndiswrapper -m
- sudo modprobe ndiswrapper
- sudo echo ndiswrapper >> /etc/modules
- sudo -s
- echo ndiswrapper >> /etc/modules
- Time to test the wireless adapter
- sudo iwlist scanning
- lo Interface doesn’t support scanning.
- eth0 Interface doesn’t support scanning.
- wmaster0 Interface doesn’t support scanning.
- eth1 Scan completed)
(If you get errors, do not worry because these lines of code above are just there to confirm that there are no files regarding ndiswrapper present before we get into the installation.)
Now enter the following code:
(Note: The characters around `uname -r` are back-tics and it is found above the “Tab” key and to the left of the number “1” key.)
(enter the above code “sudo make uninstall” several times until you receive a message that says, no files and/or directories found)
(you should see a message that says the following:
bcmwl5 : driver installed
device (14E4:4311) present (alternate driver: wl)
(you should now see your WiFi light on your notebook illuminated, if its not, try pressing “Fn-F2”)
(at this point, Ubuntu will tell you whether or not it has found any networks that you can connect to and even if it doesn’t, you should still see the following:
(If it didn’t already install when you installed Ubuntu).
Step 5: Compiz-Fusion EyeCandy (the last step)
1. Preparing your Graphics Card
- The first step to install Compiz-Fusion on your Linux is to enable your graphics card. Goto:
- “System” menu
- “Preferences” menu
- Hardware Devices
- With Hardware Devices window open, look under Device driver for your graphics card.
- Check-mark “Enabled,” and click Close.
- Restart your computer.
- Once your Ubuntu is rebooted, you should get an icon in the system tray that says “New restricted drivers in use.”
- Click on that icon, and Hardware Devices window should open again, but this time the Status should say, “In Use.” (If you are having a problem, you can leave a comment detailing what problems you are facing, and I will get back to you.)
2. Installing Compiz-Fusion
- There are two ways to install Compiz Fusion in Ubuntu. One using Terminal and the other using Synaptic Package Manager.
- The Terminal way
- Go to: “Applications” menu
- “Accessories” menu
- All the latest versions of Ubuntu such as 8.04 and 8.10 come with Compiz-Fusion pre-installed. All we need to do is install the Compiz-Fusion Settings Manager
- In terminal type:
- sudo apt-get install compizconfig-settings-manager
- To run Compiz-Fusion Settings Manager, scroll down to “3. Enabling Visual Effects”
- Next we install the necessary packages, in Terminal type:
- sudo apt-get install compiz compizconfig-backend-gconf compizconfig-settings-manager compiz-core compiz-dev compiz-fusion-bcop compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-plugins-unsupported compiz-gnome compiz-plugins compiz-wrapper libdecoration0 libdecoration0-dev libcompizconfig0 libcompizconfig0-dev python-compizconfig fusion-icon simple-ccsm emerald
- The Synaptic Package Manager way
- Go to: “System” menu
- “Administration” menu
- Synaptic Package Manager
- Click search and enter: “compizconfig-settings-manager”
- Click on the box and select “Mark for Installation.”
- Click “Mark” on any following window if it asks about Dependencies
(Copy the above and paste it in Terminal, as is, if necessary)
- Next search for “Emerald” and follow the same instructions as above.
- Once finished, click the “Apply” button.
- This will start the download and installation procedure.
- Once installed, close the “Synaptic Package Manager”
3. Enabling Visual Effects
- Now go to the “System” menu
- “Preferences” menu
- Click on the “Visual Effects” tab
- and then click on “Extra” and then close the window
- Your visual effects should now be enabled.
- Now go to the “System” menu again
- “Preferences” menu
- Advanced Desktop Effects Settings
(Here you can enable and disable the effects you want, such as 3D desktop effects; Cube Effects; Water and Fire Effects; Closing, Opening, Focusing, Minimizing Effects, etc.)
- Go to the “System” menu, once again
- “Preferences” menu
- Emerald Theme Manager
- This is where you can access your themes that you can download
- You can download themes from http://themes.beryl-project.org/
- It is recommended that you download emerald themes to your Desktop
- Once you have a theme downloaded to your Desktop, open “Emerald Theme Manager” and click on the “Import button”
(This is the program we installed when we were in Synaptics Package Manager)
- Browse to your Desktop and select the downloaded theme, and click Open.
- Activate the theme by clicking on it and then close the Emerald window.
- Press “ALT-F2” on your keyboard and enter: “emerald –replace”
- This will activate your theme
- Once your theme is activated, you can move the downloaded theme file anywhere you like.
Congratulations! You have now successfully installed one of the latest versions of Ubuntu Linux, the next major operating system. You can browse the web, open documents, spreadsheets, presentations, chat and do much more with the next generation visual effects that OS X and Vista wish they had.
I hope you enjoy your Linux experience. If you have any comments or questions, please feel free to post them below in the comments section. I’d love to hear from you!