[opensuse] Grubby fingers in the boot straps
I seem to have broken grub. Or maybe it broke itself. I have tried to re-install it a few times with yast2 bootloader, but it is failing with "no menuentry" or I think that's what it says, it vanishes quickly. Here is the history: I installed Manjaro on a partition, /dev/sda2. Opensuse grub detects this, but it does not boot properly because Manjaro likes its own grub. So I installed Manjaro grub on /dev/sda2, and then I chainloaded it successfully from Opensuse grub. I then tried to make a chainloader menu entry in /etc/40_custom, but that didn't work so I thought nothing more of it. But today when I booted the system, opensuse grub failed with an error, then went straight to Manjaro grub. I tried to remove anything I added to /etc/40_custom, and I tried to re-install grub as I said. I also ran grub2-script-check but it does not report errors. How do I re-install grub with the default configuration? Can I do it from opensuse which I have booted from the Manjaro boot menu? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
07.03.2018 17:19, Richmond пишет:
I seem to have broken grub. Or maybe it broke itself. I have tried to re-install it a few times with yast2 bootloader, but it is failing with "no menuentry" or I think that's what it says, it vanishes quickly.
Here is the history:
I installed Manjaro on a partition, /dev/sda2. Opensuse grub detects this, but it does not boot properly because Manjaro likes its own grub. So I installed Manjaro grub on /dev/sda2, and then I chainloaded it successfully from Opensuse grub.
I then tried to make a chainloader menu entry in /etc/40_custom, but that didn't work so I thought nothing more of it. But today when I booted the system, opensuse grub failed with an error, then went straight to Manjaro grub.
I tried to remove anything I added to /etc/40_custom, and I tried to re-install grub as I said. I also ran grub2-script-check but it does not report errors.
How do I re-install grub with the default configuration? Can I do it from opensuse which I have booted from the Manjaro boot menu?
Running https://github.com/arvidjaar/bootinfoscript and providing RESULTS.txt would be a good start. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
Running https://github.com/arvidjaar/bootinfoscript and providing RESULTS.txt would be a good start.
Brilliant! After reading that file, I realised what the problem was. I had copied 40_custom to 40_custom_backup before editing it, and grub2_mkconfig was picking up that backup file too and including it in the config. :/ Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Richmond