8000 jessie->stretch (#713) · macmpi/documentation@2e0ffe1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e0ffe1

Browse files
XECDesignJamesH65
authored andcommitted
jessie->stretch (raspberrypi#713)
1 parent 298afe8 commit 2e0ffe1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

installation/installing-images/linux.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
- In a terminal window, write the image to the card with the command below, making sure you replace the input file `if=` argument with the path to your `.img` file, and the `/dev/sdX` in the output file `of=` argument with the correct device name. This is very important, as you will lose all the data on the hard drive if you provide the wrong device name. Make sure the device name is the name of the whole SD card as described above, not just a partition. For example: `sdd`, not `sdds1` or `sddp1`, and `mmcblk0`, not `mmcblk0p1`.
2525

2626
```bash
27-
dd bs=4M if=2017-08-16-raspbian-jessie.img of=/dev/sdX conv=fsync
27+
dd bs=4M if=2017-08-16-raspbian-stretch.img of=/dev/sdX conv=fsync
2828
```
2929

3030
- Please note that block size set to `4M` will work most of the time. If not, try `1M`, although this will take considerably longer.
@@ -35,9 +35,9 @@
3535

3636
In Linux it is possible to combine the unzip and SD copying process into one command, which avoids any issues that might occur when the unzipped image is larger than 4GB. This can happen on certain filesystems that do not support files larger than 4GB (e.g. FAT), although it should be noted that most Linux installsations do not use FAT and therefore do not have this limitation.
3737

38-
The following command unzips the zip file (replace 2017-08-16-raspbian-jessie.zip with the appropriate zip filename), and pipes the output directly to the dd command. This in turn copies it to the SD card, as described in the previous section.
38+
The following command unzips the zip file (replace 2017-08-16-raspbian-stretch.zip with the appropriate zip filename), and pipes the output directly to the dd command. This in turn copies it to the SD card, as described in the previous section.
3939
```
40-
unzip -p 2017-08-16-raspbian-jessie.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
40+
unzip -p 2017-08-16-raspbian-stretch.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
4141
```
4242

4343
### Checking the image copy progress
@@ -46,7 +46,7 @@ unzip -p 2017-08-16-raspbian-jessie.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
4646

4747
- To see the progress of the copy operation, you can run the dd command with the status option.
4848
```
49-
dd bs=4M if=2017-08-16-raspbian-jessie.img of=/dev/sdX status=progress conv=fsync
49+
dd bs=4M if=2017-08-16-raspbian-stretch.img of=/dev/sdX status=progress conv=fsync
5050
```
5151
- If you are using an older version of `dd`, the status option may not be available. You may be able to use the `dcfldd` command instead, which will give a progress report showing how much has been written.
5252

@@ -58,8 +58,8 @@ unzip -p 2017-08-16-raspbian-jessie.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
5858

5959
```bash
6060
dd bs=4M if=/dev/sdX of=from-sd-card.img
61-
truncate --reference 2017-08-16-raspbian-jessie.img from-sd-card.img
62-
diff -s from-sd-card.img 2017-08-16-raspbian-jessie.img
61+
truncate --reference 2017-08-16-raspbian-stretch.img from-sd-card.img
62+
diff -s from-sd-card.img 2017-08-16-raspbian-stretch.img
6363
```
6464

6565
- Run `sync`. This will ensure the write cache is flushed and that it is safe to unmount your SD card.

installation/installing-images/mac.md

Lines changed: 4 additions & 4 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This will take a few minutes, depending on the size of the image file. To check
4646
4747
`sudo dd bs=1m if=image.img of=/dev/rdisk<disk# from diskutil> conv=sync`
4848
49-
where `disk` is your BSD name e.g. `sudo dd bs=1m if=2017-08-16-raspbian-jessie.img of=/dev/rdisk4 conv=sync`
49+
where `disk` is your BSD name e.g. `sudo dd bs=1m if=2017-08-16-raspbian-stretch.img of=/dev/rdisk4 conv=sync`
5050
5151
- This may result in a ``dd: invalid number '1m'`` error if you have GNU
5252
coreutils installed. In that case, you need to use a block size of `1M` in the `bs=` section, as follows:
@@ -58,11 +58,11 @@ This will take a few minutes, depending on the size of the image file. To check
5858
- If this command still fails, try using `disk` instead of `rdisk`, for example:
5959
6060
```
61-
sudo dd bs=1m if=2017-08-16-raspbian-jessie.img of=/dev/disk4 conv=sync
61+
sudo dd bs=1m if=2017-08-16-raspbian-stretch.img of=/dev/disk4 conv=sync
6262
```
6363
or
6464
```
65-
sudo dd bs=1M if=2017-08-16-raspbian-jessie.img of=/dev/disk4 conv=sync
65+
sudo dd bs=1M if=2017-08-16-raspbian-stretch.img of=/dev/disk4 conv=sync
6666
```
6767
6868
## Alternative method
@@ -85,7 +85,7 @@ These commands and actions must be performed from an account that has administra
8585
- In the terminal, write the image to the card with this command, using the raw device name from above. Read the above step carefully to make sure that you use the correct `rdisk` number here:
8686
8787
```
88-
sudo dd bs=1m if=2017-08-16-raspbian-jessie.img of=/dev/rdisk3 conv=sync
88+
sudo dd bs=1m if=2017-08-16-raspbian-stretch.img of=/dev/rdisk3 conv=sync
8989
```
9090
9191
If the above command reports the error `dd: bs: illegal numeric value`, change the block size `bs=1m` to `bs=1M`.

0 commit comments

Comments
 (0)
0