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

The dreadfulness of British governance

I wrote to my MP on two entirely separate issues recently. The first was to do with the replacement for the Inter City 125 train, which at £2.6 million per vehicle, is twice as expensive as it ought to be. The second concerned the benefits of a switch from business rate and Council Tax to a tax based on site values. In both cases, the replies were full of spurious, unsubstantiated assertions and completely flawed arguments. This is typical. You will not get an iota of sense from the government on any area of public policy at all - finance, economics, trade and employment, agriculture, housing, health, transport, energy. All junk. If you write to your MP you will invariably receive answers that are an insult to your intelligence, no matter what subject you are writing about. Of course they cannot understand statistics. They are innumerate. Whitehall is staffed with idiots with a high IQ. Look at their IT projects. And mind your purse, they will have that too.

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...

Battery trains fool’s gold

A piece by the railway news video Green Signals recently reported the fast charging trials for battery operated electric trains on the West Ealing to Greenford branch, in west London. In a comment under the video, I described the project as technological overkill, bearing in mind that before dieselisation in the 1960s it was worked by the tiny steam locomotives of the Great Western 1400 class, a 1932 design based on an 1870s design. The money that has been spent on the experiment would have paid for a small fleet of the old things. Elsewhere in the comments, I was critical of the 800 series trains. This produced a response from the makers of the video, as follows. “I may be grasping at straws here but I am guessing you don't like 8xx series trains all that much and rather wish we still had Kings, Castles and (for the branches) 14xx's. Fair? ” My reply was as follows... Yes you are grasping at straws. The model for long distance stock is the class 180, which is a 23 metre veh...