I just realised that I hadn't updated a couiple of posts on here, so now's a good a time as any to do so.
Following on from Thursday, 7 May 2015 ("Oh, pooh. On two counts :-(")...
You already know how the installation of Ubuntu Linux 14.04 LTS went, but the other issue raised, that of an inability to get the computer and Baofeng UV-5R radio to talk to each other was NOT hardware related: It was software related.
CHIRP, the software I was using to try to talk to the radio from the computer, has two main version: 'Stable', and 'Daily Build'. It turns out that the daily build version is able to talk to the radio, but not the stable build. Go figure.
Anyhow, that's been rectified, and I've been able to successfully get the radio programmed how I want it, which was the aim of the game in the first place. So, job done.
And Chirp is still an excellent bit of kit ;)
Another problem I recently had was with viewing DRM material that I'd bought from Amazon Prime and Google Play (in YouTube) (streaming movies and television shows). They just would not play under Linux.
In order to watch these movies and shows, on Amazon, you have to have Silverlight installed in your browser. Problem the first: It's made by Microsoft, and they don't give a tinker's cuss about support to Linux users, the intransigent wossits.
While Silverlight and Flash are not supported under Linux, there are third party applications, the first being Moonlight, which is sadly no longer available, the second being Pipelight, which is. Problem the Second: Making it work.
The ironic thing here is that I DID manage to get it to work briefly, then suffered a system lock-up in Firefox, had to perform a cold reboot, and then suffered login lock-up, resulting in my having to reinstall Unity. And after that, Pipelight failed to play, despite retracing the exact same steps to get it playing as before. The various help forums were of no help at all in this regard, and that's not a very good advert for Linux, sadly.
I did however, find a work-around.
Using Wine, I installed the windows version of firefox, then the
windows version of Flash. Now successfully watching Amazon instant
material. It'll do until Amazon bins Flash, by which time, hopefully more
effective HTML5 support will have been generated within Firefox et al.
I really wish it hadn't had to be done this way, as there's absolutely no
elegance to it: It's a brute-force sidestep but, on the other hand, it got the job done, so I guess I shouldn't whinge too much.
Oh, and it took a Linux Mint (NOT an Ubuntu one, to my utter disbelief) tutorial to give me this solution. Here's the link, in case you're curious: http://community.linuxmint.com/tutorial/view/2028
Make of that what you might!
Enjoy the rest of your weekend :)
Sunday, 28 June 2015
A few small updates...
Monday, 11 May 2015
Ah, that's better :)
Well, the replacement hard drive for my notebook arrived this morning from Amazon.co.uk
(nice and fast, that was good!), and inside the larger-than-expected
box (L 23cm, W 16cm, H 11cm) was a surprisingly small hard drive
(roughly 10cm x 7.5cm x 1cm - Good God, these things have got a LOT
smaller in thirty years!), sealed in a factory-issue Toshiba-stamped
Anti-Static bag.
The new drive was successfully fitted (it was pitifully easy, one screw, prize off a plastic panel, carefully
ground myself against the metalwork (static electricity kills modern
electronics), and swap them out. Many orders of magnitude easier than
when I worked in the IT game - at least someone's learned how to make
things simple!)
The installer, running off a LiveUSB thumb drive, did the job with no problems; the new installation then took itself off to update everything in sight to current release levels, as expected.
All in all, a relatively easy and simple fix to conduct. Nice to know some things come along with no dramas attached!
One or two comments need to be added, however. The installer makes one massive partition; you really need three: One for the operating system, one for your data, and one for the swap file. For this, you really need a decent disk management tool, and there exists in Linux, one such excellent tool, called gparted. However, it's been over two decades since I played with partitions, and a LOT of standards and practices have changed in that time, so I left it to the Ubuntu installer to do its thing.
And got one partition, not three. Live and learn.
I'll know better next time (and there WILL be a next time, as I plan to replace this new hard drive in about a year, with a Solid State Drive, which are much better than conventional hard drives (or HDDs), as there are no moving parts in an SSD, they're on average three times quicker than an HDD, consume less power, don't get as hot, and are quieter as a result of all of this as well.
The downside at the moment is that SSDs are expensive in comparison to HDDs, and tend to have much lower capacity than HDDs. Hopefully, that will have changed a fair bit for the better by this time next year.
And that will give me sufficient time to bone up on current partitioning practices, so I can do a much better job of sorting out a new drive for the machine.
Still, at least it's done for now

Posted by
Roger
at
Monday, May 11, 2015
0
comments
Labels: automatic, bios, drive, fail, gparted, hard, installer, Linux, partition, replacement, solid, state, Ubuntu
Sunday, 10 May 2015
OH, Pooh, part lord knows what...
The PC fell over yesterday, yet again. This time, it was locked into a login loop.
I got out of that by using the Ubuntu thumb drive to get the machine up and running, reformatted the hard drive (AGAIN, already), and got DISKS (a linux GUI-based drive checking package) up to test the hard drive using the S.M.A.R.T. system ("Self-Monitoring, Analysis and Reporting Technology") that modern hard drives tend to come with.
Well, now I know why the PC has been falling over so much. It seems that the hard disk is shagged. The S.M.A.R.T. test (performed overnight), revealed that there are 1142 bad sectors, none of which can be moved or remapped. "Old age" is the listed cause.
There are several words that I used when I read the result, none of them printable - or polite for that matter.
So. I've ordered a replacement drive via Amazon.co.uk, for a shade under 50 quid. A word of advice here: Make sure you know what type of drive your machine uses, if you have t replace it; there are two main types, IDE, and SATA. The two are not interchangeable. Best option? Replace like for like. My machine's a Toshiba C855-29M laptop. Hardware-wise, it's quite a reliable machine (aside from the damned hard drive, of course!) The SMART report noted the type of drive as being a Toshiba MQ01ABD100, so that's what I've ordered.
As to fitting it, well, they're easy enough to swap out, as modern PCs ( both desktop and laptop) tend to be pretty modular inside (for ease of servicing, the so-called disposable society, and all that), so (and not forgetting to ground yourself against the earth bonding so as not to fry the computer with static charge when you touch the insides) a screwdriver here, a bit of careful leverage there, and this machine should be sporting a new hard drive sometime tomorrow (the good thing about Amazon Prime membership is that they can do next-day delivery at no extra cost in most cases).
It's rather interesting, however, that I only found this out under Linux, than under Windoze. And not a little worrying, too, come to think of it. I'd used some excellnt tools under Windoze, including but by no means limited to Performance Monitor, CCleaner, and others, and none of them had reported any problems. It was only when I moved to Linux that I found that (a) the problems were manageable, and (b) discoverable.
So, I think I’ll be sticking with Linux from now on; seems more able to keep on top of things - what I've been able to do over the last 24 hours with relative ease, I would NOT have been able to do under Windows.
I'm still peeved that I have to shell out for a new drive, and that I've lost a weeks-worth of data, but on the positive side, there's now light at the end of the tunnel, and my habit of taking regular back-ups (a habit that EVERYONE who owns a computer should practice) has paid off.
There are a couple of tips I'll hand over to you at this time, one I've touched on already above:
- Take regular, at LEAST weekly backups of your data;
- If you like, take a clone image, or ISO, of your hard drive once you've loaded up all your software onto it, and set it up how you like it. It'll make reloading the machine a whole lot easier;
- Use GMail, or a similar cloud-based email service - you won't loose your emails, calender, contacts, or a whole load of other things, if the machine falls over catastrophically;
- Back up your browser settings - I use Firefox, and have a cloud-based account with them, and sync with it on a daily basis, so that I don't lose passwords, bookmarks, and so on. It's one hell of a handy safety net, let me tell you;
- If you use a LOT of passwords online (and this is recommended practice by pretty-much all the respected advisors across the globe), then invest in a password manager; there are many of them out there - some of them are even free, but the brand-name ones are probably a good choice, at least to start with. It's a belt-and-braces approach to data preservation, but with modern life the way it is, better safe than sorry.
So. I'm in a better mood, now that I know what the root (Linux pun, sorry, couldn't help it) cause of the problems I've been experiencing are, and what the solution is.
More once I've swapped out the drive.
Posted by
Roger
at
Sunday, May 10, 2015
0
comments
Labels: backup, bad, disk, fail, firefox, gmail, hard, Linux, replacment, sectors, smart, sync, test, Ubuntu, unrecoverable, windows, windoze
Thursday, 7 May 2015
Oh, pooh. On two counts :-(
Right, micro-update.
The FTDI cable arrived in today’s post. And still the radio will not play, which means that it's the ruddy radio, not the cables, or the computer. Time to talk to the radio's retailer... more once I have more...
Also, on the computer... the darn thing threw a wobbly and refused to boot, thanks to an unrecoverable corrupted sector in the boot track. Even Checkdisk couldn't recover it. I had to wipe the entire drive, repartition it, and reinstall Ubuntu Linux. Thank wossit I take automatic backups of the data!
Saturday, 4 April 2015
Enough Already (Part Three)
Well, I couldn't break out of that Repair Loop Of Doom, nor could I access safe mode. Further, even from within the thumb-drive mounted Ubuntu Linux, I couldn't access or break the cycle. So. I bit the bullet, aiming a crapload of rude comments in the general direction of Redmond, VA, and wiped the drive in its entirety. I then reformatted it, retaining the FAT filing system (why not, at least I know how that works - or rather, how it's supposed to work!), and installed Ubuntu Linux 14.04 LTS.
Thus far, it sems to be behaving itself. It's recognised my notebooks wifi & bluetooth hardware, likewise my printer was recognised too, which was a very nice bonus; previously, a few years back when I last looked at Linux, none of the above were recognised.
All I have to do now is figure out how to use this thing, install a warehouse-sized collection of my fonts (ttf format), and find alternatives to all the old windows software that I've hitherto been using.
This is likely to take a while...
Wednesday, 1 April 2015
Enough Already (Part two)
Awrighty, then...
Well, I got bored trying to sleep, so booted up the machine using the thumb drive. Whoopee, it worked (F12, got into the bios, changed it to boot from USB , and BINGO, Ubuntu Linux was on the display).
The bad news is that it looks like the hard drive may well be completely shagged. Here's the error message I got when I tried to mount it in Linux:
Error mounting /dev/sda4 at /media/ubuntu/RogersBlant: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999,dmask=0077,fmask=0177" "/dev/sda4" "/media/ubuntu/RogersBlant"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda4': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.
This suggests that it's got some form of fault that can only be fixed from within the system, and without being able to get in the system, you can't fix it. Catch-22.
To say that this is beyond irritating is something of an understatement.
Here are the cons: I may well have lost EVERYTHING on the damn drive since the last backup before the move - I can't find the one from afterwards; looks like it got lost in the move, along with the recovery disk.
Good news: My bookmarks are safe. A while ago, I began using Xmarks, a service I heartily recommend to one and all. It saved my bacon more than once, and allowed me to sync bookmarks between the notebook and my android phone. So, no bookmarks lost.
Critical 'PersInfo' files have been backed up regularly to a secure server on the cloud (obviously, I'm not saying where!), and I've been using Gmail for so long, every one of my contacts and emails for the last few years is safely preserved there, which is even better.
So.
Assuming the HDD is shagged beyond repair (and I've one more person to talk to on this), then it'll be time to order a replacement HDD from Toshiba, and install Ubuntu on it. If it's merely Windows 8 that's utterly failed, it'll be a reformat and disk wipe, then an Ubuntu installation.
Either way, I'll be playing with Ubuntu from now on.
I have truly had my fill of Windows.
Bugger off, Bill, Torvalds is playing, now.
Enough already (part one).
Windows 8. I've been told that it's like Marmite: you either love it or hate it.
The damn laptop I have, a Toshiba Satellite C855-25M, has become locked in a "preparing to repair" boot loop of doom, where there is no way to break out without a bootable CD-ROM or USB drive. You cannot, of course, create one unless windows is running properly, and I cannot find the ones I made when I first got the damn thing, following my home move six months back. So. Borked.