I just tried to install Kubuntu 24.04 on my dual boot system and received the error message "The bootloader could not be installed The installation command <pre>grub-install-target=i386-pc-recheck-force/dev/nvmeon1</pre>return an error code 1" The machine has two hard drives with windows on one and my Linux installations on the second. nvme0n1 is the windows drive. Now Grub has disappeared and I cannot boot either my existing Neon nor Kubuntu on the second drive. Windows still works, Any suggestion would be appreciated.
Announcement
Collapse
No announcement yet.
Grub install error
Collapse
X
-
Welcome.
More detailed informations, please. Hardware, software/systems, set-up…
What did you exactly do during the installation? For example: did you choose the "Manual Installation" option?
Did you check your UEFI (I presume it is UEFI and not "legacy" BIOS) if it is set to boot from the "Linux drive" first? What does the UEFI boot menu show?
Generally: if you really "destroyed"/erased your GRUB boot loader you could start from a live Linux system (e.g. from an USB stick), chroot into the system you want to control GRUB and reinstall GRUB to the drive.
You can either do this "by hand" or use something like the "Rescue Mode" of a Debian installation DVD to do so.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
-
Originally posted by Saordubh View PostI just tried to install Kubuntu 24.04 on my dual boot system and received the error message "The bootloader could not be installed The installation command <pre>grub-install-target=i386-pc-recheck-force/dev/nvmeon1</pre>return an error code 1" The machine has two hard drives with windows on one and my Linux installations on the second. nvme0n1 is the windows drive. Now Grub has disappeared and I cannot boot either my existing Neon nor Kubuntu on the second drive. Windows still works, Any suggestion would be appreciated.
https://help.ubuntu.com/community/Boot-Repair
- Top
- Bottom
Comment
-
Originally posted by Saordubh View PostIgrub-install-target=386-pc-recheck-force
I suspect that when you booted the install media, you booted in BIOS mode, sometimes called compatibility mode. If that's not what you want, when you boot the install media, look for a UEFI option, or use the firmware settings to turn off compatibility mode.
Regards, John Little
- Top
- Bottom
- Likes 1
Comment
-
Thanks for the responses. I solved my problem by running the install again, but selecting the manual partition method. This allowed me to specify which drive was to host GRUB. Once pointed at the correct SSD the installation proceeded flawlessly. Problem Solved.
- Top
- Bottom
Comment
Comment