Having some issues getting grub to boot Manjaro in a SSD that I moved out of my '09 MacBookPro to a '12 Mac Mini. It was set up so that Manjaro was what was booted by grub over using option key to boot a couple of OSX versions. Today, booting in the Mini it loads a grub error window, the flashing grub prompt which I have to type “reboot” and the system reboots. I have a SuperGrub2 drive plugged in so I need to select that to get back into Manjaro.
When I did that I tried to run a pacman -Syu and that errored out several times due to GPG?? key “corruption”?? I looked at the forum here and saw another post about update problems when using the GUI updater, so I did that, and it went through. Grub was “updated” in that process, but shutting down and cold boot, back to grub error. Looked at the forum again, found #update-grub" and I ran that and it showed the various OSs in osprober, but on cold boot, same problem. Have to use SG2 to get into Manjaro.
Then I went back to GUI updater and ran “reinstall grub” and it quickly went through . . . but same problem.
Any idea on how to get Manjaro to boot via grub rather than via SG2?? I am typing this in Manjaro, so the system itself is working fine . . . running now 6.12 kernel, but it won’t “discover itself” in grub menu on cold booting?? Any way to get Manjaro pointed in the right direction to be self-motivating, not requiring constant directional advice from SG2???
Please try to give more precise information generally, which might give others a better understanding of issues you are facing.
Examples:
What was the actual error given?
The actual error is more informative than your description of the error. Posting the command and full output of sudo pacman -Syu in this case is much more useful.
Exactly what did that forum post tell you to do? At bearest minimum, a link to that might have been helpful; recreating the commands used in this thread is better.
Again, the outputs of these commands are more useful than (paraphrasing) “it didn’t work”.
Please observe information given below, and provide system information as described. This information may be obtained after booting to a Manjaro Live environment on the latest Manjaro Installer ISO, if needed.
Please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit:
Thank you for the guidance, I ran the last “inxi” command it provided a long list of things . . . didn’t need to take up the cyber space posting it here.
I think it could simply be said, when this SSD was in my laptop Manjaro booted itself with grub properly. Now, moved over to a small desktop grub just goes to a grub prompt window . . . rather than booting through to Manjaro. So I have to use SG2 to boot Manjaro. I tried the various steps to get grub back to working properly but none of them worked. Is there a “grub-mkconfig” command to run in Manjaro that might revive it??
The command given filters all personally identifiable information from the output, if that concerns you. Run it once or twice before posting the output to see for yourself.
I see. Here are a few links which might be helpful:
Thanks for the link to the restore the GRUB Bootloader . . . ran the mkconfig command and then for good measure ran the install grub via pacman command, and it ran through and showed the various kernels and the two OSX options that are in the drive. I’m just posting it here because now I’m going to shut down and see if grub will pick itself up, or not.
# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.12-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.12-x86_64.img
Found initrd fallback image: /boot/initramfs-6.12-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Mac OS X on /dev/sda2
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
done
[edit] Hmm . . . nope, it goes to a GRUB BASH prompt on cold boot. I did see something in the last bit before shutting down showing that it still thinks it is running in the laptop, rather than now the new desktop . . . … Guess I’ll have to play on with it, when I get some more time. [/edit]
Feel free to open a new Support thread when that time comes.
A fresh installation is the obvious workaround, rather than trying to take shortcuts such as this, which were always likely to produce unforeseen complications that forum Members are unlikely to predict without better disclosure of information.
As it stands, without any actionable details forthcoming, I see no benefit in this thread remaining open.