grub not installed to selected location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When installing Xubuntu to a USB drive, grub was installed to the computer's hard drive rather than the USB as selected.
I attempted to install Xubuntu 22.04 on a USB drive by using the "Something else" installation option. Booted into a Xubuntu 22.04 live USB (/dev/sda) using UEFI boot. I created an EFI system partition (250MB), a swap partition (4000MB), and a root partition (the remaining 120000-ish MB) on the destination USB drive (/dev/sdb). I also selected the destination USB (/dev/sdb) in the "Device for loader installation:" drop down (please see attached screenshot). I have used this configuration successfully for several Xubuntu 20.04 installs, so I have no reason to believe there is an issue with these options/
The installation completes normally, and there does not appear to be an issue as the system will reboot into the USB drive (/dev/sdb during installation), but the computer will not boot correctly if the USB drive is removed, and the USB cannot be booted from on another computer. It appears that grub was at least partially installed on the computer hard drive (/dev/nvme0n1 in my case). /dev/nvme0n1 contains a factory Windows 11 install and a Xubuntu 20.04 install, if that is relevant.
In 20.04, this processes resulted in a USB drive that could be booted from on any computer using UEFI booting while leaving the computer hard drive alone. This appears to no longer be the case with 22.04.
This is my first bug submission, so please let me know if I failed to correctly submit this bug or if additional information is needed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Fri Apr 29 14:08:08 2022
InstallCmdLine: BOOT_IMAGE=
InstallationDate: Installed on 2022-04-29 (0 days ago)
InstallationMedia: Xubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.