Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v9nflp$1e5qm$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v9nflp$1e5qm$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Jesper <Vitsky.kasperski@gmail.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Move bookworm system from SSD to NVME
Date: Fri, 16 Aug 2024 14:11:36 +0200
Organization: A noiseless patient Spider
Lines: 111
Message-ID: <v9nflp$1e5qm$1@dont-email.me>
References: <v8cqd6$1gdnp$1@dont-email.me> <v8e73l$1o2dm$1@dont-email.me>
 <v8frll$24ic1$1@dont-email.me> <v8ft4f$250uj$1@dont-email.me>
 <v8gamm$28554$1@dont-email.me>
 <20240801171000.46ce321a2dd0cb03be7cba00@eircom.net>
 <v8ghss$290sp$1@dont-email.me>
 <20240801192923.a827ba8d22853e9bc6c5cfb3@eircom.net>
 <v8gm3e$2atj2$1@dont-email.me> <v8go75$2bmb1$1@dont-email.me>
 <v9n4mr$1cjga$1@dont-email.me> <v9naa3$1df7s$1@dont-email.me>
 <v9ncjo$1dn12$1@dont-email.me> <v9ncr7$1dpc0$1@dont-email.me>
 <v9neiq$1dvps$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 16 Aug 2024 14:11:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="17772ed1daff0f8081d33372c4199c66";
	logging-data="1513302"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/0Jzqpe74+M+Ww0rhBo3VS"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:nUA/HsU+ehmAbHBPEw3ldNaXSlU=
Content-Language: da, en-GB
In-Reply-To: <v9neiq$1dvps$1@dont-email.me>

On 16.08.2024 13: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 <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
> 
does this give you any clues:
raspberrypi@raspberrypi:~ $ ls -l /dev/disk/by-uuid
totalt 0
lrwxrwxrwx 1 root root 10 aug.  16 13:53 
cb6f0e18-5add-4177-ab98-e9f0235e06b3 -> ../../sda2
lrwxrwxrwx 1 root root 10 aug.  16 13:53 D3E6-3F09 -> ../../sda1
lrwxrwxrwx 1 root root 10 aug.  16 13:53 F40B-6C7F -> ../../sdb1
raspberrypi@raspberrypi:~ $

>>
>>
>>>>
>>>> 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