Closing stages

Newcastle United F.C.
Toon! Toon!

Let the arse-puckering begin. After a well-fought 3-1 win over Middlesbrough this evening (well, yesterday evening – it’s late o’clock), Newcastle now sit outside the drop zone, 2 points below the mackem filth. Hull sit just beneath us, but our goal difference is 7 for the better – and currently the same as the unwashed horde’s.

What’s interesting is the run-in. We have Fulham at home and Aston Villa away. By the last game of the season, Villa’s place will already have been cemented. The only thing they’ll have to play for is the fans – and how many professional footballers give a crap about them when putting too much effort in could result in an injury and a ruined summer holiday?

Hull have Bolton and ManU. They could scrape a point from the former, but even a second-string ManU side will run rings round them, the form they’re both in right now.

The scum have Portsmouth then Chelsea. Again, one possible and one you just can’t see them getting anything from.

As such, we seem to have the better run-in.

Of course – bridges/crossing, chickens/hatching. But there’s still an inkling of a chance that we could stay up while the forces of darkness drop down to where they belong.

Is it too early to get my hopes up? Don’t answer that. Of course it is.

Reblog this post [with Zemanta]

I love Asda

Midget Gems
These look like fakes, too

Screw all you anti-global-hypermarket lot. I love Asda. And for one reason only. Check out their dirt cheap “Smart Price” Midget Gems. They look like the old Lion Ones. They’re almost (but not quite) as hard and chewy as the old Lion ones. They taste, not too far away from how the old Lion ones did. They’re about 30p a bag.

And the black ones are liquorice.

I’ve not bought any Lions ones since Maynards bought them out. The other colours in the Asda packets aren’t quite so good, but it’s a matter of principle. I could consider buying both and giving the Maynards black ones away, but I couldn’t force myself to spend money on them.

**** you, Maynards. **** you and your blackcurrant black Midget Gems (unless you buy them from jars or other trade-size containers). Asda’s where it’s at. I’ll be buying a basket-load of these next time I’m passing by.

Reblog this post [with Zemanta]

Messing with hard drives

Hard disk dissection
Copying these isn't that simple

I’ve been randomly offline a lot over the last few days. Partially because I’ve been visiting friends and family, partially as I’ve been migrating hard drives in my laptop. Again.

Currently I run Windows XP and Ubuntu Jaunty Jackalope (9.04) – predominantly the latter, though I keep the former around for a couple of utilities and for checking things when I’m doing support. I’ve also decided I want to install the Windows 7 release candidate I downloaded. However, disc space wouldn’t let me do that without ditching one of the other OS‘s so I turned to Amazon and ordered a 160Gb ATA drive (the largest available in 2.5″ format, I think) and an external caddy into which to place the soon-to-be-spare 120Gb device.

The procedure should be simple with the right tools:

  1. Attach new hard drive via USB
  2. Mirror internal 120Gb onto USB 160Gb
  3. Use some partition software to increase the size of data partition, leaving space for Windows 7 install
  4. Remove 120Gb and swap it with the 160Gb which becomes my internal drive

Of course, these are computers. So it wasn’t going to go smoothly. Especially with the mixed operating systems.

First up, the hard drive enclosure I bought didn’t seem to like the 160Gb drive. If I connected it under Ubuntu, it detected it fine. Windows, however, did not. It “bing”ed to say a USB device had been attached, then never let me see it. Not even through Disk Manager so it wasn’t the fact that it was empty. I couldn’t even create a partition. If I rebooted the machine while the device was attached, the reboot stalled on the BIOS screen.

I disassembled another enclosure I have and tried that with more success. Reboots were fine and the drive was detected under both OSs. Hopefully the new enclosure would have more success with the older 120Gb drive I was soon to have spare.

Next step was to mirror the drive. I tried Paragon Partition Manager’s imaging (which has worked for me in the past), but it kept getting partway through and then rebooting with only a fraction of the drive copied. I began to worry about the new disc, but an attempted surface scan looked like taking 24 hours+.

Instead, I downloaded the (simple and free) Easus Disk Copy program. Burn the ISO onto a CD, reboot with the disc in the drive and away you go.

Slowly. Very slowly indeed.

The initial estimated time was around an hour. The copy eventually took a smidgen under 21 hours.

I had planned on using GParted to shift the partitions around, but it seems it’s not capable of doing this. What I needed to do was to alot roughly half of the increased 40Gb to my FAT32 data partition and leave the rest unallocated so that Win7 could use this when I installed it. So, back into XP and Partition Manager Pro for this task.

Before the repartitioning would complete, I had to run checkdisk on the two FAT32 source drives. On my copy run, it had to come up with read errors. In all, there were 200 and PMP would not continue until these were cleared.

So off I went to play Lego Batman and Guitar Here while the checks and the data migration occured. Finally I had a hard disc with everything organised as required. Phew.

Out with the old, in with the new, reboot… and a screen full of flickering “GRUB“s. No boot menu, no progress. Ah. By moving all the partitions around, I’d shafted GRUB. And possibly the MBR on the boot drive. Here’s where it got technical.

Step one was to repair the MBR and this is where having a bootable CD/DVD with your operating system on is very useful. Laptop manufacturers can burn in Hell if they don’t supply these. If you don’t have one, download it via a Torrent. You’ve paid for a license, there’s nothing wrong in having a copied disc with the software on in case you need to fix it.

Quickly boot off the Windows CD, go to the recovery console, boot into the Windows install on the C: and run one command:

fixmbr

It takes less than a second and on reboot, the PC went right into Windows. A step forward, but still no GRUB so I couldn’t access Ubuntu. Out with the 8.10 CD that I have kicking around, and into a Live session. With a terminal open, the commands to fix things weren’t too hard (thankfully).

sudo grub
root (hd0,5)
setup (hd0)

Well, it would have been nice if it were that simple. First of all, finding the correct partition to use in “root” takes a little digging.

As I’d jiggled things around, what had been (0,4) in my old setup had been changed to (0,5) – this can be discovered by running the command:

sudo fdisk -lu

Assuming you only have one Linux install, only one of these will be labelled “Linux”. Take the number “x” from the left column “/dev/sdax”.

That gave me (0,5) as I used. However, I then got an “Error 12: Invalid device requested” when running the “setup” command. A lot of digging online got me a solution to this. First “quit” out of the grub program to the command prompt again. Then:

sudo fdisk /dev/sda

At the prompt that comes up, enter “w” (no quotes) and hit return. Then repeat the grub commands listed above.

Finally:

sudo gedit /dev/sda/boot/grub/menu.lst

And ensure all the menu entries are correct. As I said, I had to change all my (0,4)s to (0,5)s.

Save, reboot, clap with glee.

Next step is to install Win7, which is tomorrow’s little job. I fully expect to have to repair GRUB again afterwards. Windows (all versions) has a habit of deciding that all other boot loaders are “wrong” and places itself before them. At least I’m expecting it!

Reblog this post [with Zemanta]

Desktop web apps

Mozilla Prism
Mozilla Prism

One of Google Chrome‘s unique (until now) features was an ability to take any web page and turn it into a desktop application. Mozilla have responded with a new Firefox plug-in called Prism which does pretty much the same thing.

The advantages are more screen real-estate (no bars across the top as in a browser) and that the “application” is separate from other web processes. So if one page locks up or crashes, it only brings itself down and not all the other pages you might have open at the same time.

Thing is, isn’t this just the same as opening a new (Firefox, Chrome, IE, Safari…) window via a URL shortcut then opting to display it with no toolbars? Or full-screen? I honestly don’t see anything actually new. Especially given that Firefox 3.5 promises and Chrome already delivers discrete memory use in each tab, so that if one fails it doesn’t down the whole browser.

As for differences between the two, Mozilla have the edge – Chrome is still not available for Linux whereas Prism is, although they don’t make it clear on the standalone application download link.

Reblog this post [with Zemanta]

Howay the Bay!

Wembley tickets on sale Hillheads 16th April 2...
Howay The Bay!

Just a quick post to wish Whitley Bay FC the best of luck in their FA Vase final at Wembley today. I wish I could go, but the bargain £20 ticket price is vastly outweighed by the insane cost of transport down there from Perth.

I wonder if there’s coverage on FiveLive or if “licensing reasons” prevent them from broadcasting it online like the Premiership and Champions League games?

Reblog this post [with Zemanta]