It started so innocently. I was going to record an episode of CNET.com’s The Real Deal about Ubuntu.Â So I decided to install Ubuntu on the company ThinkPad as a dual boot with Windows.Â Know going into this story, the laptop in question has a piece of screen capture software on it we use for making videos. Not that it couldn’t be reinstalled.
So the installation goes fine, and I intentionally let Ubuntu choose all the settings.Â My point was to replicate how easy Ubuntu is to install for the average user.Â I boot into Ubuntu, start surfing the web, all is well.
Then I reboot to check the Windows partition. Grub loads up several boot options including the Windows XP partition. I choose that and in the next moment my stomach falls to the floor. A file called hal.dll has been corrupted and needs to replaced. Oh that’s just dandy.Â I reboot again and get the same result, so offf to the Web.
After a bit of searching I find that the Hal.dll problem comes up quite often when folks install dual boot systems on a pre-existing Windows machine.Â Seems Windows does not like to be the second partition.Â The solution however, is fairly simple.Â Whew.Â I just need to alter the boot.ini file to have a number 2 instead of a number 1, so that Windows can understand it is now on the second partition.Â No problem right?Â Wrong.
Turns out Linux has issues reading an NTFS partition.Â I try messing with fstab and cannot get the Ubuntu to browse the files.Â Finally I try cgoing to the command line.Â Frankly, if I’d been too afraid of the comman dline I would have never got this fixed. I learn that to mount a drive one must create a folder for it either in the mnt or media directories. (I suppose you could make it anywhere, you’re just pointing to it). I create the directory and can mount the drive from the command line.Â However, when I try to browse it from the GUI, I get nothing.Â I’m told I do not have permission to do that.Â Back to the command line and I whip out a sudo command.Â A little something I picked up on awhile back. Sudo is what you need at the command line in order to run a command as root.Â Apparently in Ubuntu they wisely keep you out of root as much as possible.Â Good for them. I cd to the windows directory I created and find the boot.ini file. Then I throw down a sudo gedeit boot.ini.Â Ah-ha, there’s the little sucker int he text editor now.Â I just need to change those two (1)s into (2)s.Â No problem.Â Except the save button is greyed out.Â I try to save as which lets me try but fails.
At this point I decide to track down a Windows XP boot disk and try to launch off that and edit from within Windows. Not a single boot disk off the Interent works for me.Â So I get one fromt eh CNET labs. It works but I need the admin password.Â Turns out I don’t have the admin password.Â Even though I’m the admin.Â See, this is a work computer so there’sÂ a super secret admin password only IT knows about. That kinda sucks because I don’t want to go to IT and explain all this.Â Besides, they won’t fix it, they’ll just blwo out the hard drive and reinstall Windows.Â At least that’s what I’d o in their situation.Â So back to Ubuntu.
I’ve given up on fstab by the way as I’ve gotten enamoured with trying different command switches on the mount command.Â That leads me to learn the umount command of course as I need to unmount every time I want to try a new combination of mount switches.Â No luck.Â I cannot get the darn thing to write to NTFS.
Most of what I’ve read implies that you can write to NTFS as long as you have the 2.4 kernel or later. But there’s also ntfsprogs.Â This little package of utilities promises to let you read and write to an NTFS partition with mroe success.Â Not COMPLETE success mind you, but more. SO I download the tar and unpackage it but it cannot run.Â ./ configure does not work. Well I realize I’m running ubuntu so that didn’t work.Â I need to use Synaptics right?Â But when I look in Synaptics I don’t see ntfsprogs available.Â So I surf around some more and find a .deb of 1.12.1 of ntfsprogs.Â Not the most current package but it’s a deb right?Â But I still can’t see how to install it with synaptics. So I try installing it the Windows way by double clicking on it.Â It opens and give me an install dialogue, but no it’s run into a FUSE library that doesn’t have a satisfactory dependency.Â Well darn.Â I download that lib and when I install it, it says it’s unsatisfied with the libc dependency.Â When I install THAT it says a later version is already installed.Â Damn.Â I obviously am not doing this right.
So back to the drawing board.Â I prowl around on the Ubuntu site and discover ntfsprogs should be available in the universe area.Â Hmm.Â I eventually go back to synaptics and look at the repositories.Â I ran into the term repositories somewhere on the web.Â Turns out not all the repositories are turned on by default.Â I turn on all the binary repositories and voila!Â What do I find but ntfsprogs 1.12.1? Gloriousness. Synaptics installs it and all is looking fabulous.
I happily launch terminal and try the ntfsmount command.Â Doesn’t work. Says the drive is dirty.Â Happily there is a force switch I can turn on at the command line.Â I do and it forces itself to try to mount the Windows partition.Â Alas it still fails.Â It needs fusemount or something and it just can’t find it.Â Taking what I’ve learned I turn to synaptics again.Â I search for fuse and find a package of fuse utilities that among other things, appears to contain fusermount.Â It installs in beautiful synaptic fashion.
I go back to the command line and try out ntfsmount again.Â Hurrah!Â I CD over to the windows partition and sudo gedit boot.ini.Â Hurray! The save buttonis NOT I repeat NOT greyed out. I let out a yelp.Â I change those (1)s to (2)s and save. The text editor warns me that it can’t save a backup of that file and am I really sure I want to do this.Â I say caution to the wind text editor, do your worst.Â t saves and I reopen in gedit and it looks to have taken just fine.
Now comes the real test.Â Restart. I choose Windows XP at the Grub screen and I get the most beautiful site since I left my wife this morning.Â A Windows logo.Â never thought I’d think that but I did.
Then the sky blue screen of death says it’s checking the drive for integrity.Â I can understand that.Â It goes about its checking and I turn to my other laptop to check mail.Â At one point I turn back to see it’s checking the indecx and is 92 percent done.Â However when I turn back I see it’s booting into Ubuntu.Â My heart skips a beat!Â Just the autoboot, it must have restarted itself.Â I power down and reboot, and choose Windows XP.Â I get the nice slightly darker than sky blue screen of login and life.Â I login and there’s the desktop.Â I run the screen capture program.Â It works!Â I surf the Web.Â It works!Â It’s amazing.
I immediately search for how to change boot order in grub, reboot into Ubuntu and change a default number to the Windows partition.Â Now I can safely give this laptop to otheres int he department to do screen captures on.Â And nobody will have to worry that Ubuntu is bootable.Â And we now have a dual boot laptop ofr other videos that may require it.Â Huzzah!
The rela moral of this story however, is that, while obviously not a Linux master by any stretch, even with my knowledge I found it quite frustrating to learn how to install programs in Ubuntu.Â And most people won’t find the command line as exhilerating as I did.Â Judgement?Â UBuntu’s good.Â very fgood.Â In fact if you get it set up right, it may be good enough for people who don’t need to intsall programs much.Â Or at least not install odd programs.Â Liek Linux has been for years, it’s getting better on the desktop, but is not quite all the way there.