Create basic folder structure
-----------------------------
- mkdir -p /tmp/bootless/{grub,custom}
- ln -s . /tmp/bootless/boot
- wget https://git.fluxo.info/bootless/plain/templates/grub.cfg -O /tmp/bootless/grub/grub.cfg
- wget https://git.fluxo.info/bootless/plain/templates/custom.cfg -O /tmp/bootless/grub/custom.cfg
+ mkdir -p bootless/boot/{grub,custom}
+ wget https://git.fluxo.info/bootless/plain/templates/grub.cfg -O bootless/boot/grub/grub.cfg
+ wget https://git.fluxo.info/bootless/plain/templates/custom.cfg -O bootless/boot/custom/custom.cfg
Edit the config files
---------------------
Create a bootable image
-----------------------
- grub-mkrescue -o output.img /tmp/bootless
+ grub-mkrescue -o bootless.iso bootless
Record the image into the USB stick
-----------------------------------
Pay attention to get the right device. If your USB stick is attached to
your computer and reachable through `/dev/sdb`, you just have to run
- sudo dd if=output.img of=/dev/sdb
+ sudo dd if=bootless.iso of=/dev/sdb