Wednesday 3 June 2020

Problems removing a faulty storage Hard Drive that Windows has made a boot disk

This post has been edited from a post where I couldn't post any charts one week, to one that people still using Windows 7 might find useful.  

F Drive Error
I was working on a 3D printing program, when it suggested I should update the version to get better printing result. So I did, but things started to go wrong with the application. I should explain first of all that I have several hard drives on my computer, two of which are set aside for the operating system and programs. Drive C being the one that has Window 7 on it. The other was set aside for programs called F drive. Basically the idea of having two drives, being that if the main OS drive fails for whatever reason, it can be simply reinstalled on a new replacement drive. Leaving some programs, which are from other software companies on the separate drive. Especially as many of them these days are download off the net and have no CD or DVD rom disc to reinstall them on. 
All my other drives except drive C has an external back up disc. Drives E and G being storage for files. Now F drive has the DTP software application on it and also the Word Processing software I needed to do the charts. So if anything goes wrong with that then although none of the work or files is lost, which are on E. I just can't access them! 
Drive F had been acting up funny for a week or two before. Perhaps because the video editing software I sometimes use (the earlier versions Magix 2005 etc) tend to crash vary easily. Making errors on the F drive. A couple of times prior a check disc operation would start as soon as a booted up my computer at the start of each day - checking F drive due to errors! 
Back to the new software download and I ran it to put on drive F. The software detected the old version and removed it. Then started to install the new. Until it failed. So I had to close it. Trying again to install it there, this time drive F had vanished! When it does that you have to often restart the computer and so I did. Disc Check on F started again. It started to talk about "bad sectors" on the drive. But I couldn't get the software to install on drive F. Bad sectors can be caused by physical problems on the disc itself. Which because of things like dust or scratches on the disc are not fixable. However most are caused by file errors and the like which are fixable. 
Wipe The Drive
Now has I have a back up disc of the files, which due to the nature of the program files disc doesn't need a weekly or even a monthly back up. So all the files on the back up date to 2017 and 2018! When they were working all fine! I thought I would wipe the F drive, then restore the files with the back up drive. Easy you would think!!
So I reformatted Drive F and then ran the Disc Check to see if it was OK. When it was done it showed no bad sectors, which meant there were no faults on the disc which would mean it couldn't safely be used to store stuff on. 
So I set the restore software going. And it failed. Drive F would vanish from time to time and re-attempts produced file errors as it copied the files. Later on I found that if you go into "Device Manager" and select the drive you need and then hit refresh, when the software can't find the drive that is restoring the files, the drive will pop back on. And you can hit the retry key. Nevertheless some files would just not load, even if the drive F was on and when that happened it would stop. 
Naughty Windows 
After I looked at Drive F, I could see the file folders, but eventually worked out that's all they were! No actual system or program files in them.  So I checked the files on the external drive. It had stored all the files in about 150 zipped folders. Opening one of these (number one actually) showed that all the files were there and the program files too. So there was nothing wrong with the back up. 
So I decided on a new course of action. Replace Drive F with a new SSD drive. 
So I ordered a new drive that would come the following day.  See photo at the end! So I decided to remove the F drive. Which wasn't as simple as it sounds! For starters both F and C drives were Western Digital 500 GB. Which looked the same on the outside. But each has a different serial number.  But these don't show up in Device Manager. Instead drive F shows up as: WD500AAKX-D8ERMA0. And it also doesn't tell the letter of the drive, till you go into one of the sections of the properties and click "populate".  Fortunately my computer has a drive status program on it, which does tell you the serial numbers. Though again doesn't say the drive letter. But it also gives the device code number as above. So that's how I could tell the difference! To be on the safe side I put sticky labels on all of them! The photo shows the Front end of the drives with labels. 

So I powered down, took the sides off the computer and removed drive F.  Powered back up, to reveal a boot failure! At first I thought I had took drive C out, but no I had not. Putting Drive F back. I tried a different approach. I would remove F from computer by using the delete hardware option. It did that and requested a restart. So I did. And then Windows after loading back, reinstalled the drivers for F and reinstalled it!! 
Mass of connections to the hard drives. The coloured wires are for power and the black and light blue are data connections. 
The next step I did was to remove the drive from the system as above, then power down, rather than restart and then remove the drive (physically) after it shut down. Powered up again - BOOT FAILURE! 
Put the drive back in and restored operation, but the system reinstalled drive F again.  I then looked at the Device Manager again and this time noticed that under this drive where two sections: Drive F and something called "System Reserved". Which turned out to be only 100MB in size. 
So of course I had to look up what the System Reserved was and found out it was part of the boot system to windows. Which explained why when I removed drive F completely Windows wouldn't start! 
Normally it is hidden and is not assigned a letter. But you can assign it a letter and it then shows up in Windows Explorer. For most people it will be on the same one as the operating system. But naughty windows has put it on my drive F.   It sometimes also puts on on another drive if you have a dual boot system. But you can't remove it. 
Crash Test Dummy
Though you can move it. Or so I thought!!  I found how to do this in a well laid out online guide.
system-reserved-partition
You start by running Disk Management in Windows. This shows all the drives up in a block diagram. The drives are colour coded to show "Primary Partition" which is blue. And "unallocated space". 

Which is black. It's the unallocated bit you want. If there is sufficient space to stick the 100MB in that section of space. Then you can create a new simple volume in it. Windows will tell the space available. But if there is more than the reserved than you need than, you can just make it the same size as your S R. The rest will be left as unallocated.  In my case I needed there to be space like this on drive C. And of course it was all blue! There is sufficient space on the drive C to get loads of stuff on. But not one bit is unallocated! It does say you can shrink the Volume to produce the the stuff. But though the option is there. Mine doesn't allow it. 
The guide gives another option of a free software (well a 30 day trial version) to clone the bit. However this too requires you to have unallocated space. Otherwise cloning could interfere with the operating system, since you could be putting the boot into the working part of the OS. 
Getting nowhere with that I thought I would have a go at the option to boot directly from drive C using the Gigabyte motherboard, which comes up when you start the computer. 
The above photo shows the drives and the connection. The one at the top is Drive F. With The label of C showing below it. 
So I removed drive F and started the computer and selected the boot option for Drive C on the boot set up on the motherboard.  It didn't work. So I went back. Put back Drive F and went back to the settings on the motherboard boot up. But for some reason the computer froze on me and I couldn't save and exit properly. So I powered down and then back up again. But this time the fans ran and power was there but there was no signal on the screen at all. 
Old Laptop To The Rescue
 There was no option but to get the old laptop out, which is as slow as hell. And needed lots of updates to get working.  I eventually found a video on YouTube of another Gigabyte board that had failed and he mentions two Bios chips. He got his computer to start by shorting one of the chips. Which he didn't recommend doing. But first he said try removing the battery overnight.  Mine is located in this photo after the word "Ready". The board above it being the video capture board.

Which I did and after a few false starts the screen showed what his did. That the bios chip was corrupt and that it would use the second chip to start and correct the problem. So I got it back. With only the clock saying 2012! 

Above is a picture of the new SSD drive resting on top of the motherboard manual. I did consider a new board, which I thought was only £79. But when I looked at it, it wasn't the same thing.  Not the number in the photo above And my board turned out to be the rarer type and selling currently for around £200! Just put that number into Google and see the prices! 

Problem Solved
I managed to find a clever bit of software which is FREE that creates a new boot system on my drive C. It's called Easy BCD
easybcd

The above link will take you to the Forum and the instructions of how to do it. The first download link there doesn't work, but if you go to page 15 you will see one that takes you to The Major Geeks site that will have the download. It creates the new file on the drive you want. Once done all I had to do was change the Bios on the the motherboard to drive C and it started from drive C. I closed it down removed the faulty drive F and it starts Windows from drive C all the time! I have installed the new SSD drive and kept the name Programs and Drive F.  After installing the software back, using the old system disks, it worked fine. Some of the systems only needed to be repaired to put the links back to drive F. Even though it's a new disc!  I was even able to get the software stored on the back up drive back on the new drive. I just used the selective "folder" option on the restore software. Picking the folders that I didn't have system program disks for. I left off any folders of programs that might cause errors. Especially the Magix earlier Video editors. As Windows stores the thumbnails of the desktop, even when they were working again, the thumbs were not showing right. So I had to clear the Cache, by going to drive clean up in windows and select Thumbnails. In the image below it gives you the option to get rid of Windows Update Cleanup. But be careful with that one as I did tick that box. But afterwards Windows spent several hours installing new updates and it lasted about 8 hours doing that. Since there are no new Windows 7 updates these days, or rarely! It must have reinstalled those which where "cleaned up". So I won't do that again!! 
 How to Reduce the Size of Your WinSXS Folder on Windows 7 or 8



The one thing I have learn't from this is when you are installing your system. Only connect up the operating system disk first and install Windows to that before connecting any other disk drives.    

                        

Monday 13 April 2020

A Way To Live Special Post - London Needs Cutting Down To Size


London Needs Cutting Down To Size
The simple truth is that if the UK allows it Capital City to keep expanding it will spend a fortune on just moving people around. Money that could be spent elsewhere. And boy is it expanding!! London has currently 8 million people living in it. There are more Londoners than Scottish people (5.3 million) and Welsh people (3.0 million) put together. Having said that London's population hasn't always been on the increase. World War Two saw it fall drastically and it kept falling till 1979. Of course in the year the Conservatives took power and with their empathise on the financial sector started the population rising again. It's currently estimated to 13 million by 2050.
Most of the rest of the UK has no big populations centres that even compares to London. And as the picture shows there populations can fit into London with plenty to spare for others:


So why are all these people there? Well if you look at the statistics of what they do for a living you find a disparage between types of workers, compared with the rest of the country. London workers fall way behind on manufacturing and agricultural jobs. Surprisingly there's less secretarial workers in London. And less manual workers and skilled workers there. But you probably know who are there in greater numbers. Banking and money people 26.2% on 2018 figures. Much higher than the 17% of the rest of the UK. The boss and management are also there in higher numbers too. A lot of professionals and technicians are there too. This is probably not as surprising as it's likely than professional based organisations such as The Royal College of Surgeons or other research bodies have been based here in the past. Indeed many such places and bodies were founded in London. They simply have not needed to locate elsewhere, in fact they have all their needs met by the Local Authorities in London and of course Central Government. However Governments have tried to move certain parts of the structures out of the London area. Some commercial bodies too. But many of these were due to pressure being applied by areas outside London to relinquish control to them, rather than Central Government having the money and power. The most recent being the Scottish and Welsh democracy movements. In general most decentralisation schemes have hit snags and due to the fact that places, that have received these schemes, are operating with the unfair disadvantages that they always have under the present system.
Despite what seems to be lots of new developments in London, construction type jobs are slightly below the level of those in the rest of the country. But only just. London's total workforce stands a 6 million up from 4 million in 2005. Yet the UK's workforce only rose by 4 million in the same period. Which means that London jobs accounted for half the jobs created between 2005 and 2019.
Of course to get them to and from work requires a transport system that simply is not coping with the demand and has required massive investment already.
However in a Transport for London document Transport Supporting Paper 3 it highlights the need for more transport and gives a very strange conclusion
Dense cities and public transport also support more sustainable growth. 

It also further argues:
Some people argue that London’s growth should not be encouraged. Given the pressures, this is understandable but unrealistic. Our city’s growth matters – both for London and the UK as a whole.
Of course the systems already in place make alternatives doom to fail. But if the Way To Live practice was in place, the economy would actual benefit. For example not needing to transport people to places would cut the transport bill vastly. It does away with congestion charges and all the associated costs of making roads. Even if companies decided to move away wanting to use London as base, but were not allowed to. They would find that any city still employing the old system, would have greater costs and they would see ongoing costs laid at their feet as these places have to find ways of dealing with costs such as pollution.
But the document shows what might be required to keep the City of London a world leader.
The overall scale of transport investment set out in this document (around £200 billion)

Much of this however would need to be car based. Since the road system isn't working.
An efficient road network is key to supporting employment and economic vitality more widely across London. 
parts of the A12 catering for more than 100,000 vehicles a day and the North Circular exceeding 120,000. Overall, the road network carries 80 per cent of people’s journeys and 90 per cent of freight. Already each day in London it caters for around 10 million car trips, more than 4 million bus trips

With such problems the report also mentions what a lot of people do too!
more than 6 million walking trips

Meanwhile as traffic will continue to rise the actual income from tax measures will actually fall. 
Duty and VAT on fuel currently raise about £32bn annually

Vehicle Excise Duty which raises £6bn annually, is declining as people buy more fuel efficient, cleaner cars


So, despite a projected growth in traffic nationally, revenue from motoring taxation is set to drop by £13bn a year, or 35 per cent, by 2029 

It's therefore no surprise that London has a massive transit system already in place. Accounting for 12.1% of Jobs and much greater than the rest of the UK. But moving people around is dangerous in many ways. All transport links have been targets for terrorist attacks. Underground fires and crashes have taken place. Railway trains have collided with each other. And we have the latest threat of people spreading diseases just to the close proximity with each other.

The same report acknowledges that overcrowding will get worse.

By the early 2030s we estimate that there will be a 25 per cent increase in the volume of Underground travel in crowded conditions, and a 65 per cent increase by 2050.

Even if the people above don't catch a germ that might wipe many of them out. Most will suffer from the stress of these conditions. Arguing with other commuters and trying to get a seat. Waiting for cancelled services, or getting to work late, which could mean a loss of the job. And the boring nature of this form of travelling. 

Tourism 
 Without doubt lots of people visit London for the historic places. And of course London would still be a place for people to come to see. Nevertheless the places are all in a area that is smaller compared with the whole of London. Since they were all constructed when London was much smaller. They really do not the City to expand in area or in numbers of the population to grow. In-fact they would be better served if most of the traffic vanished. The existing rail links are actually quiet adequate to move around tourist and any person connected with the trade. Monorail links could be incorporated to move people shorter distances. 

Other Trade 
To some extent some shopping streets would not need to be touched. And would benefit from being converted to being more suitable for people rather than the Taxi's and Buses. Do all the theatres need to be in the West End? Many places would benefit from having them in their area. However as long as they don't see the need for an army of people to keep them going and they can be easily incorporated into the Way To Live concept. They could stay where they are. 
But much of the financial sector needs to vanish from the city. Along with other sectors removed from Central London. This will take much of the commuter traffic out of the picture and put an end to many of the suburbs of London.

Central Government
I have discussed this already in Way To Live. With each centre running itself having the Houses of Parliament running the UK would be silly. If the UK requires some elected figurehead then it can still use the Number 10 system for it. But it must be pointed out that the Prime Minster is really just the First Lord of The Treasury. And since the Treasury is just the way the country spends things, all such functions would be down to a more local level, so in a way it would be obsolete. In the end the P.M. Would simply be an elected King or Queen. And we have an un-elected Queen already.