mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update copy_image.md
This commit is contained in:
parent
7a6120d0b7
commit
08ef41a39c
1 changed files with 19 additions and 5 deletions
|
@ -1,11 +1,20 @@
|
||||||
# Copy an image to an SD card
|
# Copy an image to an SD card
|
||||||
|
|
||||||
|
Now that you have the YunoHost image, you have to copy its content to an SD card.
|
||||||
|
The process differs regarding your operating system.
|
||||||
|
|
||||||
|
<img src="https://yunohost.org/images/sdcard.jpg" width=150>
|
||||||
|
|
||||||
## On Windows
|
## On Windows
|
||||||
|
|
||||||
* Download and install **[Win32 Disk Imager](http://sourceforge.net/projects/win32diskimager/)**
|
* Download and install **[Win32 Disk Imager](http://sourceforge.net/projects/win32diskimager/)**
|
||||||
* Plug your SD card in
|
* Plug your SD card in
|
||||||
* Copy the `raspberry-latest.img` file to your SD card using Win32 Disk Imager.
|
* Copy the `raspberry-latest.img` file to your SD card using Win32 Disk Imager.
|
||||||
|
|
||||||
## On GNU/Linux, BSD or Mac OS X
|
<img src="https://yunohost.org/images/win32diskimager.png">
|
||||||
|
|
||||||
|
## On GNU/Linux, BSD or Mac OS
|
||||||
|
|
||||||
* Open a terminal
|
* Open a terminal
|
||||||
* Plug your SD card in
|
* Plug your SD card in
|
||||||
* Identify the device name by typing:
|
* Identify the device name by typing:
|
||||||
|
@ -19,13 +28,18 @@ It should be `/dev/diskN`, where `N` is a number, or `/dev/sdX`, where `X` is a
|
||||||
* Copy the image by typing:
|
* Copy the image by typing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo dd bs=1M if=/path/to/your/raspberry-latest.img of=/your/device/name
|
sudo dd bs=1M if=/path/to/your/yunohost-latest.img of=/your/device/name
|
||||||
```
|
```
|
||||||
|
|
||||||
Do not forget to change `/path/to/your/raspberry-latest.img` and `/your/device/name` with the appropriate values.
|
Do not forget to change `/path/to/your/yunohost-latest.img` and `/your/device/name` with the appropriate values.
|
||||||
|
|
||||||
The command may take a few minutes, then your SD card will be ready to use. **:-)**
|
The command may take a few minutes, then your SD card will be ready to use. **:-)**
|
||||||
|
|
||||||
## Resize the root partition <small>(optional)</small>
|
## Expand the root partition <small>(optional)</small>
|
||||||
|
|
||||||
To be written...
|
By default, the root partition of your SD card is very small.
|
||||||
|
You can resize it by using software like `resize2fs` (command-line) or `gparted` (graphical).
|
||||||
|
|
||||||
|
<img src="https://yunohost.org/images/gparted.jpg" style="max-width:100%;border-radius: 5px;border: 1px solid rgba(0,0,0,0.15);box-shadow: 0 5px 15px rgba(0,0,0,0.35);">
|
||||||
|
|
||||||
|
<p class="text-muted">Preview of the Gparted window</p>
|
Loading…
Reference in a new issue