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