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