Browse Source

Doc updates

Antony Messerli 9 years ago
parent
commit
75f13207f8
2 changed files with 51 additions and 5 deletions
  1. 2 2
      docs/boot_ipxe.md
  2. 49 3
      docs/boot_usb.md

+ 2 - 2
docs/boot_ipxe.md

@@ -5,7 +5,7 @@
 If you've already compiled your own iPXE, you can load up the netboot.xyz menu easily by entering CTRL-B when prompted setting DHCP and then chainloading iPXE:
 
     dhcp
-    chain http://boot.netboot.xyz/menu.ipxe
+    chain --autofree http://boot.netboot.xyz
 
 If you don't have DHCP on your network, you can manually set your network information:
 
@@ -14,4 +14,4 @@ If you don't have DHCP on your network, you can manually set your network inform
     set net0/gateway <gateway>
     set dns <nameserver>
     ifopen net0
-    chain http://boot.netboot.xyz/menu.ipxe
+    chain --autofree http://boot.netboot.xyz

+ 49 - 3
docs/boot_usb.md

@@ -1,12 +1,14 @@
-### Boot from iPXE USB
+### Booting from a USB Key
 
 *Warning: Backup your important data before using USB as it will overwrite anything on the USB key.*
 
-Download a netboot.xyz disk:
+Download a netboot.xyz USB disk:
 
 * [dhcp](http://boot.netboot.xyz/ipxe/netboot.xyz-dhcp.usb) - Automatically detects your networking
 * [static](http://boot.netboot.xyz/ipxe/netboot.xyz-static.usb) - Prompts for manual entry of your networking information
 
+### Creating USB Key on Linux
+
 Insert a USB key in your compute and find the device name. Then use following command:
 
     cat ipxe.usb > /dev/sdX
@@ -17,4 +19,48 @@ or
 
 where sdX is your usb drive.
 
-Reboot and set your BIOS to load the USB key first if it's not set for that already.  You should see iPXE load up either load up netboot.xyz automatically or prompt you to set your networking information up.
+The USB key should be ready to eject once finished.
+
+### Creating USB Key on OS X
+
+__Run:__
+
+    diskutil list
+
+to get the current list of devices
+
+___Insert the flash media.___
+
+__Run:__
+
+    diskutil list
+
+again and determine the device node assigned to your flash media (e.g. /dev/disk2).
+
+__Run:__
+
+    diskutil unmountDisk /dev/diskN
+
+(replace N with the disk number from the last command; in the previous example, N would be 2).
+
+__Execute:__
+
+    sudo dd if=netboot.xyz-dhcp.usb of=/dev/rdiskN bs=1m
+
+* Using /dev/rdisk instead of /dev/disk may be faster
+* If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M
+* If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive
+
+__Run:__
+
+    diskutil eject /dev/diskN
+
+and remove your flash media when the command completes.
+
+### Creating USB Key on Windows
+
+Check out [Universal USB Installer](http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/) to install the ISO file to a USB key.
+
+### Booting
+
+Once you've created your key, reboot and set your BIOS to load the USB key first if it's not set for that already. You should see iPXE load up either load up netboot.xyz automatically or prompt you to set your networking information up.