OS uninstallable

Bret Busby bret at busby.net
Fri Mar 31 21:45:58 UTC 2023


On 1/4/23 04:10, Bret Busby wrote:
> On 1/4/23 03:32, Bret Busby wrote:
>> On 1/4/23 02:30, Liam Proven wrote:
>>> On Fri, 31 Mar 2023 at 13:21, Bret Busby <bret at busby.net> wrote:
>>>> How?
>>>>
>>>> I do not mean to be difficult - I do not know how to do it.
>>>>
>>>> I assume that it is done from within the OS (Linux Mint 21.1)?
>>>
>>> No. Well, you might be able to, but as I said in my email, I suggest
>>> that you fix Windows, then do it from Windows. That is the easier way,
>>> generally. That is what HP expects you to do and will describe.
>>>
>>> I do not have any HP laptop so I can't try it for you.
>>>
>>> I said in the email: download the latest Windows 10 ISO.
>>>
>>> It's a free download. Go to:
>>>
>>> https://www.microsoft.com/en-au/software-download/windows10ISO
>>>
>>> You said you had Ventoy.
>>>
>>> Download that ISO, and copy it onto your Ventoy key.
>>>
>>> Also, while you are at it, download Ubuntu MATE 22.10.
>>>
>>> https://ubuntu-mate.org/download/amd64/kinetic/
>>>
>>> It's 3GB so it will take a while.
>>>
>>> Then you can boot it and use it to fix the Windows boot sector.
>>>
>>> That will stop Linux from booting but you have problems with that
>>> anyway. I am suggesting updating your BIOS as a way to help with the
>>> Linux boot problems.
>>>
>>> You said that you kept Windows 10 on your drive. So, fix it, use it to
>>> update the BIOS.
>>>
>>> I just went to the Download page and downloaded the update. I said I
>>> had Windows 10 64-bit. I got a file called `sp144301.exe`
>>>
>>> I am not on Windows right now, so I can't check it. It's 12.7MB in
>>> size, which is quite small. I bet it is a Windows program that will
>>> install and run on Windows 10 and update the UEFI firmware from within
>>> Windows.
>>>
>>> Then you turn it off, and back on again.
>>>
>>> After that, I reckon you might well find that your Linux installs work
>>> much better.
>>>
>>> After you have updated the BIOS, then install Ubuntu MATE onto you
>>> computer, into a different partition from Mint.
>>>
>>> That will reinstall GRUB, and it will also detect and add Windows 10
>>> and Mint 21 to the MATE GRUB menu.
>>>
>>> That should, if all goes well, leave you with a working Ubuntu MATE,
>>> *and* Windows 10, *and* Mint 21.
>>>
>>> I suspect but do not know that updated UEFI will get you all of them
>>> installing and working, side by side, much better than currently with
>>> the outdated firmware.
>>>
>>> 22 versions different is quite a lot and that could well explain
>>> problems booting Linux and problems with GRUB.
>>>
>>> I have personally experienced problems with Linux booting and Linux
>>> installing GRUB on fairly recent UEFI computers because of outdated
>>> firmware, and installing an updated version got it working. That is
>>> why I suggested it.
>>>
>>> A second benefit of installing a newer Ubuntu MATE in a different
>>> partition is that then we don't have to worry about an outdated
>>> version of GRUB from Mint, and Oli Grawert will stop complaining about
>>> Mint. ;-)
>>>
>>> (Sorry Ogra. You *are* right, and I am trying to propose a solution
>>> that will keep both you and Bret happy at once.)
>>>
>>> Bret, the only snag with this approach is that it will leave Ubuntu
>>> MATE in "control" of GRUB on your computer. If I am right, and if it
>>> works, then you have two choices:
>>>
>>> [1] Leave Ubuntu MATE in control. If it works and you can pick Mint
>>> from Ubuntu MATE's GRUB menu, Mint should boot. In Mint, you can then
>>> type:
>>>
>>> sudo grub-install /dev/sd<BLAH>
>>>
>>> ... where BLAH is the Mint root partition. So if Mint is on /dev/sda5
>>> (as an example) this tells Mint to manage its own copy of GRUB in its
>>> own root partition. That means that from then on, Mint updates will
>>> install fine and Mint won't squabble over control of GRUB in the hard
>>> disk.
>>>
>>> Snag: every time you update Mint, afterwards, you need to boot Ubuntu
>>> MATE, update it, and that will also update your GRUB menu.
>>>
>>> To forcibly update Ubuntu MATE and update its GRUB menu, type these 
>>> commands:
>>>
>>> sudo -s
>>> killall -9 packagekitd && apt update && apt full-upgrade -y && apt
>>> clean && update-grub
>>>
>>> The advantage of doing it this way, in 2 commands, is that each time
>>> you do it, you just type the "sudo" command, and then you can press
>>> up-arrow once and it will return the old update command and you just
>>> need to press Return.
>>>
>>> [2] If it works and Mint now works fine, then just... keep using Mint,
>>> and ignore Ubuntu MATE.
>>>
>>>
>>> There *are* ways to update system firmware from Ubuntu, e.g.
>>>
>>> https://itsfoss.com/update-firmware-ubuntu/
>>>
>>> However, Mint does not include these tools:
>>>
>>> https://forums.linuxmint.com/viewtopic.php?t=346494
>>>
>>> So, sadly, I would not recommend it.
>>>
>>>> I am assuming that, because the System information output, that the 
>>>> BIOS
>>>> has been superseded, or, replaced, by the UEFI, even though, they have
>>>> the same identifier (N81) ?
>>>>
>>>> My understanding of this, is minimal (to lacking).
>>>
>>> UEFI is a modern replacement for the traditional BIOS. However, just
>>> to confuse matters, manufacturers often refer to UEFI firmware as
>>> BIOS, and the HP download page for your laptop calls it a BIOS. That
>>> is strictly speaking wrong but it's easier so I went with HP's terms.
>>>
>> 1. I have just updated the BIOS to 1.59, following the instructions 
>> for updating it from BIOS, in the web page of HP, for the laptop, that 
>> Ralph had posted. I had to find an accessible Ethernet cable, as the 
>> BIOS updating process network access requires Ethernet access, and 
>> does not recognise wifi. At 0330, finding obscure things that have not 
>> been used for some years, is not so easy.
>>
>> 2. Regarding the installing of Ubuntu 22.10, on the Ventoy drive,is 
>> 22.10, with created and modified date 26 October 2022, from when I put 
>> it on the drive, last year. Will that be adequate, or, do I need to 
>> download a later iso for it (if one is available)?
>>
> 
> With the version of UbuntuMate 22.10 from 26 October, that is on the 
> Ventoy drive, at the menu
> "Try or Install UbuntuMATE"
> 
> I select that, and get
> 
> "
> error: invalid magic number
> error: you need to load the kernel first.
> Press any key to continue...
> "
> 
> If,from booting from the Ventoy drive, I select Ubuntu Mate 22.04.1, 
> that boots.
> 
> ..
> Bret Busby
> Armadale
> West Australia
> (UTC+0800)
> ..............
> 
> 
At the UbuntuMate downloads web pages, the versions (22.10 and 22.04.2) 
do not have release dates (of the particular iso files), and, 22.10, 
being an "interim" release, does not have point releases.

So, I am wondering, in the absence of displayed release dates, whether 
the downloadable version of 22.04.2 would include the "degree of 
updatedness" (?) of the downloadable version of 22.10; and, thence, 
whether the downloadable version of 22.04.2 would have the functionality 
of the downloadable version of 22.10, and, therefore, be able to do the 
repair work mentioned.

With not knowing whether the downloadable version of 22.10, is a later 
version than the one dated 26 October, and, given that the copy that I 
have, of 22.10, is unusable, if 22.04.2 has the functionality of 22.10, 
then, it would appear that I would be better to download and install 
22.04.2, rather than 22.10.

But, given that the downloads, are each, about 3GB, I prefer to have 
this clarified, so that I do not waste download quota, as I prefer to 
avoid repeatedly running out of download quota, each month.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..............




More information about the ubuntu-users mailing list