Liste des Groupes | Revenir à cs raspberry-pi |
On 16/08/2024 13:46, Ahem A Rivet's Shot wrote:No, it did not like the 'nvmeO'. Here is what it said:On Fri, 16 Aug 2024 11:04:26 +0200No. Again 2 things wroing.
Jesper <Vitsky.kasperski@gmail.com> wrote:
>raspberrypi@raspberrypi:~ $ sudo dd if=/dev/sda of=/nvme0n1 bs=1b>
dd: error writing '/nvme0n1': No space left on device
Your command is missing a /dev it should be:
>
sudo dd if=/dev/sda of=/dev/nvme0n1 bs=1b
/dev/nvme0 is the RAW device.
bs=1M is correct for decent transfer rate--
>bs=1M is sensible.
The "no space on device" error comes because without the /dev dd is
attempting to write a file called nvme0n1 in / but since / runs out of
space before it finishes the file is never closed and thus no directory
entry is written which is why yuou never see it.
>
Also I don't think bs=1b is likely to be a good blocksize (1
byte). If the version of dd you're using doesn't support bs=1m then try
bs=1024k or be=1048576. The idea is to get it to use the largest block size
(and thus writes) that the data path will support.
>
1Mib.
Les messages affichés proviennent d'usenet.