Well I guess it’s about time I get back to blogging. And what better to report than a 24-hour OS upgrade ordeal the day before a really very critical exam. Huzzah, the uni work ethic is alive and kicking!
I’ve got a Toshiba M200 tablet which shipped with windows and I subsequently upgraded to openSUSE10.3. It did not ship with an optical drive. That hasn’t been a problem up to now, I’ve got a little external drive which allowed me to install openSUSE10.3 in the first place. 10.3 was getting fairly long in the tooth so I thought it was a good plan to upgrade it. In fact, with fantastic bloke logic, I decided that the best way for me to get some good study time was to upgrade OS, then I’d go a few hours during the install without a working laptop to distract me!
Well as I say, I’ve got a little external cdrom drive so I thought the upgrade would go no worries. Unfortunately that cdrom drive had been sitting in a shed for many months and didn’t work fantastically at the best of times. When booting off CD then the drive would spin up, the drive would spin down, the computer would boot off hard drive. Bugger.
No worries though, I wanted to get an external dvd burner anyway so I got one and tried to boot off that. Then I started searching around the internet and found that my old cdrom just, coincidentally, happened to be the only one in the world apart from the expensive official Toshiba one which the M200 can actually boot off. So I couldn’t boot off CD. And this took me 7 hours of potential study to track down.
So, what other boot options do I have? The M200 has an SD card reader which is supposedly bootable, sweet! So, I put the contents of the ISO on a sufficiently large SD card and tried to boot in to it. The bios didn’t even try and find it. (And yes the partiton was FAT32 and bootable just like it should have been). Reading a bit more the SD card isn’t recognized as a hard drive, but a virtual floppy. So I put the contents of a nice boot disk on the SD card, toil for about an hour attempting to make it work but still epic fail. Ooh, how about the nice mksusbootdisk utility? Did that. Try to boot. FAIL. This is getting repetitive.
Well wait a second, I’ve already got GRUB on there, howzabout I chainload the CD from that?! Brilliant! Having searched around the world wide interwebz I found that GRUB itself doesn’t have such capability but it in turn can chainload SBM, the smart boot manager. SBM booted nicely first try, hurrah! But it didn’t find my external drive. OK so not so nice.
Well, I can boot from a hard drive can’t I? Yes I can! Right, well let’s extract the cd contents to a partition and boot from that! But I can’t resize a partition and I didn’t want to corrupt the existing installation lest I build a brick. I don’t need one of those.
But I have a swap partition, so lets swapoff that, format ext, extract to that, boot! Yes, kernel sp00dge! But it still thinks it’s on a CD. Gawdarnit. Bit more google, get the linux and initrd images for a working openSUSE11.0 install, replace the CD ones in the ex-swap partition, boot. Success! An installer screen. And there was much rejoicing. And there was 12 hours gone.
Alriiight, so where’s my installation media at now? Well it’s on the hard drive. But the installer doesn’t see it on the hard drive, so I’ve got a working installer but nothing to install. No matter, openSUSE has web-based install media, just to find them! Boot back in to the working install, note the australian mirror, boot in to installer, enter insta.. Nope. Needs the IP address not the domain. No DNS at this stage. Right, back in to the working install, resolve IP, back in to installer.
Now I get to select which ethernet interface to use. Well I’m on the couch, it’s seen my wireless card, sounds good! I should have known *that* wasn’t to work.
So dig through the shed, find a cable, try to find a spare patch of desk within cable reach of the router, fail. Balance laptop on top of the printer, success! It’s installing! It’s actually downloading files! 14 hours gone.
STUDY TIME!
30 minutes later the installer comes to detecting network devices and takes down the ethernet interface it’s installing off. That’s always a really good plan, innit! After some scary text-mode warnings it appears to come back up, but lo, more errors! Can’t find the repo. AH FFS. Check the repo URL. OK, so the installer’s gone ahead and inserted random characters in to the repository URL, remove them and the thing boots!
Of course, as with any virgin Linux install on non-standard hardware there was a fair bit of userspace tweaking to do but that’s prolly the topic of another rant. But now I’m blogging off it, F10nning and getting nice macosX-like sexy window switching and all’s right with the world.
I think my next laptop will have an optical drive. That might be a better plan.