Showing posts with label hard. Show all posts
Showing posts with label hard. Show all posts

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!)

Then came formatting and installing Ubuntu Linux 14.04 LTS (Long Term Service). For that, I had to go into the BIOS (hitting the F12 key as you turn the machine on to access the settings menu), and tell it to boot off the USB port. Again, dead easy.

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

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.

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.