Mike’s Linux Desktop Experiences

March 13, 2008

Windows has Betrayed Me

Filed under: Uncategorized — Mr. Mike @ 6:49 pm

I was getting so tired of fighting, that I simply had to try reactivating Windows. Something changed at the MS end, so the automated line worked just fine.

It was a breath of fresh air to be able to adjust my monitors to reflect my physical desktop layout, to hear more than one sound being played at a time, etc, etc, you’ve heard it all.

Anyway, for some reason, Windows tagged my Linux disk as a FAT12 disk and called it “C:”. This shifted all my Windows drive letters and trashed all my apps. Annoying. A bit of finagling, and a touch in the registry later, I managed to get it back to C:, but it would not boot properly.

Now while it is nice that Ubuntu gave me the option to boot Windows, it did not direct it to the Windows boot loader, it directed it to the OS boot. This means I’m SOL if I’m trying to get to the recovery console or safe mode.

So I pull out my grey-market DVD to try to get a recovery console together for Windows. Then I make a…. mistake.

fixboot. I’ve got to look into this. FAT12 encoded bits were vomited on to my pristine NTFS and EXT3 partitions. Stupid underdocumented Microsoft command line utils.

This includes a lot of personal data (there’s plenty backed up, but given that I was fighting with Linux to play sound properly and meet my basic needs for a month, backup was unfortunately not on the top of my mind. After all, do you *see* anything about backups in this blog?

The good news is that I merely toasted what I think would be the boot record, partition table and boot block. Most of NTFS and hopefully EXT3 is kept in the “middle” of the disk. Both my Windows boot partition and my Ubuntu partition are trashed. The partition table on the Ubuntu side is truly jibberish, but I have trouble imagining how Windows vomiting some FAT12 data on to a EXT3 and NTFS volume would result in *real* data loss. I’ll probably have to rebuild the OSes, but the data should be fine. It’ll just be a trick to figure out how exactly to extract it.

Playing an AVI

Filed under: Uncategorized — Mr. Mike @ 7:11 am

Okay. I did some flirting with the dark side again.

Somebody told me that I should see the film “Wickerman” but under no circumstances should I pay for it to contribute to the rottenness and depravity that is the film. It would be unethical, so I was directed to leech it through a torrent.

So, I leeched a nice 700MB AVI through a Torrent.

To play the AVI, I had a problem. There was a luminous multihued ghost image appearing on screen. I tried to manually adjust the video modes, but regardless of the app or the mode either it would show me nothing but a small rectangle of a letterbox in the middle of my screen, it would show me an image with a luminous multihued ghost image a few inches off to the left, or it would play back so slowly and unstable, that it was absurd. To top it all off, the audio would also play with that weird crackle or snap every minute or so.

I was frustrated. Very frustrated. I didn’t want to spend the night hacking with my machine, I just wanted to watch the fricking film so that I could see the horror which is a bad film.

So here’s how I watched the film. Something Linux just was utterly unable to do for me:

  1. I copied the film to a USB key
  2. I plugged the USB key into my circa 2002 X24 laptop
  3. I plugged the 24″ monitor into my circa 2002 X24 laptop
  4. I plugged my USB speakers into my circa 2002 X24 laptop
  5. I installed Virtualdub, by clicking, downloading and running it

The machine doesn’t do USB 2.0 (it’s too old!), so I didn’t want to wait for it to copy back to the little notebook.

To top it off, when Linux copied the film TO the USB key, it didn’t close the device. Yeah, I was frustrated, but even after the LED on the drive stopped flashing, I was surprised that it didn’t actively try to sync removable devices. Maybe Windows does it by eliminating or continuously flushing the write cache. A write cache on a device which wasn’t around at boot time like that is a bit silly. It didn’t warn me about “unsafe device removal” nor did it offer a method obvious to me to flush the cache. The closest I could find was to right-click the drive icon and unmount it. I had to wait a fair while after the copying “completed” to be able to unmount it without a nebulous “this is in use” error.

Anyway. No word of a lie. Windows automatically set the USB speakers to my default, automatically set up mixing, automatically detected and started using my external monitor, warned me that I was using a USB 1.1 port for a 4GB USB key, and allowed me to install and run Virtualdub, all without even thinking about asking me to reboot.

The video played flawlessly right from the key. Flawlessly. Simultaneously driving a pair of USB speakers and reading the video driectly from the flash key. This machine has 1/4 the computing power, 1/100th the video computing power, yet it completely floored my modern Linux box for ease of use and performance.

I won’t conclude that Linux itself is crap. None of this has anything to do with anything I use Linux for on a regular basis professionally. As a server OS, it is awesome. As a server OS, you don’t touch ATI drivers, you don’t touch USB speakers, plug and play is not an issue, audio mixing is not an issue. You want simple, stable and reproducable. While Package managemnt and stupid config scripts have challenged that, for the mostpart, Linux still kicks ass there.

However, for the desktop, I’m deeply disappointed.

Blog at WordPress.com.