about summary refs log tree commit diff
path: root/INSTALL.usb
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-10-28 20:43:44 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-10-28 20:43:44 +0100
commit59f308eff58014a421e0132fde8353f261749c17 (patch)
tree27b91c5c19415a893c887f8b45856ef632b05111 /INSTALL.usb
parent18650ece423d09909fe5cf4eeaca2e6cac211bd3 (diff)
downloadhrmpf-59f308eff58014a421e0132fde8353f261749c17.tar.gz
hrmpf-59f308eff58014a421e0132fde8353f261749c17.tar.xz
hrmpf-59f308eff58014a421e0132fde8353f261749c17.zip
INSTALL.usb: update.
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