Fortsätt till huvudinnehåll

Linux installation and upgrade problems with UEFI

UEFI is a feature of motherboards that was introduced about 2012 to prevent users from running operating systems other than those from Microsoft on their computers. It can usually be disabled in the BIOS settings but it takes some rooting around. Its presence explains a lot of the problems I have had trying to install Linux onto more recent computers. It is, in effect, yet another Windows nuisance feature to keep the Microsoft virus alive and in circulation.
What happens is this. If you attempt to install a Linux on a machine with UEFI enabled you will be asked to create a small partition with a name like /boot-efi or similar. The kernel would normally then be installed to that partition. It then cannot be updated in the normal way (by downloading and running grub) as the symbolic link cannot be made with the vfat filesystem, so you get an error message and the old version of the kernel remains in use. This is apparently yet another Windows nuisance feature.

If you proceed with an installation but do not add the EFI partition, it will proceed to the end and then there is an error message. This cannot be resolved with boot-repair.

In an attempt to resolve the problem, I combed through the BIOS, which involves digging around in all the options,  and disabled all the UEFI and security features, then tried boot-repair again, but this still does not resolve the problem.

However, with all the UEFI features disabled on the motherboard, a fresh install will not ask for the EFI partition to be created. On the 250 Gb SSD (mounted directly in the motherboard slot; it identifies as the last HDD, in my case /dev/sdc) I created just two partitions as msdos, 30 GB for root and the remainder for home; there is no longer any need for a boot partition and the swap partition should be placed on a conventional disk as they are reputed to wear out solid state disks. Installation then proceeded to the point where the grub routine has to be written. At this point I got a warning that if I continued it might be impossible to start another operating system installed on the same machine, eg Windows. Obviously that message could be ignored. The next screen gives an option to chose which disk grub should write to, in my case /dev/sdc.

The system now works correctly, including the kernel updates.

Kommentarer

Populära inlägg i den här bloggen

Importing people to sustain demand

I got involved in a discussion with a Youtuber called “Philosophy all along”. This was in connection with criticism of Trump’s policy of deporting illegal migrants, which he argued would be bad for the economy as it would reduce demand. This implies that there is a need to import people to sustain demand. There is no obvious reason why a population should not be able to consume everything that the same population produces. If it can not, then something else is going on. It is a basic principle that wages are the least that workers will accept to do a job. Wages are a share of the value added by workers through their wages. The remainder is distributed as economic rent, after government has taken its cut in taxes. Monopoly profit is a temporary surplus that after a delay gets absorbed into economic rent. Land values in Silicon Valley are an example of this; it's like a gold rush. The miners get little out of it. Rent and tax syphon purchasing power away from those who produce the g...

The Zombie Train that refuses to die

The Guardian has published a couple more articles against HS2, one by specialist rail commentator Christian Wolmar, and another today by journalist Simon Jenkins. The main arguments in favour will doubtless be wheeled out by the commentators: the need for capacity and the disruption caused by upgrading existing routes. HST itself will severely disrupt services to Euston during the construction period. Capacity can be increased at a fraction of the cost by a variety of measures, provided that it is accepted that the additional traffic will run at existing speeds. It is not generally known that the Midland main line is, or was, four track all the way from London to Trent Junction, between Nottingham and Derby. This is because the additional tracks are separate, having been added for coal trains which trundled down to Brent sidings, on the edge of London, from a collection point at Toton in Nottinghamshire, where the Midland Railway build a huge marshalling yard. Beyond Derby, the main l...

How much more will the British tolerate?

The British are phlegmatic, tolerant and slow to rouse. Thus there was no great reaction after the terrorist attack in July 2005. The murder of Lee Rigby created a sense of outrage, but nothing more, since it appeared to be an isolated incident. Two serious incidents within a fortnight are another matter. Since the first major terrorist incident in 2001, authority has tried to persuade the public that Islam is a religion of peace, that these were isolated events, or the actions of deranged "lone wolves", having nothing to do with Islam, or to reassure that the chances of being killed in a terrorist attack were infinitesimally small. These assurances are are beginning to wear thin. They no longer convince. If government does not act effectively, people will take the law into their own hands. What, however, would effective action look like? What sort of effective action would not amount to rough justice for a lot of innocent people? Given the difficulties of keeping large n...