How-To: Dual-Boot Ubuntu 6.06 (Dapper) Linux Desktop Along Side Windows XP
I admit it. I’m HUGE fan of Ubuntu Linux for the Desktop. So with great pleasure, I have put together a guide to help everyone easily create a dual-boot PC running both Ubuntu and Windows XP in celebration of Ubuntu’s official Dapper Drake release. Don’t worry… I’m laying the instructions out in such a way that most Windows users who’ve ever tinkered with their PC will find it a piece of cake.
Ok. Let’s get started! Actually, before you do, back up all your important files.
First, download a FREE ISO disc image for your processor’s architecture and burn it to a CD. Ubuntu currently supports: PC (Intel x86), Mac (PowerPC), 64-bit PC (AMD64). I personally downloaded the ubuntu-6.06-desktop-i386.iso file for my Intel Pentium 4 running PC.
Tip: most windows users have x86 chips inside (pun intended).
Next you’ll need to get an extra hard drive to install Linux on (the size capacity is up to you). I’m using two standard IDE drives in this how-to. Once you’ve got a hold of one, review how the manufacture suggests you setup the jumpers because you’ll need to set one drive up as the MASTER and the other a SLAVE.

As you can see here the manufacture placed a sticker on the drive itself showing how to setup the jumpers in various configurations.

Here I placed a letter label with masking tape on each drive so I could tell which one had Windows XP Pro already installed and which I was going to use for Linux. NOTICE: I configured the jumpers (those little white plastic blocks on the pins) so “L” (my soon to be Linux drive) is the MASTER and “W” (Windows drive) is the SLAVE.

This is how they look once they’ve been placed back into the PC enclosure and have the power cords and IDE cable connected.
Ok. We finished all the prep work. Let start the install!
Power up your PC. Place the CD you burned into your PC’s CD drive and your computer should boot from the disc.
Tip: If your PC is not setup to boot from the CD drive before the hard drive by default, you will have to enter into your PC’s BIOS at startup and change the boot device priority. To do that… restart your PC and wait for the splash screen and press “Delete” or what ever the screen says to press to enter the BIOS (pic of my BIOS boot device priority utility).

Click “Start or install Ubuntu” to start the Live CD (it won’t install anything just yet). What’s great about this particular install CD is that it doubles as a Live CD, meaning you can pop this CD into any PC and have a fully working Ubuntu system without altering any native files or installing software. In fact, you could take this CD with you to Best Buy, for example, and test their computers to see if they’re compatible with Ubuntu.

Here’s a shot of what Ubuntu looks like when fully loaded.
Once the CD has fully loaded, it’s a good idea to check if you configured your hard drives correctly before installing. You don’t want to wipe out your Windows operating system and important files! To do this, go to SYSTEM > ADMINISTRATION > DISKS.

This image shows what’s on /dev/hda1 (in Windows terms this would be considered drive C:). It also tells me what format the drive is. Here it shows Extended 3 (aka ext3 – the default format for Linux). If you just bought a fresh drive, hda1 may not be formatted at all. Don’t worry… formatting comes later.

This image shows what’s on /dev/hdb1 (in Windows terms this would be considered drive D:). Here it tells me that the drive is formatted as Windows NTFS. Great. Now we know hdb1 was correctly setup as the SLAVE and it has Windows loaded on it.

After clicking the install icon on the desktop, this is what the first screen of the installer looks like. Here you’ll need to select your language.

Select your time zone (you can zoom in with the magnifier on the map)

Select your keyboard layout and test it

Add your full name, create a login/username, create a password, and edit your PCs name if you wish. The PC name relates to how the computer identifies itself on a local area network.

Here you’ll choose only /dev/hda the MASTER

Select “Erase entire disk: IDE1 master (hda)” (if the drive was originally unformatted, it will probably ask if it’s ok to format the disk)

Verify that everything looks correct. Once you click INSTALL, there’s no turning back! Double check that you did not select hdb (that’s your Windows drive!). After clicking INSTALL, you’ll see the installer work its magic and then ask you to reboot the PC once it has finished. Remember to eject the CD when you’re done – it should prompt you, though, as part of the shutdown process.

When you boot up the PC for the first time you’ll see the GRUB boot loader shown here. Ubuntu is selected by default and gives you the option to scroll down and boot into Windows if you prefer.
Side note: Ubuntu is actually smart enough during the install process to detect you have Windows installed on your SLAVE drive and configures GRUB for you.
Now once you’ve booted into Ubuntu and see the same desktop setup as the Live CD, you did it! Pat yourself on the back. Congratulations!
Tip: Once you’ve logged in and are playing with the settings and such, you will at one point or another be asked to “Enter your password to perform administrative tasks.” You can use the same password you logged in with. More info on Sudo.
Internet connectivity:
If you have an Ethernet cable connected to the back of your PC from your router, you should be good to go. However, if you are using a wireless adapter (see hardware compatibility list), you will most likely need to configure the Network Settings. Go to SYSTEM > ADMINISTRATION > NETWORKING.

This is the Network Settings interface. Select “Wireless Connection”, then click “Properties”.
Tip: I find it helpful to add the Network Monitor icon to my top panel (see the icon with the two monitor screens with a green range meter at the top right). To get yours, right-click on the top panel, select “Add to Panel,” scroll to “System & Hardware” and click “Network Monitor” and then the “Add” button.

Here I enabled ath0, my Atheros based wireless adapter, selected my Access Point by name, entered my WEP security key (choose ASCII if using letters and numbers, HEX for numbers only), and used DHCP to connect. If your Access Point is open, meaning your not using a WEP security key, bypass the “Key type” and “WEP key” fields.
Things you should know:
- To change your Windows drive back to a MASTER drive, move the jumper to its original location. Windows will work as if nothing has changed (which is actually true, since it always thought it was the MASTER).
- You should also be aware that with these instructions Windows will NOT SEE the Linux drive, though it is possible to configure the drives to see each other (beyond the scope of this how-to).
- If you deviate from the instructions shown here, you’re on your own.
- Ubuntu also offers an Alternate Install CD – besides the Live CD – on its download page which offers more configuration options.
——-
Message to everyone: If there’s a favorable repsonse to this How-To, I will post a follow-up on how to configure your Ubuntu system for optimal multimedia performance and codec compatiblity.
UPDATE 1: I might not have to. EasyUbuntu and Automatix have released Dapper compatible GUI phython script utilities that will help you automatically install just about everything a power user needs to get up and running (i.e. – Microsoft fonts, ATI/NVIDIA 3D graphic drivers, DVD movie playback support, MP3/WMA/WMV/DIVX/QuickTime support, Skype, Flash browser plug-in, RealPlayer, JAVA, and more). My impression: They work fairly well, but you don’t really know what’s happening under the hood to your PC.
UPDATE 2: I’ve posted: How-To: Get Full Multimedia Support and Playback Capabilities in Ubuntu Desktop Linux. Give it a try!
UPDATE 3: I just found this great resource for understanding various hard drive partitioning strategies.
* Another incredible resource (HIGHLY RECOMMENDED) is the Unofficial Ubuntu Starter Guide. It’s basically a How-To Wiki for getting just about anything done in Ubuntu.
Filed in: Software
-
David Walker
-
http://www.alexandergrundner.com Alexander Grundner
-
Paulji
-
http://www.alexandergrundner.com Alexander Grundner
-
Paulji
-
http://www.alexandergrundner.com Alexander Grundner
-
Paulji
-
http://www.alexandergrundner.com Alexander Grundner
-
WiseSalesman
-
http://www.alexandergrundner.com Alexander Grundner
-
WiseSalesman
-
http://www.alexandergrundner.com Alexander Grundner
-
WiseSalesman
-
http://www.alexandergrundner.com Alexander Grundner
-
octathlon
-
WiseSalesman
-
WiseSalesman
-
http://www.alexandergrundner.com Alexander Grundner
-
http://www.alexandergrundner.com Alexander Grundner
-
octathlon
-
http://www.alexandergrundner.com Alexander Grundner
-
octathlon
-
http://www.alexandergrundner.com Alexander Grundner
-
octathlon
-
http://www.alexandergrundner.com Alexander Grundner
-
octathlon
-
http://www.alexandergrundner.com Alexander Grundner
-
thartley
-
http://www.alexandergrundner.com Alexander Grundner
-
mhenriday
-
Anand Kumar
-
Cliff
-
Cliff
-
Keith
-
Sum






