Skip to content

How to create a bootable USB stick

hikalium edited this page Nov 22, 2020 · 2 revisions

macOS

Use Disk Utility and format the USB with following config:

  • Name: LIUMOS
  • Format: MS-DOS(FAT)
  • Use: Master Boot Record for a partition table

Then, run make install.

$ make install
make -C src
...
cp src/LIUMOS.ELF mnt/LIUMOS.ELF
mkdir -p mnt/EFI/EFI/
echo 'FS0:\\EFI\\BOOT\\BOOTX64.EFI' > mnt/startup.nsh
Write LIUMOS to /Volumes/LIUMOS. Are you sure? [Enter to proceed, or Ctrl-C to abort] # Press Enter here.
Disk /Volumes/LIUMOS/ ejected
install done.
Clone this wiki locally