Public bug reported:

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/configuration.

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)
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Fri Apr 29 14:08:08 2022
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/xubuntu.seed 
maybe-ubiquity quiet splash ---
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)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy ubiquity-22.04.15

** Attachment added: "Screenshot of installation options"
   
https://bugs.launchpad.net/bugs/1970995/+attachment/5585227/+files/Screenshot_2022-04-29_18-38-45.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970995

Title:
  grub not installed to selected location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1970995/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to