INTL 3:770/1 3:770/3   
   REPLYADDR tnp@invalid.invalid   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: bf12a9b8   
   REPLY: 62e598c3   
   PID: SoupGate-Win32 v1.05   
   On 16/08/2024 12:52, Jesper wrote:   
   > 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 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 /me   
   ia/raspberrypi/bootfs   
   >>>>> └─sda2 8:2 0 238G 0 part /me   
   ia/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"   
   >   
   So there is no '/nvme0n1' to copy to is there?   
   IT ISN'T your NVM.   
      
   >> and   
   >> ls /dev/n*   
   >> show?   
   > raspberrypi@raspberrypi:~ $ ls /dev/n*   
   > /dev/ng0n1 /dev/null /dev/nvme0 /dev/nvme0n1   
   >   
      
   Right. so the draw device ce is /dev/nvme0   
      
   So try   
      
   sudo dd if=/dev/sda of=/dev/nvme0 bs=1M   
      
      
   Note:   
   /dev/nvme0 NOT /nvme0n1   
   1M not 1m.   
      
      
      
      
   >   
      
   --   
   “Some people like to travel by train because it combines the slowness of   
   a car with the cramped public exposure of
an airplane.”   
      
   Dennis Miller   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 90/1 103/705 105/81 106/201 124/5016 129/305 153/757   
   SEEN-BY: 153/7715 218/0 1 601 700 840 870 930 220/70 221/1 6 360 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 111 114 200 206 300 317 400 426   
   SEEN-BY: 229/428 470 550 616 664 700 240/1120 266/512 267/800 282/1038   
   SEEN-BY: 291/111 292/854 301/1 113 812 310/31 320/219 322/757 335/364   
   SEEN-BY: 341/66 342/200 396/45 460/58 633/280 712/848 770/1 3 100   
   SEEN-BY: 770/330 340 772/210 220 230 5020/400 1042 5058/104 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|