The script creates a bootable USB stick and installs Grub with the customized config.
-
Use lsblk to find the USB stick, e.g. /dev/sdb
user@host lsblk
-
Start the script with the identified device as 1st parameter
user@host sudo ./usb.sh /dev/sdb
-
Unmount the created partition
user@host sudo umount /dev/sdb1