Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8051

Advanced users • Re: Using dd during initramfs stage is slow, how to improve the speed?

$
0
0
Can you provide the dd commands you've tried? Perhaps the fastest and slowest if you have that data?
In my script that runs in initramfs which is a different use case than yours (likely only run once vs run regularly), I use

Code:

dd bs=4k count=$partsize if=$rootfs of=$sdisk
I did share the code in my original post. Comparing with yours, seems like not many differences except with the block size, you're using much smaller chunk than mine. Currently I'm using 50MB. I did not try lower it to smaller than 10MB so maybe I can try that to see if the speed improves if the chunk is a lot smaller.

Statistics: Posted by rasp14 — Mon May 26, 2025 11:50 pm



Viewing all articles
Browse latest Browse all 8051

Trending Articles