]> git.sur5r.net Git - bacula/rescue/commitdiff
Final USB update for now ...
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 17:27:26 +0000 (17:27 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 17:27:26 +0000 (17:27 +0000)
rescue/linux/usb/partition_usb_key
rescue/linux/usb/write_usb_boot_partition

index 825400a82c7d0011e5077a0b13f3d428f4f223ea..98c944ec416d5a21937a6b3989873b1168ad4d66 100755 (executable)
@@ -68,6 +68,4 @@ umount ${USB_DEV}2
 mkfs.ext2 -j -b 4096 -L casper-rw ${USB_DEV}2
 umount ${USB_DEV}3
 mkfs.ext2 -j -b 4096 -L home-rw ${USB_DEV}3
-syslinux -sf ${USB_DEV}1
-install-mbr -p1 ${USB_DEV}
 sync
index 927b970514bef73d24d4d5800643d082c157bd96..be4c45f40b28cd6463e97d8c070edf2eb03c7742 100755 (executable)
@@ -34,6 +34,8 @@ echo "Detaring boot image ..."
 tar xfz ${BOOT_IMAGE}
 cd ${CWD}
 
+syslinux -sf ${USB_DEV}1
+install-mbr -p1 ${USB_DEV}
 echo "syncing ..."
 sync
 sync