少点错误 2024年09月23日
Switching to a 4GB SD
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

作者讲述将计算机部分的节奏舞台设置切换到Raspberry PI后,对SD卡的选择和系统设置的调整,包括减小SD卡容量以加快复制速度,以及解决空间不足的问题。

🎈作者最初使用32GB SD卡,后因需求不大且大卡复制慢,决定改用4GB SD卡。但在为Raspberry Pi OS Lite(64位)镜像时,出现空间不足的问题。

💻经过apt-get purge和apt-get clean操作后,作者节省出约300MB空间,且认为若进一步精简分布,空间还可更小,因仅需145MB的sound font。

🤔作者曾因SD卡易损坏而准备多个备用卡,现认为Raspberry PI不再负责低音哨后,硬件虽未变,但系统损坏情况减少。

Published on September 23, 2024 11:20 AM GMT

When I initially switched the computer portion of my rhythm stage setup over to a Raspberry PI Iwent with a 32GB SD card because that'srecommended. But I don't need very much space for what I'm doingand a bigger SD card makes copies slow: the cheap cards I've beenusing take me over anhour to write with my Mac's card reader.

I recently made some changes to my setup, removing supportfor bass whistle on the PI (now that I have an arduino-based version) and addingsupport for morefoot-bass options. This normally means round of re-imaging all ofmy SD cards: I have a bunch of them because SD card corruption isprobably the most common reason my system breaks [1], and it's easy tohave extra cards. I'm pretty sick of 82-minute waits, however, so Idecided to go down to four-GB SD cards.

I imaged a card with RaspberryPi OS Lite (64-bit), started setting it up, and immediately ranout of space. Turns out apt-get update and apt-getupgrade can use a lot of space. After apt-getpurge and apt-get clean, however, I had about300MB to spare. It would probably be possible to get a litedistribution to go a lot smaller than this, since the only actuallylarge thing I need is the sound font, fluid-soundfont-gmat 145MB, but this seems to work fine.

Regardless, it works great, and I can now image a card in 15min:

$ time sudo dd if=~/Desktop/rpi-4gb.dmg of=/dev/disk47782400+0 records in7782400+0 records out3984588800 bytes transferred in 877.723067 secs (4539688 bytes/sec)real       14m41.556suser       0m3.299ssys        0m28.741s


[1] This used to happen a lot, but now mostly doesn't. The hardwarehasn't changed, so I think the reason it has stopped happening is thatmy Raspberry PI is no longer responsible for the bass whistle. MyMIDI router doesn't write to the file system, and doesn't read beyondinitialization, while the bass whistle version used the file system topersist settings across reboots.

Comment via: facebook, mastodon



Discuss

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Raspberry PI SD卡 系统设置 空间优化
相关文章