Sujet : Re: Move bookworm system from SSD to NVME
De : steveo (at) *nospam* eircom.net (Ahem A Rivet's Shot)
Groupes : comp.sys.raspberry-piDate : 16. Aug 2024, 13:46:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240816134636.fbba8036a655261319ac9e81@eircom.net>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0)
On Fri, 16 Aug 2024 11:04:26 +0200
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
_______________________^^^^^
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.
-- Steve O'Hara-SmithOdds and Ends at http://www.sohara.org/For forms of government let fools contestWhate're is best administered is best - Alexander Pope