看板 Linux 關於我們 聯絡資訊
前些時候 分享了新版 在x86_64上用的小型多重開機片 iso與loopfile 然後也想在樹莓派上做一個 幾番試驗發現linuxrc內的寫法與x86_64不同 if [ ]; then 改成 if [ ] ; then 就可以了 linuxrc存於initrd8_5_10_11內 再來正好看前幾篇提到復古風 lynx, 看圖的, media player... 還有想說我的樹莓派3B+ RAM少 但是上PTT比pc省電 所以google了文字模式console的中文顯示與輸入 必需安裝fbterm, fcitx, fcitx-fbterm 與要用的輸入法 (參考blog大樹爸爸) 因為要用到locale 猜想不能再靠busybox 一夫當關了 用gentoo + 正常的glibc與一些少量相依packages 做出來有500MiB 壓成squashfs有100MiB 下載url, 同一行 https://drive.google.com/file/d/1HUsxtchABwmt-WFELYudsrvevZvaY_Cp/view? usp=drivesdk 安裝方式Installation: 1. copy kernel8_5_10_11 and initrd8_5_10_11 to Boot_Partition( /dev/mmcblk0p1 ) 2. copy cmdline.txt to Boot_Partition( /dev/mmcblk0p1 ) and change ovl_dev0= ovl_mnt0= ovl_loopfile0= to fit the real position where the file fbterm_a64_9.sqfs stored. 3. change or add these 2 lines to your Boot_Partition/config.txt kernel=kernel8_5_10_11 initramfs initrd8_5_10_11 使用Usage: 1. boot and login as root or demo user/passwd: root/root demo/rpi64 2. run /opt/bin/fbterm.sh 3. LeftCTRL-SPACE to toggle fcitx on/off. 4. LeftCTRL-LeftShift to swith input methods (chewing/xiamy) when fcitx is on. 用Gentoo製作過程How I Build using gentoo: 1. prepare a new ext4 partition mounted at /somewhere 2. ROOT=/somewhere emerge -a some_packages 3. some_packages are choosed from the list below ( package name with a leading number is required) 000_baselayout 00_sys-process_procps 01_openrc 02_udev-init-scripts 03_e2fsprogs 04_openssh 05_coreutils 06_sys-apps_kbd 07_sys-apps_net-tools 08_bash 09_acct-user_messagebus 10_fbterm 11_fcitx 12_fcitx-fbterm (get it from sourceforge and install manually) fcitx-chewing wpa_supplicant ( if using wifi ) bluez ( if using bluethooth keyboard ) busybox vim bc sys-apps_portage gentoolkit @system (superset of system packages) 應該可以用到X86_64版本上 ps:rpi3-bluetooth rpi3-ondemaind come from Sakaki's genpi64.img . -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.241.95.84 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1618623654.A.DB7.html ※ 編輯: czm (111.241.95.84 臺灣), 04/17/2021 09:47:02
pichubaby: 推 04/17 12:14
holishing: Cool 04/18 00:07
czm: google linux CLI,有fbida,fbgrab,mplayer,w3m,htop,tmux可裝 04/18 03:55
holishing: mplayer 的話個人更推 mpv 04/18 13:04