summary refs log tree commit diff
path: root/INSTALL.usb
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.usb')
-rw-r--r--INSTALL.usb8
1 files changed, 4 insertions, 4 deletions
diff --git a/INSTALL.usb b/INSTALL.usb
index 775bf46..c0627f9 100644
--- a/INSTALL.usb
+++ b/INSTALL.usb
@@ -3,12 +3,12 @@
 We assume /dev/sda is the USB stick.
 
 	fdisk /dev/sda
-	mkfs.vfat -n VOID_LIVE
+	# mark as bootable!
+	mkfs.vfat -n VOID_LIVE /dev/sda1
 	mount /dev/sda1 /mnt
 	rsync -avP -x /run/initramfs/live/ /mnt/
-	syslinux -d boot -i /dev/sda1
-	mkdir /mnt/boot/syslinux
 	mv /mnt/boot/isolinux /mnt/boot/syslinux
 	mv /mnt/boot/syslinux/isolinux.cfg /mnt/boot/syslinux/syslinux.cfg
-	dd if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sda conv=notrunc
+	syslinux -d boot -i /dev/sda1
+	dd if=/usr/share/syslinux/mbr.bin of=/dev/sda conv=notrunc