I have a UEFI netbook with an installed Lubuntu 20.04 where I can't install grub on the hard disk (strange problem with the UEFI/BIOS system). But I can launch it with supergrub2. It finds the hd partition and launches it. Now I would like to create a bootable usb stick (the netbook looks for a usb stick by default) which contains the EFI partition and grub which then starts the ubuntu on the hard disk. How can I do that? Thanks!
thanks for your ideas. I think starting from usb doesn't work as well because of UEFI/BIOS bugs. But I found a solution:
- get Ubuntu 20.04 mini.iso (see post 'Installing GRUB onto a USB stick (Server 20.04)'
- burn iso to a usb stick
- append the menu entry found in /boot/grub/grub.cfg on my hdd to the one on the usb stick (I had to change hdb2 to hda2 and hd1 to hd0 for some reason).
You can try the following method:
Put an installed Ubuntu system into a USB drive (size >= 16 GB) by extracting/cloning from a compressed image file. Use the method described in the following link,
Boot into the Ubuntu system in a USB drive.
Run the following command line (in a terminal window)
If there is a good Ubuntu system in the internal drive, it should be recognized by
update-grub, and a grub menuentry should be created, so that you can boot into the Ubuntu system in the internal drive.