revjim.net

April 15th, 2008:

Portable Ubuntu: working!

Thanks to a tip from Bryan, portable Ubuntu is now working for me, though not quite in the same way I envisioned it in the beginning.

I assumed that, in the end, I’d boot a real Linux partition with a real Linux boot loader. However, this is not the case. It seems that my laptop, and apparently many others, favor booting only the USB drives that contain certain partition types. Fat16 is one of them.

Booting the long way ’round (not to be confused with the wrong way ’round)
So instead of actually installing Linux, I ended up making a copy of the Ubuntu Live CD into a 750MB Fat16 partition. Then I used SYSLINUX to make that partition bootable. Then I included some Kernel options to overlay an 8GB ext3 partition on top of it at boot time in order to allow for real changes to be made to the working file system. This gives a two layered approach where the initial boot is done from Fat16, and at some point, the files in the ext3 partition are dropped on top of it and, from that point, all changes are reflected on the ext3 partition only. Then I formatted the remainder of the drive as Fat32 in order to allow it to be used as a data partition for multiple operating systems. And viola!

This has a few disadvantages. First, a 5400 Bus Powered USB drive is already pretty slow. This whole shuffle from one to the other makes it even slower. On my aging laptop I’m looking at about 4 to 5 minutes from power up to usable desktop. However, once booted, performance is as expected.

Secondly, upgrading the kernel is no longer an easy operation. Or, rather, I don’t think it will be. I haven’t actually tried it. Since the initial kernel is held on the Fat16 partition and the working system is held in the overlaid ext3 partition, I’m thinking that upgrading the kernel using standard tools would only upgrade files that couldn’t be reached at boot time. I think that, instead, if I need a kernel upgrade, I’ll have to update the kernel in the Fat16 partition, then update the support files on it and the ext3 partition. Probably a very manual process. Or, possibly, I could just recreate my Fat16 partition with a newer Live CD. I’m not sure. Anyone done this before?

Post Installation
The good news is, it’s working! Everything else is standard Linux massage, with which I’m sorely out of practice.

My Wireless PCMCIA card (Linksys WCP54G) was not immediately available. I had to use ndiswrapper and find a Windows XP driver in order to make it work. Not awesome, but it works. It’s nice that this is even an option.

Despite many people telling me otherwise, Java and Debian/Ubuntu have never been an easy thing for me to manage. The JVM that comes with Ubuntu 7.10 is a 1.5 JVM. For a specific application, I need JVM 1.6 or higher. I’m still struggling on how to upgrade this. I seem to be at the latest version available in the default repositories, but that’s using gij. Maybe I need another Java packaging or possibly another repository? Any advice?

I’m also in need of a photograph manager — tagging, sorting, thumbnails, resizing, etc. I’m hoping for something that will actually update the metadata in the file and that will read Nikon RAW (D300 NEFs). This way I can easily resynchronize in Lightroom to pick up these changes. At least that’s why my fingers are crossed. I’m looking at Google’s Picasa2 as well as GPhoto. Any other recommendations?

All in all, despite the migration pains, slow booting, and the search for new applications to fill in some gaps, I’m pleased with the results. Thanks to those who threw in their $0.02.

Yesterday in brief

  • 04:32 awake. making coffee. day planning. editing photos. #
  • 06:37 running late. about to shower and then head to dallas office. #
  • 07:33 Heading to the Dallas office with an icy wind shield and a stick shift. #
  • 08:01 @agingdragqueen ugh! Good thoughts your way. #
  • 08:07 @strandloper no. #
  • 08:13 @strandloper yeah. Unless it’s really funny and other people that follow that person follow you too. :) #
  • 08:17 Damn coffee. I have to pee already and I’m not even 1/2 way there. Ugh. #
  • 08:22 Regarding the hand photos from last week, @evolvinglines gets 1st place with a paper airplane, and daisy 2nd with a fish. Thanks! #
  • 08:32 @sivatonight paper clips?! Yeah. Right. Weak! #
  • 09:24 I’ve encrypted my laptop per company policy. It’s now 50% slower. Also the sftwr mgr has forced me to reboot 3 times this am. Now 4. #
  • 10:10 Make that 6 times, and this last one didn’t even wait for me to say "ok". Grr. #
  • 11:05 Left my book at home. Damn. My call/txt buddy is actually required to work today. Double damn. Looks like I’m alone for lunch. #
  • 12:45 booked a flight from DFW to SYR from 4/21 to 4/25. Layover in DCA both ways. #
  • 13:38 @agingdragqueen yes, but, are you having a good BOOB day? You’d better have me check that put for you too. Just in case. #
  • 13:45 @agingdragqueen you’ll find a way. Better safe than sorry. #
  • 13:48 @agingdragqueen start one? Shiiiit … I AM the club. #
  • 13:50 @brush I dunno, I’ve seen some pretty bad and their owners didn’t seem to realize. I mean. I’m just sayin’. #
  • 14:00 @agingdragqueen you’re right only because bad boobs aren’t really gawked at. At least not by me. #
  • 14:16 @evolvinglines I’m not complaining. :) #
  • 21:05 To entice Vita. #

Automatically shipped by LoudTwitter