Skip to content

Commit 7675855

Browse files
adesseinJamesH65
authored andcommitted
Update linux.md - error in filenames (raspberrypi#1221)
Change *stretch* for *buster* in the .img and .zip filenames.
1 parent 53a14a6 commit 7675855

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

installation/installing-images/linux.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- 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`; `mmcblk0`, not `mmcblk0p1`.
2121

2222
```bash
23-
dd bs=4M if=2019-07-10-raspbian-stretch.img of=/dev/sdX conv=fsync
23+
dd bs=4M if=2019-07-10-raspbian-buster.img of=/dev/sdX conv=fsync
2424
```
2525

2626
- Please note that block size set to `4M` will work most of the time. If not, try `1M`, although this will take considerably longer.
@@ -33,7 +33,7 @@ In Linux it is possible to combine the unzip and SD copying process into one com
3333

3434
The following command unzips the zip file (replace 2019-07-10-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.
3535
```
36-
unzip -p 2019-07-10-raspbian-stretch.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
36+
unzip -p 2019-07-10-raspbian-buster.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
3737
```
3838

3939
### Checking the image copy progress
@@ -42,7 +42,7 @@ unzip -p 2019-07-10-raspbian-stretch.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
4242

4343
- To see the progress of the copy operation, you can run the dd command with the status option.
4444
```
45-
dd bs=4M if=2019-07-10-raspbian-stretch.img of=/dev/sdX status=progress conv=fsync
45+
dd bs=4M if=2019-07-10-raspbian-buster.img of=/dev/sdX status=progress conv=fsync
4646
```
4747
- 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. Another method is to send a USR1 signal to `dd`, which will let it print status information. Find out the PID of `dd` by using `pgrep -l dd` or `ps a | grep dd`. Then use `kill -USR1 PID` to send the USR1 signal to `dd`.
4848

@@ -66,11 +66,11 @@ We need the number `xxx`, which is the block count. We can ignore the `yyy` numb
6666
6767
- In case the SD card image is still larger than the original image, truncate the new image to the size of the original image using the following command (replace the input file `reference` argument with the original image name):
6868
```bash
69-
truncate --reference 2019-07-10-raspbian-stretch.img from-sd-card.img
69+
truncate --reference 2019-07-10-raspbian-buster.img from-sd-card.img
7070
```
7171
- Compare the two images: `diff` should report that the files are identical.
7272
```bash
73-
diff -s from-sd-card.img 2019-07-10-raspbian-stretch.img
73+
diff -s from-sd-card.img 2019-07-10-raspbian-buster.img
7474
```
7575
- Run `sync`. This will ensure that the write cache is flushed and that it is safe to unmount your SD card.
7676

0 commit comments

Comments
 (0)