Community gatherings on Freenode at #tinycorelinux (webchat)
Code: [Select]$ sudo grub-install --target=x86_64-efi --boot-directory=/mnt/sdb1/EFI/BOOT --efi-directory=/mnt/sdb1 --removable How did this command work? Some of the options ("--target=x86_64-efi", "--efi-directory=/mnt/sdb1" and "--removable") were not valid arguments.
$ sudo grub-install --target=x86_64-efi --boot-directory=/mnt/sdb1/EFI/BOOT --efi-directory=/mnt/sdb1 --removable
Note: To do this, you need to boot using UEFI and not the BIOS. If you booted by just copying the ISO file to the USB drive, you will need to follow this guide or grub-install will show errors
loadfont unicodeinsmod efi_gopset gfxterm=autoterminal_output gfxtermsearch --no-floppy --fs-uuid --set=root f8422ac1-fef4-48ce-b79e-abce5a598e8amenuentry "corepure64" { linux /boot/vmlinuz64 quiet noswap tce=UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a waitusb=10:UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a tz=GMT-4 blacklist=bcma blacklist=ssb blacklist=b43 initrd /boot/rootfs64.gz /boot/modules64.gz}menuentry "corepure64_base" { linux /boot/vmlinuz64 quiet noswap tce=UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a waitusb=10:UUID=f8422ac1-fef4-48ce-b79e-abce5a598e8a tz=GMT-4 blacklist=bcma blacklist=ssb blacklist=b43 base norestore initrd /boot/rootfs64.gz /boot/modules64.gz}