Re: Move bookworm system from SSD to NVME

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Move bookworm system from SSD to NVME
De : Vitsky.kasperski (at) *nospam* gmail.com (Jesper)
Groupes : comp.sys.raspberry-pi
Date : 16. Aug 2024, 12:52:58
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9neiq$1dvps$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 16.08.2024 13:23, The Natural Philosopher wrote:
On 16/08/2024 12:19, Jesper wrote:
On 16.08.2024 12:40, The Natural Philosopher wrote:
On 16/08/2024 10:04, Jesper wrote:
On 01.08.2024 21:38, Björn Lundin wrote:
On 2024-08-01 21:02, Jesper wrote:
On 01.08.2024 20:29, Ahem A Rivet's Shot wrote:
On Thu, 1 Aug 2024 19:50:20 +0200
Jesper <Vitsky.kasperski@gmail.com> wrote:
>
>
But I still do not know what a command that clones both sda1 and sda2 to NVME should look like. Please?
>
Really? It is given to you more than once
>
dd if=/dev/sda of=/dev/nvme0n1 bs=1m
>
>
Now I have the nvme installed and showing in a lsblk command.
Booted from a SD-card and did a few tries to copy the system from SSD to nvme.
First there was a complaint about the switch "1m". Changed it to "1b" and got a complaint about missing permission to open SDA (the SSD I want to copy from). Threw a sudo at it, and it ran for maybe half an hour, until it stopped with error "writing nvme0n1, No space left on device".
The SSD and the nvme have the same size, and that seems to be a problem.
  Bright ideas are welcome :-)
>
Below I have copied in what happend in the command line:
raspberrypi@raspberrypi:~ $ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 238.5G  0 disk
├─sda1        8:1    0   512M  0 part /media/raspberrypi/bootfs
└─sda2        8:2    0   238G  0 part /media/raspberrypi/rootfs
mmcblk0     179:0    0    58G  0 disk
├─mmcblk0p1 179:1    0   512M  0 part /boot/firmware
└─mmcblk0p2 179:2    0  57.5G  0 part /
nvme0n1     259:0    0 238.5G  0 disk
raspberrypi@raspberrypi:~ $ dd if=/dev/sda of=/nvme0n1 bs=1m
dd: invalid number: ‘1m’
raspberrypi@raspberrypi:~ $ dd if=/dev/sda of=/nvme0n1 bs=1b
dd: failed to open '/dev/sda': Permission denied
raspberrypi@raspberrypi:~ $ dd if=/dev/sda of=/nvme0n1
dd: failed to open '/dev/sda': Permission denied
raspberrypi@raspberrypi:~ $ sudo dd if=/dev/sda of=/nvme0n1 bs=1b
dd: error writing '/nvme0n1': No space left on device
107929249+0 records in
107929248+0 records out
55259774976 bytes (55 GB, 51 GiB) copied, 1476.65 s, 37.4 MB/s
raspberrypi@raspberrypi:~
>
Best regards
>
Thank you for the reply.
WTF is '/nvme0n1' ?
"nvme0n1" is the "fucking" NVME I have installed in the raspi5.
 Not as far as dd is concerned.
What does the outpout of
ls /n*
raspberrypi@raspberrypi:~ $ ls /n*
ls: klarte ikke å åpne '/n*': Ingen slik fil eller filkatalog
It means "Could not open /n*. No such file or catalog"

and
ls /dev/n*
show?
raspberrypi@raspberrypi:~ $ ls /dev/n*
/dev/ng0n1  /dev/null  /dev/nvme0  /dev/nvme0n1
/dev/net:
tun
raspberrypi@raspberrypi:~ $
Should the nvme have been formatted before the copying? I did not do that because the two partitions on the SSD have different formatting, one is vfat (boot), the other ext4
Best regards

 
>
It looks like you have created a file in the root directory of the device you are copying from....
I see no trace of the new file you are referring to.
>
Somehow that does not surprise me
 
Best regards
>
>
 
--
Jesper

Date Sujet#  Auteur
31 Jul 24 * Move bookworm system from SSD to NVME56Jesper
31 Jul 24 +* Re: Move bookworm system from SSD to NVME52druck
1 Aug 24 i+* Re: Move bookworm system from SSD to NVME3The Natural Philosopher
1 Aug 24 ii`* Re: Move bookworm system from SSD to NVME2druck
2 Aug 24 ii `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i`* Re: Move bookworm system from SSD to NVME48Jesper
1 Aug 24 i +* Re: Move bookworm system from SSD to NVME46The Natural Philosopher
1 Aug 24 i i`* Re: Move bookworm system from SSD to NVME45Jesper
1 Aug 24 i i +* Re: Move bookworm system from SSD to NVME43Ahem A Rivet's Shot
1 Aug 24 i i i+- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i`* Re: Move bookworm system from SSD to NVME41Jesper
1 Aug 24 i i i +- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i +* Re: Move bookworm system from SSD to NVME38Ahem A Rivet's Shot
1 Aug 24 i i i i+- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i i i i`* Re: Move bookworm system from SSD to NVME36Jesper
1 Aug 24 i i i i +* Re: Move bookworm system from SSD to NVME33Björn Lundin
2 Aug 24 i i i i i+- Re: Move bookworm system from SSD to NVME1Jesper
2 Aug 24 i i i i i+* Re: Move bookworm system from SSD to NVME18Björn Lundin
2 Aug 24 i i i i ii`* Re: Move bookworm system from SSD to NVME17The Natural Philosopher
2 Aug 24 i i i i ii `* Re: Move bookworm system from SSD to NVME16Björn Lundin
2 Aug 24 i i i i ii  `* Re: Move bookworm system from SSD to NVME15The Natural Philosopher
3 Aug 24 i i i i ii   +* Re: Move bookworm system from SSD to NVME9Björn Lundin
3 Aug 24 i i i i ii   i`* Re: Move bookworm system from SSD to NVME8The Natural Philosopher
3 Aug 24 i i i i ii   i `* Re: Move bookworm system from SSD to NVME7Björn Lundin
3 Aug 24 i i i i ii   i  `* Re: Move bookworm system from SSD to NVME6The Natural Philosopher
3 Aug 24 i i i i ii   i   `* Re: Move bookworm system from SSD to NVME5Björn Lundin
4 Aug 24 i i i i ii   i    `* Re: Move bookworm system from SSD to NVME4Computer Nerd Kev
4 Aug 24 i i i i ii   i     `* Re: Move bookworm system from SSD to NVME3The Natural Philosopher
4 Aug 24 i i i i ii   i      `* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
5 Aug 24 i i i i ii   i       `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
3 Aug 24 i i i i ii   +* Re: Move bookworm system from SSD to NVME4Lawrence D'Oliveiro
3 Aug 24 i i i i ii   i`* Re: Move bookworm system from SSD to NVME3Björn Lundin
3 Aug 24 i i i i ii   i `* Re: Move bookworm system from SSD to NVME2Richard Kettlewell
4 Aug 24 i i i i ii   i  `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
3 Aug 24 i i i i ii   `- Re: Move bookworm system from SSD to NVME1Richard Kettlewell
16 Aug 24 i i i i i`* Re: Move bookworm system from SSD to NVME13Jesper
16 Aug 24 i i i i i +* Re: Move bookworm system from SSD to NVME6The Natural Philosopher
16 Aug 24 i i i i i i`* Re: Move bookworm system from SSD to NVME5Jesper
16 Aug 24 i i i i i i `* Re: Move bookworm system from SSD to NVME4The Natural Philosopher
16 Aug 24 i i i i i i  `* Re: Move bookworm system from SSD to NVME3Jesper
16 Aug 24 i i i i i i   +- Re: Move bookworm system from SSD to NVME1Jesper
16 Aug 24 i i i i i i   `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
16 Aug 24 i i i i i +* Re: Move bookworm system from SSD to NVME3Ahem A Rivet's Shot
16 Aug 24 i i i i i i`* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
16 Aug 24 i i i i i i `- Re: Move bookworm system from SSD to NVME1Jesper
16 Aug 24 i i i i i `* Re: Move bookworm system from SSD to NVME3druck
17 Aug 24 i i i i i  `* Re: Move bookworm system from SSD to NVME2Lawrence D'Oliveiro
19 Aug 24 i i i i i   `- Re: Move bookworm system from SSD to NVME1druck
2 Aug 24 i i i i `* Re: Move bookworm system from SSD to NVME2The Natural Philosopher
2 Aug 24 i i i i  `- Re: Move bookworm system from SSD to NVME1Lawrence D'Oliveiro
1 Aug 24 i i i `- Re: Move bookworm system from SSD to NVME1druck
1 Aug 24 i i `- Re: Move bookworm system from SSD to NVME1The Natural Philosopher
1 Aug 24 i `- Re: Move bookworm system from SSD to NVME1druck
1 Aug 24 `* Re: Move bookworm system from SSD to NVME3Lawrence D'Oliveiro
1 Aug 24  +- Re: Move bookworm system from SSD to NVME1Chris Townley
1 Aug 24  `- Re: Move bookworm system from SSD to NVME1druck

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal