blob: c0627f9e6adf187f25894b443312a416cc2cf0e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Rough steps to install on USB with a FAT partition, from a booted ISO:
We assume /dev/sda is the USB stick.
fdisk /dev/sda
# mark as bootable!
mkfs.vfat -n VOID_LIVE /dev/sda1
mount /dev/sda1 /mnt
rsync -avP -x /run/initramfs/live/ /mnt/
mv /mnt/boot/isolinux /mnt/boot/syslinux
mv /mnt/boot/syslinux/isolinux.cfg /mnt/boot/syslinux/syslinux.cfg
syslinux -d boot -i /dev/sda1
dd if=/usr/share/syslinux/mbr.bin of=/dev/sda conv=notrunc
|