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