Re: Grub bug on Debian 11
On Tue 14 Mar 2023 at 23:16:29 (+0100), Mario Marietto wrote: > No problem. But without offence,what you are suggesting to me is not to > make something to understand what's the real problem and why it's > happening,but you are suggesting to change something in my configuration to > skip the generation of the error. Do you confirm that you are following > this approach ? That's certainly what I would do. There are four workarounds listed at https://bugs.launchpad.net/oem-priority/+bug/1842320/comments/125 three of which seem simple: MODULES=dep, COMPRESS=, and GRUB_GFXMODE. Have you tried any of these? Do they fix things? > I would like to be guided to fix the problem that I have > because this is how I can learn something. I can't learn if I reinstall the > OS using a different debian version,is this correct ? Well, you don't say what it is you want to learn. If it's about Grub, the fix is already in, AIUI, and can be read about at: https://git.savannah.gnu.org/cgit/grub.git/commit/?id=012fe7f0550899a2f1cf2fcf48f29ecf4820f880 Applying the patch to the source and recompiling for your version of the OS would seem to be a complete waste of effort, unless you've exhausted the three workarounds. > > On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote: > > > > > > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the > > > version that you have suggested ? I prefer to learn how to upgrade it > > than > > > to make a fresh installation. I would like to learn how to add > > "separately" > > > what's missing on the 11.5 and that,instead,it is on the version that you > > > suggested,the firmware,if I have understood it correctly. I have no idea whether there's any intention to fix Grub in bullseye at this late stage. As for upgrading your installed system, I assume that you can upgrade it to 11.6 in the usual manner. If any firmware has changed between 11.5 and 11.6, it'll be upgraded in just the same way. (For the packages I've looked into, upgrades usually just add more blobs, rather than changing any that are already present.) Cheers, David.
Re: Grub bug on Debian 11
On Tue, 14 Mar 2023 Mario Marietto wrote: No problem. But without offence,what you are suggesting to me is not to make something to understand what's the real problem and why it's happening, I believe that the locution above --"make something to understand"-- paraphrases "diagnose". but you are suggesting to change something in my configuration to skip the generation of the error. Problems are learning opportunities. And so --as you have noticed-- the path to knowledge often diverges from the path of problem-avoidance. And if people assume you seek the latter path (problem-avoidance), when you instead pursue knowledge you will appear to be "looking for trouble". Do you confirm that you are following this approach ? I would like to be guided to fix the problem that I have because this is how I can learn something. I can't learn if I reinstall the OS using a different debian version,is this correct ? Mario, something tells me that nothing will prevent you from learning whatever you like. -- Ce qui est important est rarement urgent et ce qui est urgent est rarement important -- Dwight David Eisenhower
Re: Grub bug on Debian 11
On Tue, 14 Mar 2023 Mario Marietto wrote in reply to Andrew Cater: --> *Which* Debian .iso did you install with ? debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the version that you have suggested ? I prefer to learn how to upgrade it than to make a fresh installation. I would like to learn how to add "separately" what's missing on the 11.5 and that,instead,it is on the version that you suggested,the firmware,if I have understood it correctly. Below I describe what I personally would do, if I had the goals I understand you to have. I claim no expertise. I believe there are two possible problems you are experiencing. One possible problem, as Andrew mentions elsewhere in this thread, is that the installer on the live iso (which you have used) is not the same as the better-tested installer used on the standard, non-live debian install media. And so if your primary goal here is this: learning how to install debian from standard install media on your machine, rather than the special case of this: debugging the installer used by the live iso in particular then I suggest using a non-live installer image. In the general case, the current images of that sort for various architectures can be found here https://cdimage.debian.org/cdimage/release/current/ In your particular case, for your educational project --to install 11.5 and manually supply non-free firmware from separate source on your amd64 machine-- I would instead get the the 11.5 dvd image you can find here https://cdimage.debian.org/cdimage/archive/11.5.0/amd64/iso-dvd/ and the non-free firmware files from here https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/11.5.0/ Good luck with your project. -- Ce qui est important est rarement urgent et ce qui est urgent est rarement important -- Dwight David Eisenhower
Re: Grub bug on Debian 11
On Tue, Mar 14, 2023 at 11:16:29PM +0100, Mario Marietto wrote: > No problem. But without offence,what you are suggesting to me is not to > make something to understand what's the real problem and why it's > happening,but you are suggesting to change something in my configuration to > skip the generation of the error. Do you confirm that you are following > this approach ? I would like to be guided to fix the problem that I have > because this is how I can learn something. I can't learn if I reinstall the > OS using a different debian version,is this correct ? > I am suggesting a re-install with a more current Debian version. 11.5 was released in September last year, 11.6 in December last year. Each point release brings fixes. If you are installing from an old medium and one that I can no longer find, I can't remember all of the bug fixes that have gone into two point releases and the three months since :) [A large amount of effort is currently going into preparing the installer for Debian 12. If it were not for that, we'd probably have done another release by now for March - there is a release roughly once a quarter at the moment. I help test the releases on point release day.] With every good wish, as ever, Andy Cater > On Tue, Mar 14, 2023 at 11:02 PM Andrew M.A. Cater > wrote: > > > On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote: > > > --> *Which* Debian .iso did you install with ? > > > > > > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the > > > version that you have suggested ? I prefer to learn how to upgrade it > > than > > > to make a fresh installation. I would like to learn how to add > > "separately" > > > what's missing on the 11.5 and that,instead,it is on the version that you > > > suggested,the firmware,if I have understood it correctly. > > > > > > > Debian live is less well tested than the standard Debian installer - it > > does things slightly differently. That is also an older version. > > The netinst .iso I suggested above contains firmware - with the next Debian > > major version, firmware should be included in the installer. > > (Bookworm - Debian 12 on release - currently in hard freeze for release > > later > > this year). > > > > The corresponding Debian live with firmware for 11.6 is at > > > > > > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-11.6.0-amd64-xfce+nonfree.iso > > > > > --> Did you install a 32 bit version or a 64 bit version ? > > > > > > 64 bit. > > > > > > --> On the physical disk - have you ever tried to install any other > > > operating system ? > > > > > > UEFI. Yes,on one of my previous attempts I have installed Fedora on the > > > same disk. But on the last attempt I've used the whole disk and the > > > automatic partitioning scheme during the reinstallation of Debian,so > > every > > > trace of Fedora should be gone. > > > > > > > I would suggest that you try with the netinst for the main Debian > > installer. > > Other larger media are also available. > > > > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/amd64/ > > has iso-cd and iso-dvd images, for example. > > > > > ---> You show three variants of the kernel - which one came from the > > > original ISO. > > > > > > 5.10.0-18-amd64 > > > > > > Thanks. > > > > > > > Thank you for replying with details that will help us solve your problems > > :) > > > > All the very best, as ever, > > > > Andy Cater > > > > > > -- > Mario.
Re: Grub bug on Debian 11
No problem. But without offence,what you are suggesting to me is not to make something to understand what's the real problem and why it's happening,but you are suggesting to change something in my configuration to skip the generation of the error. Do you confirm that you are following this approach ? I would like to be guided to fix the problem that I have because this is how I can learn something. I can't learn if I reinstall the OS using a different debian version,is this correct ? On Tue, Mar 14, 2023 at 11:02 PM Andrew M.A. Cater wrote: > On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote: > > --> *Which* Debian .iso did you install with ? > > > > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the > > version that you have suggested ? I prefer to learn how to upgrade it > than > > to make a fresh installation. I would like to learn how to add > "separately" > > what's missing on the 11.5 and that,instead,it is on the version that you > > suggested,the firmware,if I have understood it correctly. > > > > Debian live is less well tested than the standard Debian installer - it > does things slightly differently. That is also an older version. > The netinst .iso I suggested above contains firmware - with the next Debian > major version, firmware should be included in the installer. > (Bookworm - Debian 12 on release - currently in hard freeze for release > later > this year). > > The corresponding Debian live with firmware for 11.6 is at > > > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-11.6.0-amd64-xfce+nonfree.iso > > > --> Did you install a 32 bit version or a 64 bit version ? > > > > 64 bit. > > > > --> On the physical disk - have you ever tried to install any other > > operating system ? > > > > UEFI. Yes,on one of my previous attempts I have installed Fedora on the > > same disk. But on the last attempt I've used the whole disk and the > > automatic partitioning scheme during the reinstallation of Debian,so > every > > trace of Fedora should be gone. > > > > I would suggest that you try with the netinst for the main Debian > installer. > Other larger media are also available. > > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/amd64/ > has iso-cd and iso-dvd images, for example. > > > ---> You show three variants of the kernel - which one came from the > > original ISO. > > > > 5.10.0-18-amd64 > > > > Thanks. > > > > Thank you for replying with details that will help us solve your problems > :) > > All the very best, as ever, > > Andy Cater > > -- Mario.
Re: Grub bug on Debian 11
Andrew M.A. Cater composed on 2023-03-14 22:02 (UTC): > I would suggest that you try with the netinst for the main Debian installer. > Other larger media are also available. > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/amd64/ > has iso-cd and iso-dvd images, for example. Smaller is available too. If existing Grub works, merely download the netinst linux and initrd.gz and load them with Grub to begin installation. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Re: Grub bug on Debian 11
On Tue, Mar 14, 2023 at 09:23:32PM +0100, Mario Marietto wrote: > --> *Which* Debian .iso did you install with ? > > debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the > version that you have suggested ? I prefer to learn how to upgrade it than > to make a fresh installation. I would like to learn how to add "separately" > what's missing on the 11.5 and that,instead,it is on the version that you > suggested,the firmware,if I have understood it correctly. > Debian live is less well tested than the standard Debian installer - it does things slightly differently. That is also an older version. The netinst .iso I suggested above contains firmware - with the next Debian major version, firmware should be included in the installer. (Bookworm - Debian 12 on release - currently in hard freeze for release later this year). The corresponding Debian live with firmware for 11.6 is at https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-11.6.0-amd64-xfce+nonfree.iso > --> Did you install a 32 bit version or a 64 bit version ? > > 64 bit. > > --> On the physical disk - have you ever tried to install any other > operating system ? > > UEFI. Yes,on one of my previous attempts I have installed Fedora on the > same disk. But on the last attempt I've used the whole disk and the > automatic partitioning scheme during the reinstallation of Debian,so every > trace of Fedora should be gone. > I would suggest that you try with the netinst for the main Debian installer. Other larger media are also available. https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/amd64/ has iso-cd and iso-dvd images, for example. > ---> You show three variants of the kernel - which one came from the > original ISO. > > 5.10.0-18-amd64 > > Thanks. > Thank you for replying with details that will help us solve your problems :) All the very best, as ever, Andy Cater
Re: Grub bug on Debian 11
--> *Which* Debian .iso did you install with ? debian-live-11.5.0-amd64-xfce.iso. Is there a way to upgrade this to the version that you have suggested ? I prefer to learn how to upgrade it than to make a fresh installation. I would like to learn how to add "separately" what's missing on the 11.5 and that,instead,it is on the version that you suggested,the firmware,if I have understood it correctly. --> Did you install a 32 bit version or a 64 bit version ? 64 bit. --> On the physical disk - have you ever tried to install any other operating system ? UEFI. Yes,on one of my previous attempts I have installed Fedora on the same disk. But on the last attempt I've used the whole disk and the automatic partitioning scheme during the reinstallation of Debian,so every trace of Fedora should be gone. ---> You show three variants of the kernel - which one came from the original ISO. 5.10.0-18-amd64 Thanks. On Tue, Mar 14, 2023 at 8:28 PM Andrew M.A. Cater wrote: > [Copying to the list - private replies are discouraged > > On Tue, Mar 14, 2023 at 07:57:35PM +0100, Mario Marietto wrote: > > Hello to everyone. > > > > I'm trying to understand why I'm getting an error message the second time > > that I boot Debian 11 (the first time after the reinstallation it works). > > What do I do to produce the error ? Nothing special. I have just > > re-installed Debian 11 as normal,using qemu/kvm and virt-manager using > the > > SATA physical disk as my first experiment and then I've rebooted and I > > tried to boot it physically. As a second experiment I've reinstalled > Debian > > 11 directly and physically on the sata disk. In both cases I get the same > > error. Below you can see some pictures that you need to watch to > understand > > what happens : > > > > https://ibb.co/album/S49Wgc > > > > I'm groping in the dark. Please help me to debug this error. thanks. > > > > Hi Mario, > > *Which* Debian .iso did you install with? > > I would recommend one from here which includes firmware: > > https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/ > > Did you install a 32 bit version or a 64 bit version? Your screenshots > show an AMD64 version - you're sure that this is the correct one for > the processor? > [Almost certainly yes, but just in case ... ] > > On the physical disk - have you ever tried to install any other operating > system? > > Finally - UEFI or Legacy/MBR? > > You show three variants of the kernel - which one came from the original > .iso > > All the very best, as ever, > > Andy Cater > > > > > > > On Mon, Mar 13, 2023 at 8:48 PM davidson wrote: > > > > > On Mon, 13 Mar 2023 Mario Marietto wrote: > > > > Hello to every Debian user. > > > [elided: Mario Marietto's apology for posting the following question > > > off-topic in another thread] > > > > > > > > "I've just installed Debian 11 > > > > and I see that it is affected by the bug > > > > explained here : > > > > > > > > https://bugs.launchpad.net/oem-priority/+bug/1842320 > > > > > > > > I see that the bug has been fixed on Ubuntu. Do you confirm that,to > > > > fix it,I just need to install the package > > > > "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg > > > > -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I > > > > just need to do something else ? > > > [elided: remainder of Mario Marietto's message, expressing gratitude] > > > > > > You are asking for trouble if you install ubuntu packages on a debian > > > system. Do not do that. > > > > > > Andrew Cater asked some helpful questions in his reply to your > > > original query: > > > > > > https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com > > > > > > Namely: > > > > > > On Mon, 13 Mar 2023 Andrew M.A. Cater wrote: > > > > Which machine is this - maker? > > > > > > > > Can you give more details of _which_ Debian installer you used - > > > > i386 / amd64? > > > > > > > > How recently did you install? > > > > > > > > Did the machine fail to boot immediately? > > > > > > -- > > > Ce qui est important est rarement urgent > > > et ce qui est urgent est rarement important > > > -- Dwight David Eisenhower > > > > > > > > > > -- > > Mario. > > -- Mario.
Re: Grub bug on Debian 11
[Copying to the list - private replies are discouraged On Tue, Mar 14, 2023 at 07:57:35PM +0100, Mario Marietto wrote: > Hello to everyone. > > I'm trying to understand why I'm getting an error message the second time > that I boot Debian 11 (the first time after the reinstallation it works). > What do I do to produce the error ? Nothing special. I have just > re-installed Debian 11 as normal,using qemu/kvm and virt-manager using the > SATA physical disk as my first experiment and then I've rebooted and I > tried to boot it physically. As a second experiment I've reinstalled Debian > 11 directly and physically on the sata disk. In both cases I get the same > error. Below you can see some pictures that you need to watch to understand > what happens : > > https://ibb.co/album/S49Wgc > > I'm groping in the dark. Please help me to debug this error. thanks. > Hi Mario, *Which* Debian .iso did you install with? I would recommend one from here which includes firmware: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.6.0+nonfree/ Did you install a 32 bit version or a 64 bit version? Your screenshots show an AMD64 version - you're sure that this is the correct one for the processor? [Almost certainly yes, but just in case ... ] On the physical disk - have you ever tried to install any other operating system? Finally - UEFI or Legacy/MBR? You show three variants of the kernel - which one came from the original .iso All the very best, as ever, Andy Cater > > > On Mon, Mar 13, 2023 at 8:48 PM davidson wrote: > > > On Mon, 13 Mar 2023 Mario Marietto wrote: > > > Hello to every Debian user. > > [elided: Mario Marietto's apology for posting the following question > > off-topic in another thread] > > > > > > "I've just installed Debian 11 > > > and I see that it is affected by the bug > > > explained here : > > > > > > https://bugs.launchpad.net/oem-priority/+bug/1842320 > > > > > > I see that the bug has been fixed on Ubuntu. Do you confirm that,to > > > fix it,I just need to install the package > > > "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg > > > -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I > > > just need to do something else ? > > [elided: remainder of Mario Marietto's message, expressing gratitude] > > > > You are asking for trouble if you install ubuntu packages on a debian > > system. Do not do that. > > > > Andrew Cater asked some helpful questions in his reply to your > > original query: > > > > https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com > > > > Namely: > > > > On Mon, 13 Mar 2023 Andrew M.A. Cater wrote: > > > Which machine is this - maker? > > > > > > Can you give more details of _which_ Debian installer you used - > > > i386 / amd64? > > > > > > How recently did you install? > > > > > > Did the machine fail to boot immediately? > > > > -- > > Ce qui est important est rarement urgent > > et ce qui est urgent est rarement important > > -- Dwight David Eisenhower > > > > > > -- > Mario.
Re: Grub bug on Debian 11
Hello to everyone. I'm trying to understand why I'm getting an error message the second time that I boot Debian 11 (the first time after the reinstallation it works). What do I do to produce the error ? Nothing special. I have just re-installed Debian 11 as normal,using qemu/kvm and virt-manager using the SATA physical disk as my first experiment and then I've rebooted and I tried to boot it physically. As a second experiment I've reinstalled Debian 11 directly and physically on the sata disk. In both cases I get the same error. Below you can see some pictures that you need to watch to understand what happens : https://ibb.co/album/S49Wgc I'm groping in the dark. Please help me to debug this error. thanks. On Mon, Mar 13, 2023 at 8:48 PM davidson wrote: > On Mon, 13 Mar 2023 Mario Marietto wrote: > > Hello to every Debian user. > [elided: Mario Marietto's apology for posting the following question > off-topic in another thread] > > > > "I've just installed Debian 11 > > and I see that it is affected by the bug > > explained here : > > > > https://bugs.launchpad.net/oem-priority/+bug/1842320 > > > > I see that the bug has been fixed on Ubuntu. Do you confirm that,to > > fix it,I just need to install the package > > "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg > > -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I > > just need to do something else ? > [elided: remainder of Mario Marietto's message, expressing gratitude] > > You are asking for trouble if you install ubuntu packages on a debian > system. Do not do that. > > Andrew Cater asked some helpful questions in his reply to your > original query: > > https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com > > Namely: > > On Mon, 13 Mar 2023 Andrew M.A. Cater wrote: > > Which machine is this - maker? > > > > Can you give more details of _which_ Debian installer you used - > > i386 / amd64? > > > > How recently did you install? > > > > Did the machine fail to boot immediately? > > -- > Ce qui est important est rarement urgent > et ce qui est urgent est rarement important > -- Dwight David Eisenhower > > -- Mario.
Re: Grub bug on Debian 11
On Mon, 13 Mar 2023 Mario Marietto wrote: Hello to every Debian user. [elided: Mario Marietto's apology for posting the following question off-topic in another thread] "I've just installed Debian 11 and I see that it is affected by the bug explained here : https://bugs.launchpad.net/oem-priority/+bug/1842320 I see that the bug has been fixed on Ubuntu. Do you confirm that,to fix it,I just need to install the package "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I just need to do something else ? [elided: remainder of Mario Marietto's message, expressing gratitude] You are asking for trouble if you install ubuntu packages on a debian system. Do not do that. Andrew Cater asked some helpful questions in his reply to your original query: https://lists.debian.org/msgid-search/za9dq3bcfps7i...@einval.com Namely: On Mon, 13 Mar 2023 Andrew M.A. Cater wrote: Which machine is this - maker? Can you give more details of _which_ Debian installer you used - i386 / amd64? How recently did you install? Did the machine fail to boot immediately? -- Ce qui est important est rarement urgent et ce qui est urgent est rarement important -- Dwight David Eisenhower
Grub bug on Debian 11
Hello to every Debian user. excuse me if previously I sent this message quoting the wrong user. It was a mistake. I don't know where that message has gone. It will be lost in the space. Anyway,I want to send it again in the correct format : "I've just installed Debian 11 and I see that it is affected by the bug explained here : https://bugs.launchpad.net/oem-priority/+bug/1842320 I see that the bug has been fixed on Ubuntu. Do you confirm that,to fix it,I just need to install the package "grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" with the command "dpkg -i grub-efi-amd64_2.06-2ubuntu14.1_amd64.deb" on Debian 11 or do I just need to do something else ? thanks" -- Mario.