You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pve-usbstick.adoc 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. Install from USB Stick
  2. ----------------------
  3. ifdef::wiki[]
  4. :pve-toplevel:
  5. endif::wiki[]
  6. The {pve} installation media is a hybrid ISO image, working in two ways:
  7. * An ISO image file ready to burn on CD
  8. * A raw sector (IMG) image file ready to directly copy to flash media
  9. (USB Stick)
  10. Using USB sticks is faster and more environmental friendly and
  11. therefore the recommended way to install {pve}.
  12. Prepare a USB flash drive as install medium
  13. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14. In order to boot the installation media, copy the ISO image to a USB
  15. media.
  16. First download the ISO image from
  17. https://www.proxmox.com/en/downloads/category/iso-images-pve
  18. You need at least a 1 GB USB media.
  19. NOTE: Using UNetbootin or Rufus does not work.
  20. IMPORTANT: Make sure that the USB media is not mounted and does not
  21. contain any important data.
  22. Instructions for GNU/Linux
  23. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. You can simply use `dd` on UNIX like systems. First download the ISO
  25. image, then plug in the USB stick. You need to find out what device
  26. name gets assigned to the USB stick (see below). Then run:
  27. ----
  28. dd if=proxmox-ve_*.iso of=/dev/XYZ bs=1M
  29. ----
  30. NOTE: Be sure to replace /dev/XYZ with the correct device name.
  31. CAUTION: Be very careful, and do not overwrite the hard disk!
  32. Find Correct USB Device Name
  33. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  34. You can compare the last lines of 'dmesg' command before and after the
  35. insertion, or use the 'lsblk' command. Open a terminal and run:
  36. ----
  37. lsblk
  38. ----
  39. Then plug in your USB media and run the command again:
  40. ----
  41. lsblk
  42. ----
  43. A new device will appear, and this is the USB device you want to use.
  44. Instructions for OSX
  45. ~~~~~~~~~~~~~~~~~~~~
  46. Open the terminal (query Terminal in Spotlight).
  47. Convert the .iso file to .img using the convert option of hdiutil for example.
  48. ----
  49. hdiutil convert -format UDRW -o proxmox-ve_*.dmg proxmox-ve_*.iso
  50. ----
  51. TIP: OS X tends to put the .dmg ending on the output file automatically.
  52. To get the current list of devices run the command again:
  53. ----
  54. diskutil list
  55. ----
  56. Now insert your USB flash media and run this command again to
  57. determine the device node assigned to your flash media
  58. (e.g. /dev/diskX).
  59. ----
  60. diskutil list
  61. diskutil unmountDisk /dev/diskX
  62. ----
  63. NOTE: replace X with the disk number from the last command.
  64. ----
  65. sudo dd if=proxmox-ve_*.dmg of=/dev/rdiskX bs=1m
  66. ----
  67. NOTE: 'rdiskX', instead of 'diskX', in the last command is intended,
  68. this will increase write speed
  69. Instructions for Windows
  70. ~~~~~~~~~~~~~~~~~~~~~~~~
  71. Download Etcher from https://etcher.io , select the ISO and your USB Drive.
  72. If this doesn't work, alternatively use the OSForensics USB
  73. installer from http://www.osforensics.com/portability.html
  74. Boot your server from USB media
  75. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  76. Connect your USB media to your server and make sure that the server
  77. boots from USB (see server BIOS). Then follow the installation wizard.