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