In July 2017 my son’s HP laptop stopped booting. We tried to repair and reset it using the utilities obtained by pressing F11 during startup, but these didn’t help. Diagnostics indicated the problem was with the hard disc. I decided to try a clean W10 install before buying a new hard drive for the machine. My reasoning was that a format might remove disc errors caused by software problems and skip physical bad sectors caused by (say) a disc head crash. I’m not sure how valid this is – but it seemed worth a try, and it worked, giving him a neat new system at no cost.
So here is an brief account of what I did, in case any of you have a similar problem.
1. Get a W10 image
This is easy – you just download it from Microsoft as a .iso file. I picked the latest 64 bit version, to match the laptop, but you might need something different. It can be installed onto any machine with a Windows licence, and will activate when connected to the internet (see 5 below).
2. Back up files
I booted the machine with my live Linux multiboot stick (see Linux note 1, below) and copied the documents, photos and music to a portable hard drive. Remember a live Linux system can read files on the hard drive even when it can’t write to them.
3. Create a bootable W10 usb
I did this on my desktop machine under Linux Mint (see Linux note 2). I downloaded and used woeUSB, which is specifically for creating Windows usbs. As a precaution, I formatted the stick (NTFS) beforehand. For details, see
4. Reinstall Windows
The usb is not ‘bootable’ like a Linux live usb – so you can’t run Windows from it directly. It is an installation source only. I chose to reformat the hard drive during the installation, following the method at
In outline, this is:
Insert the usb, then boot the PC into UEFI mode by hitting F11 while it starts up.
Choose to boot from usb (this actually means to install Windows!), then select Custom installation type.
You now get a list of partitions. DELETE them all, one by one, to leave a single large block of unallocated space. Scary!
Select this space and install Windows. The process will format the drive correctly as it goes. The machine had to be restarted several times, and it took a little while, but it worked. Result: a completely clean version of W10, with no bloatware. You know you’ve got there when Cortana starts talking to you.
5. Activate Windows
This happens automatically if you put Windows onto a drive on a machine that already has a licence and connect it to the internet. Very smart of Microsoft! It should work with a brand new disc drive, as well as after a reformat.
6. Add software and data
You get a completely clean OS, with no extras. Windows Firewall and Defender are up and running, and you have Edge (and IE), plus the usual system tools and accessories, but you don’t get any of the extra bits that might be bundled with a new PC. There is an option to ‘Get Office’, and when we clicked on this the system recognised that my son had a licence for Office and let him download it again. Once more, very smart. You will also need to put back the data you backed up. This is a good opportunity to decide whether you really want to clog up your system with all those old memos and photos…
And that’s it – a clean, uncluttered Windows 10 installation. It’s not a quick job if you have to back up all your data and format the hard drive, but you can do it all with GUI based tools and patience.
1. Multiboot stick
My current live Linux usb stick has Puppy Linux, Porteus, LXLE and Knoppix on it. Of these, only Puppy worked with the laptop in its original state when I wanted to recover the files. I think this might have been because I had ‘secure boot’ enabled in UEFI (See below for more on UEFI). This prevents malware from loading at boot time, but can also block things you want, like Linux live distros. My guess is that Puppy slipped round secure boot in some way – but I don’t know how, and the Puppy Linux website doesn’t make any claims in this context!
SO….. if you want to use live Linux to recover files, reinstall Windows etc., it could be worth turning off ‘secure boot’ first. Just remember to switch it back on once you have finished. I turned it off later in the process, and the installation did NOT automatically turn it back on.
Having said that, web threads suggest this is a rapidly changing area. Many recent Linux releases will work with UEFI, and many recent UEFI PC setups will (allegedly) allow Linux. Suck it and see!
2. Linux Mint and LXLE
In an earlier post I mentioned using Pinguy Linux. I switched to Linux Mint this spring in order to get the latest version of Ubuntu. Highly recommended. I am also running LXLE as a second operating system on my Vista laptop. This is a fully featured lightweight distro, with (for example) a full suite of Libre Office. Worth a look if you want a live system with decent office tools and you have enough RAM.
BIOS/UEFI and MBR/GPT
Most PCs since W8 use UEFI (unified extensible firmware interface) instead of BIOS (basic input output system) as the lowest level of control. I therefore had to make sure that the C: drive was formatted correctly for UEFI, and the easiest way to do that was the partition deletion procedure described above.
The old MBR (master boot record) partition system doesn’t work with UEFI, which requires GPT (GUID partition table) partitioning. The W10 installer creates this automatically if you give it free space to work with.
Launching UEFI interface
The usual way to do this is to interrupt the boot (with F9, F11, Esc…. – it depends on your computer make and model), but you can do it from a WORKING W10 system by clicking on the ‘off’ symbol, then holding down shift while clicking restart. This gives you the UEFI menus when the system restarts.
You then have options to reset or repair the computer, and other things such as advanced options, which eventually gets you to something like the old BIOS interface where you can set the order of boot devices, turn the fan off, disable/enable secure boot etc.
Recovering a hard drive by reformatting – a good idea?
We rescued the laptop without ever having any idea as to why the hard drive was failing in the first place. The system logs showed there had been occasional drive errors for about a year. My son confirmed this, but only involved me when the machine would not boot at all. Okay, he was away at university, but even so….
The elephant in the room is what will happen next. So far (six weeks on) the laptop is working fine, and we have had the talk about backing up as you go along, which to be fair he has always been pretty good about. It is also not his work computer, so a bit of down time would not be a complete disaster. But nevertheless there is the possibility that the disc errors were caused by something physical like dirt or a head crash, in which case it is likely that they will recur.
My feeling here was that we had nothing to lose, and I was quite prepared to install a new hard drive as a last resort. They are not all that expensive and, depending on your computer, fairly easy to switch. Your local repairer should charge considerably less than £100 to supply and fit one for you if you don’t feel up to doing it yourself. We were successful, but if the drive packs up again I will probably replace it. I already have the Windows image to put on a new drive.
If you are having hard drive problems, ask yourself how much data is on there that you absolutely cannot afford to lose (and why you haven’t backed it up!). Also consider the amount of time you are losing to drive errors. In my son’s case the laptop was eventually unusable, but it didn’t start that way. If the risk or the overhead is unacceptable, replace the drive. If not, you might like to try a format and reinstall of Windows…. And maybe start copying everything to the Cloud!