In the above, we prepared the USB memory. Finally, grub will be installed. Enter the following command.
mount&install
$sudo mkdir /mnt/boot #(1)
$sudo mount /dev/sdc1 /mnt #(2)
$sudo grub-install --target x86_64-efi --debug --efi-directory /mnt --boot-directory=/mnt/boot --removable #(3)
Enter the last command to start installing grub (characters flow at a tremendous speed, but don't rush). At the end, a No eroor reported message is displayed. By the way, I will briefly explain the above command (you can skip it)
This completes the USB installation of grub. Next article shows how to boot Linux from grub.
Recommended Posts