There are a lot of people with warnings and instructions on how to install Ubuntu alongside Vista on their Dell XPS M1330. Many of them talk about serious problems and total failure, and they are mostly talking about older versions of Ubuntu (8.04 and back). Last night I finally had some time to give it a shot and was left wondering: Why was it so hard for everyone else?
I am a Linux user. It was the Fall of 1999 and I was sitting at the desk below my bunked bed in our off-campus rental house, and Windows 98 had blue-screened for the umpteenth time while trying to burn a CD on my Panasonic 8x CD-R. I didn't go to bed until RedHat 6 was booting and burning CDs successfully while I *gasp* used the computer to do other things. So it may seem strange for me to care about dual-booting my new laptop, nearly a decade later. My only excuse is that sometimes you really just need to use a Windows application to get work done and you don't have time to wait for the community to write it. You also run into issues when the support people ask you to perform tasks in the Operating System that was shipped with the device when you have removed said Operating System. I figured it would be best to try not to invalidate the warranty on this thing before I got a chance to make sure everything works.
I'll detail the steps I took that lead to the most success. My laptop now boots Vista 64-bit, Ubuntu 8.10 64-bit, and Dell MediaDirect, and I didn't have to reinstall anything.
First, boot the Ubuntu 8.10 liveCD. To accomplish this, insert the disc and reboot/power-on the computer. You have a fleetingly short amount of time to hit the F12 button to get to the alternative boot menu, so start pressing it repeatedly now. Once in the boot menu, choose the CD/DVD drive. Ubuntu's boot menu will appear and you should select your language and then tell it to boot the live CD.
By default, the Dell 1505 Draft-n wireless is broken. It's a distraction at this point to get it working, but if you're just curious about playing with Ubuntu, you need to do the following: sudo rmmod sbb; sudo rmmod wl; sudo modprobe wl. The ssb module doesn't play well with the wl module. After updating my system, this problem went away, but if you need to update over the wireless post-install, use this trick to get things running.
The next step is to make some room for Ubuntu. Dell has taken up all of the primary partitions so you only have logical partitions left. Contrary to a lot of misinformation out there, these will work just fine. You need to create at least two new partitions, one for Ubuntu's root and one for swap. The tool we use is called GParted, and it is available from the menu under System/Administration/Partition Editor. Once you've started GParted, identify and resize the Vista partition. This will be the largest partition on the disk and is labeled "OS" on my computer. Shrink it from the right by the amount of disk space you wish to give to Ubuntu. Next, you need to increase the size of the extended partition. Grow it from the left until it touches the Vista partition. Finally, create the two new partitions in the space before the Dell MediaDirect partition, inside of the extended partition. Create the swap partition (the size here is somewhat subjective -- I created a swap partition that was as big as my RAM (4GB)) and set the type to Linux swap. Create your root partition with whatever space is left.
Now think carefully about what you're about to do before you do it. The final step of the partition resizing is to tell GParted to actually make the changes. These changes may cause you to lose all of your data. Have you backed up your Vista data? Oh good you have. In that case, click Apply and pour yourself a beer. This stage of the installation took 5 hours for me, so make it a good beer because you've got time to relax.
When GParted finishes, reboot into Vista. Vista will probably complain about its new cramped quarters, saying something about repairing the disk. Just say yes to whatever it wants and it will repair its partition. It will reboot and ask to check the disk; let it. Eventually you'll be back in Vista but with less disk space then before. Reboot, and boot the Ubuntu CD once again.
This time, you're ready to install Ubuntu. Boot the live CD and then double-click the Install icon on the Desktop. When you get to the partitioning, choose the guided install and it should find space to work with on your drive. Finish the install as normal and reboot. You now have the choice of Ubuntu, Vista, and MediaDirect. You can even launch MediaDirect with the special button. No doom, no fail required.
5 hours ago