Booting Ubuntu on the hard disk from USB
Ralf Mardorf
kde.lists at yahoo.com
Sun Jun 20 16:04:07 UTC 2021
On Sun, 20 Jun 2021 17:34:52 +0200, Liam Proven wrote:
>/dev/sda5
Hi Liam,
perhaps sda5 is the culprit? Try by UUID or boot the live Linux on the
stick and install the Ubuntu package "systemd-container" or whatever
it's called by a non-Ubuntu live Linux.
By running
sudo systemd-nspawn -bqD /mnt_point
you can boot the Ubuntu install, from the USB stick's install in a
container and then install almost everything, even the grub package/s,
but not grub.
To install grub, just boot the live Linux and _do not_ use the systemd
container approach, since it won't work. I'm using syslinux, not
grub anymore, so I need to google...
https://help.ubuntu.com/community/Grub2/Installing#Fixing_a_Broken_System
sudo grub-install --boot-directory=[...]
does the trick.
Regards,
Ralf
PS: I tend to use labels, however, for me sdX is quasi always
consistent, too, but you never know, especially after inserting an USB
stick and changing the boot device order by the "BIOS" might make usage
of sdX tricky/fishy. Just a thought ;)!
More information about the ubuntu-users
mailing list