modified | Thursday 1 May 2025 |
---|
Friday, August 20, 2021 at 10:47
Arch 软 件 安 装 和 用 法
一 大 加 贝
Hide GRUB
Tried this way not work, then try this:
1 sSudo vim /etc/default/gzub
2 sudo grub-mkconfig -o /boot/grub/grub.cfg
Edit etc/default/grub:
1 -GRUB_TIMEOUT=1
2 +GRUB_TIMEOUT=0
reflector
https://Wwikisarchlinux.org/ti…
Automation
/etc/xdg/reflector/reflector .conf:
–save /etc/pacman .d/mirror1ist
–country China
–Protocol1 https
–Latest 5
1 systemctl enable reflector
2 systemctl start reflector
/etc/xdg/reflector/reflector .conf:
–save /etc/pacman .d/mirror1ist
–country China
–Protocol1 https
–Latest 5
1 systemctl enable reflector
2 systemctl start reflector
Pacman hook
/etc/pacman.d/hooks/mirrorupgrade.hook:
[Trigger ]
Operation = Upgrade
Type = Package
Target = pacman-mirror1isS 七
[Action ]
Description = Updating pacman-mirrorlist with refLlector and
remoyving pacnew . . 。
When = PostTransaction
Depends = refLector
Exec = /bin/sh -c“systemctl start reflector.service; [ -f
/etc/pacman.d/mirrorl1ist.pacnew ] && Im
/etc/pacman.d/mirrorl1ist.pacnew「
Proxy
Clash
export CLRSH_VERSION=“1.6.5“
1 wget -0 clash.gz
2 https://github.com/Dreamacro/c… /clash-
3 Linux-amd64-~v${CLRSH_VERSION} .gz
4 gzip -f clash.gz -d
5 sudo my ~/clash /usr/local/bin/clash
6 chmod +x _/usr/local/bin/clash
Clash
export CLRSH_VERSION=“1.6.5“
wget -0 clash.gz
https: //github.com/Dreamacro/clash/releases/download/v\({CLASH_VERSION} /clash- 1Linux-amd64-~V\) {CLRSH_VERSION} .gz
gzip -f clash.gz -d
sudo my ~/clash /usr/local/bin/clash
chmod +x _/usz/local/bin/clash
clash 水 Generate config.yaml,Country.mmdb in ~/ .config/clash
技 download yaml file from your service provider,rename it to config.yaml Put i
under your clash folder
木 open clash at start https: / /github.com/Dreamacro/clash/wiki /clash-as-a-daemonl
sudo vim /etc/systemd/system/clash.service
口 心 口 a 口 东 b 巳
/etc/systemd/system/clash.service:
[Unit]
Descriptionz=Clash daemon,R rule-based proxy in _ Go
Rfter=network.target
[Service]
Type=simple
Restart=alway5
ExecStart=/usr/local/bin/clash -d“/home/archie/ .config/clash“
[Install ]
NWantedBy=multi-user.target
巳 口 心 口 口 a 人 东 b 巳
巳 一
1 systemctl daemon-reload
2 systemctl enable clash
Input method
Want to remove ibus, use fcitx.
1 sSudo pacman -8 fcitx-im fcitx-configtool fcitx-googLepinyin
Add support for gtk,qt:
1 水 /etc/profile
6imz=fcitx“
Want to remove ibus, use fcitx.
1 sSudo pacman -8 fcitx-im fcitx-configtool fcitx-googLepinyin
Add support for gtk,qt:
1 水 /etc/profile
2 export XMODIFTIERS=“8im=fcitx“
3 export GTK_IM_MODULE=“fcitx“
4 export QT_IM_MODULE=“fcitx“
Font
Use default Gnome 40 font:
Cantarell Regular 11
Cantarell Regular 11
Source Code Pro Regular 10
Cantarell Bold 11
sudo Pacman -S8 noto-fonts noto-fonts-extra noto-fonts-emoj noto-fonts-cjK ttf-
1 dejavu ttf-1iberation ttf-roboto Etf-inconsolata ttf-1inux-1ibertine ttf-droid
2 adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts
yay -8 otf-eb-garamond ttf-monaco otf-san-francisco consolas-font
中 文 :
noto-fonts, noto-fonts-cjk, noto-fonts-emoji, noto-fonts-extra
代 码 :
monaco, menlo
。 命 令 行 安 装 的 字 体 所 在 的 目 录 : /usr/share/fonts/
。 手 动 安 装 的 字 体 所 在 的 目 录 : -/ .local/share/fonts/
。 命 令 行 安 装 的 字 体 所 在 的 目 录 : /usr/share/fonts/
。 手 动 安 装 的 字 体 所 在 的 目 录 : -/ .local/share/fonts/
1 fc-cache -fv 永 update font cache
Bluetooth
1 sSudo Systemctl enable –now bluetooth
wget -0 ~/.gitconfig
1 https://zaw.githubusercontent.…
2 林 SSH
3 chmod 400 -/ .ssh/id_ed25519
4 水 solve sign_and_send_pubkey: signing failed for ED25519
5“/home/user/.ssh/id_ed25519“ from agent: agent refused operation; gitbgithub.com:
Permission denied (publickey) .
GPG
Modify ~/ .gnupg/y permission:
1 水 https://superuser.com/a/954536 ; https: //superuser.com/a/954639
2 十 Set ownership to your own user and Primary group
3 chown -R “\(USER:\) (id -gn) “ ~/.gnupg
4 十 Set permissions to read,write,execute for only yourself,no others
5 chmod 700 ~/ .gnupg
6 艺 Set permissions to read,write for only yourself,no others
7 chmod 600 ~/.gnupg/+
This step is to solve gpg: WARNING: unsafe permissions on
homedir “/home/user/ gnupg .
Save ~/gnupg safely, then import public keys from GitHub(user +
web-flow):
1 wget -0 tianheg-pubkeys.txt _https://github.com/tianheg .gPg
2 wget -0 github-web-flow.txt https: / /github.com/web-fLow.gpPg
3 gpg –import tianheg-pubkeys.txt
4 gpg –import github-web-fLow.txt
archcn
Add repo:
[archlinuxcn ]
Server = https://repo.archlinuxcn.org/$…
to your /etc/pacman .conf.
For mirrors (mainly in Chinaj, see archlinuxcn/mirrorlist-repo.
Import PGP Keys:
1 sSudo pacman -8yy && _ sudo pacman -8 archlinuxcn-keyring
pacman
ls it possible that there is a maijor kernel update in the repository, and
that some of the driver packages have not been updated?2
No,itis not possible. Major kernel updates (e.g. linux 3.5.0-1to linux
3.6.0-1) are always accompanied by rebuilds of all supported kernel
driver packages. On the other hand, if you have an unsupported driver
package (e.g. from the AUR) installed on your system, then a kerne
update might break things for you if you do not rebuild it for the new
kernel. Users are responsible for updating any unsupported driver
packages that they have installed.
narman 周 今
技 Common
Pacman -Qe 水 List all explicitly installed packages
1 pacman -Qet 水 1ist all packages explicitly installed and not required as
2 dependencies
3 Pacman -Qent 汀 List all explicittl1y installed native packages (t.e。present in the
4 sync database) that are not direct or optional dependencies
5 pacman -Qn 水 List all nattve packages (installed from the sync database(5 ) )
6 Pacman -Qm 水 List all foreign packages (typically manually downloaded and
7 installed or packages removed from the repositories )
8 sudo pacman -0Qtdq | sudo pacman -Rns - 汀 recursively remoying orphans and their
9 configuration files
10 sudo pacman -0it | awk “/^MODIFIED/ {print \(2} “ 汀 print modified files under /etc 11 pacman -Qs regex 永 ist packages by regex 12 Pacman -Qg group_name 永 tist installed packages under this _group 13 pacman -Sg group 半 ist all packages in the package group named “group“,etcu 14 base-devel, gnome 15 pacman -Syu 永 Update package ltst and upgrade all packages afterwards 16 pacman -Syu git 水 Update package 1ist,upgrade all packages,and then install git 17 if it wasn「t already installed 18 pacman -S8 package_namel package_name2 汀 Installtng _ specific packages 19 pacman -8 \)
(pacman -Ssq package_regex) 汀 Install a 1ist of packages with regex
20 pacman -8 extra/package_name 十 Install specific repositories“package
21 pacman -8 plasma-{desktop,meditacenter nm}
22 pacman -8 plasma-{workspacef ,-wallpapers} ,pPa}
23 pacman -8 gnome 永 Install through group of packages
24 Entez a Selection (defaultzall) : 1-10 15 永 Which will select packages 1 through 10
25 and 15 for installation
26 Entez a Selection (defaultzall) :“5-8“2 永 Which will select all packages except 5
27 through 8 and 2 for installation
28 pacman -R package_name 水 remove a single package,1leaving all of its dependencies
29 installed
30 pacman -Rs package_name 十 remoye a single package and its dependencies which are
31 not required by any other installed package
32 pacman -Qtd 水 check for packages that were installed as a dependency but now no
33 other packages depend on them
34 pacman -Ss8 stringl string2 … 永 search for packages in the database
35 pacman -Qs stringl string2 … 永 search for already installed packages
36 pacman -F stringl string2 … 汀 search for package file names in remote packages
37 pacman -Fy stringl string2 … 永 ftrst flush local cache,then Search for package
38 file names in remote packages
39 pacman -S5i package_name 十 display extensive tnformation about a given package
40 pacman -Qi package_name 升 display extensive information about Locally installed
41 packages
42 pacman -Qii package_name 汀 also display the 1ist of backup files and their
43 modification states
44 pacman -Q1 package_name 十 retrieve a list of the files installed by a package
45 pacman -F1 package_name 升 retrieve a list of the files installed by a remote
46 package
47 技 Rarely use
48 pacman -Qk package_name 十 verify the presence of the files installed by a package,
49 Passing the K flag twice wil1 perform a more thorough check
50 pacman -Qo /path/to/file_name 汀 query the database to Know Which package a file in
51 the file system belongs to
Pacman -F _/path/to/file_name 水 query the database to know which remote package a
file belongs to
p 标 ccidnet
51 the file system belongs to
Pacman -F _/path/to/file_name 水 query the database to know which remote package a
file belongs to
应 该 避 免 执 行 的 pacman 指 令
1 pacman -Syu 水 always un
2 Pacman -Sy 水 never Funl4l
3 pacman -Rdd package 十 never unl ll
When installing packages in Arch, avoid refreshing the package list
without upgrading the system (for example, when a package is no
longer found in the official repositories). In practice, do not run pacman
-Sy package_name instead of pacman -Syu package_name, as this
could lead to dependency issues:.
list alldevelopment/unstable packages
1 pacman -0q | grep -Ee“-(bzzr|cvs|darcs|git|hg|svn)$
执 行 pacman 命 令 过 程 中 , 遇 到 的 信 息 / 警 告 / 错 误
1 warning: dependency cycle detected 永 循 环 依 赖
When sudo pacman -Syu
WARNING: Possibly missing firmware for module
这 是 一 种 警 告 。
ref:
1.https://wiki.archlinux.org/title/MkinitcpioPossibly_missing_firm
ware_for_module_XXXX
2.https://arcolinuxforum.com/viewtopic.php?t=1174
1 sSudo pacman -5
Swap Lctrl with CapsLock
System Settings -> Keyboard -> Advanced
Error Discover(Software Center)
Uninstall it.
kde Connect
1 sSudo pacman -8 kdeconnect
seahorse + kde wallet
1 sSudo pacman -8 kwalletmanager Seahorse
GNOME
Extensions install: Copy the unziped folder to ~/ .Local/share/gnome-
shell/extensions/, rename the folder with metadata.json「S uuid.
Remove software
sudo pacman -Rs gnome-software gnome-calendar gnome-documents gnome-todo gnome-maps
gnome-contacts8 evolution gnome-builder gnome-boxes geary gnome-clocks gnome-books
gnome-photos gnome-connections gnome-games ghex gnome-mahjongg gnome-music epiphany
totem accerciser dconf-editor glade five-or-more four-in-a-row gedit gnome-sudoku
gnome-nettool gnome-nibbles gnome-recipes gnome-robots gnome-taquin gnome-tetFavex
gnome-weather hitori iagno
totem <-~> Gnome Video
sudo pacman -Rs gnome-software gnome-calendar gnome-documents gnome-todo gnome-maps
gnome-contacts8 evolution gnome-builder gnome-boxes geary gnome-clocks gnome-books
gnome-photos gnome-connections gnome-games ghex gnome-mahjongg gnome-music epiphany
totem accerciser dconf-editor glade five-or-more four-in-a-row gedit gnome-sudoku
gnome-nettool gnome-nibbles gnome-recipes gnome-robots gnome-taquin gnome-tetFavex
gnome-weather hitori iagno
totem <-> Gnome Video
iagno <-~> Reversi
Extension
https://extensions.gnome.org/e…
Dash to Dock
sudo pacman -S8 sassc
git clone –branch ewlsh-ewlsh/gnome-40 https://github.com/micheleg/da…
dock.git
make
make install
https://gitlab.gnome.org/GNOME…
Coverflow Alt-Tab
https://extensions.gnome.org/e…
Tray lcons: Reloaded
https://extensions.gnome.org/e…
Simple net speed
https:/lextensions anome oralextension/I085/simnple-net-speed /
https://extensions.gnome.org/e…
GSconnect
https://extensions.gnome.org/e…
Connect PC with phone
Other Software
ref: https://io-oi.me/tech/hello-ar…
名 字 说 明 类 似
google-chrome _Google Chrome 浏 览 器 一
Misyalrstudio- Visual Studio Code 一
netease-cloud- 二 心 目
music 网 易 云 音 乐
flameshot 现 代 、 快 捷 、 轻 便 的 截 图 工 具 丨
proxychains-ng 终 端 内 科 学 上 网 代 理 工 具 丨
redshift 显 示 屏 色 温 调 节 工 具 一 Iux
vlc 强 大 的 多 媒 体 播 放 工 具 春
E 目 客 户 端 开 源 的 加 密 聊 天 工 具
图 片 浏 览 工 具 , 可 简 单 编 辑 图 片 , 可 +
gHmumtb 清 除 烈 片 元 数 据
libreoffice-fresh 必 备 的 办 公 软 件 Microsoft Office
inkscape 强 大 的 矢 量 图 形 编 辑 软 件 e
youtube-dl YouTube 视 频 下 载 工 具
glances monitoring tool 一
keepass password manage 一
o o
keepass password manage 一
hugo static site generator 一
foliate equb … reader 一
anki a spaced repetition system 一
informant arch news reader and pacman hook 。
dnsutils dig 一
外 DNS 造 网 站 访 问 慢 市
iarger 傅 魁 国 处 DNS 造 成 国 内 网 站 访 问 惯 的 。
tldr https://github.com/tldr-pages/… 一
virtualbox Virtual Machine 一
sudo pacman -S8 google-chrome visual-studio-code-bin netease-cloud-music flameshot
Proxychains-ng redshift ylc telegram-desktop gthumb 1ibreoffice-fresh inkscape
youtube-dl1 glances keepass hugo foliate anki informant dnsutils dnsmasq tldr
virtualbox virtualbox-host-modules-arch virtualbox-ext-oracle virtualbox
informant
An Arch Linux News reader and pacman hook. You could use a pacman
hook like informantAUR which prevents you from updating if there is
fresh Arch News that you have not read since the last update ran.
ref:
https://Wwiki.archlinux.org/ti…
grading_the_system
Virtualbox
https://Wwikisarchlinux.org/ti…
Error message:
1
2 RARNING: The vboxdzry kernel module ts not loaded、Eithez there is no module
5 命 I 仁 英 7 林 q 叶 Tnmyagmenmnnlging 唐 T5SNInpyF 胡 5
https://Wwikisarchlinux.org/ti…
Error message:
1
2 WARNING: The vboxdry kernel module ts not loaded、Eithez there is8 no module
3 avyailable for the current kernel (5.13.8-archl-1) or it failed to
4 load.Please recompile the kernel module and install it by
5 sudo /sbin/vboxconfig
6 You will not be able to start VMs until this problem is fixed。
7
1 sSudo modprobe vboxdrv
No message now.
Vagrant
https://Wwikisarchlinux.org/ti…
1 sudo pacman -8 vagrant
2 mkdir arch-vagrant && _cd _
3 vim Vagrantfile
4 vagzant up
Vag antfilLe:
1 Vagrant.configure(“2“) do |config|
2 config.vm.box =“archlinux/archlinux“
3 end
After exec vagrant upy error message:
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
https://Wwikisarchlinux.org/ti…
1 sudo pacman -8 vagrant
2 mkdir arch-vagrant && _cd _
3 vim Vagrantfile
4 vagzant up
Vagrantfile:
1 Vagrant.configure(“2“) do |config|
2 config.vm.box =“archlinux/archlinux“
3 end
After exec vagrant upy error message:
No usable default provider could be found for your system.
Vagrant relies on interactions with 3rd party systems, known as
“providers“,to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.
The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms:.
If you believe you already have a provider available, make sure t
is properly installed and configured. You can see more details about
why a particular provider isn「t working by forcing usage with
vagrant up_–provider=PROVIDER, which should give you a more
specific
error message for that particular provider.
After exec sudo modprobe vboxdrv, no message now.
山 b 巳
4 vagzant up
5 Vagzant is8 currently conftgured to create VirtualBox synced folders with
6 the “SharedFoldersEnableSymlinksCreate“ option enabled。If the Vagrant
7 guest is not trusted,you may want to disable this _option。For more
8 information on this option,please refer to the VirtualBox manual :
9 https://www.virtualbox.org/man… /ch04.htmlsharedfolders
10 This option can be disabled globally with an environment varitable:
11 VAGRRNT_DISABLE_VBOXSYMLINKCRERTB=1
12 or on a pez folder basis within the VagrantfilLe:
13 config.wm.synced_folder “/host/path “, “/guest/path ,
14 SharedFoldersEnableSymlinksCreate: false
Mutt
终 端 邮 件 http://www.mutt.org/
Flameshot
可 以 配 置 下 快 捷 键 , 使 用 起 来 更 加 快 捷 。 去 Settings > Keyboard, 然
后 下 拉 页 面 到 底 部 , 点 击 + 号 ,Name 填 Flameshot,Command 填
flameshot gui, 然 后 点 击 下 Shortcut 的 右 方 方 块 , 按 下 alt +
Super/Win 十 卫 键
Anki
https://apps.ankiweb.net/#down…
1 tar xjf ~/Downloads/ankt-2.1.46-1inux.tar .bz2
7 nd anici_7 1 46_13nnmxr
https://apps.ankiweb.net/#down…
1 tar xjf ~/Downloads/ankt-2.1.46-1inux.tar .bz2
2 cd anki-2 .1.46-1inux
3 sudo ./install.sh
exercism
1 水 https://github.com/exerctsm/cl… download exerctsm-1tnux-64bit.tgz
2 tar -xf exercism-1inux-64bit tgz
3 十 Once you download and extract the archtve,make it available in your $PATH
4 cd ~/Downloads/exerctsm-1tnux-64bit
5 mkdir -p ~/bin
6 my exercism ~/bin
7 ~/bin/exercism
8 exerctsm configure =-token=
Scheme Programming Language
guile hello-world.scm
3 ;}; note: Source file /home/archie/exercism/scheme/hello-wor1d/hello-wor1d.scm
3 157 newer than compiled /home/archie/ .cache/guile/ccache/2.2-LE-8-
4 3 .A/home/archie/exercism/scheme/hello-worLd/hello-~world.scm.go
5 577 note: auto-compilation ts enabled, set GUIIE_AUTO_COMPILB=0
5 77 or Pass the –no-auto-compile argument to disable。
7 77 compiling /home/archie/exercism/scheme/hello-wor1d/hello-wor1d.scm
8 57 compiled /home/archie/ .cache/guile/ccache/2.2-LB-8-
9 3 .A/home/archie/exercism/scheme/hello-worLd/hello-~world.scm.go
10 Hello NWorld!
guile hello-worLd.scm -=-no-auto~compile
How to close these info?
1 alias guile=“guile –no-auto-compile“
Install guile
nscd 自 启 动
1 systemctl enable nscd
一 0 MA
1 systemctl enable nscd
nscd isa daemon that provides a cache for the most common name
service requests. The default configuration file, /etc/nscd.conf,
determines the behavior of the cache daemon.
redshift
115.622324,33.165395
1 mikcdiz ~/ .config/redshift
2 vim ~/.config/redshift/redshift.conf
~/.config/redshift/redshift .conf:
[redshift ]
Location-provyider=manual
temp-day=5500
temp-night=3700
[manual ]
Lat=33 .165395
1on=115 .622324
ref:
让 Arch Linux 系 统 和 最 新 的 镜 像 同 步 , 从 最 快 的 镜
像 下 载
https://blog.lilydjiwg.me/2020…
【
https://blog.lilydjiwg.me/2020…
1 水 !/bin/bash -e
2
3 unshare -m bash «「EOF“
4 mount –make-rprivate /
5 for in /etc/pacman.d/*.sync; do
6 Eilename=“ 吊 { 玟 7
7 mount =-btnd “\(f““\) filename“
8 done
9 Pacman -Sy
10 EOF
使 用 国 外 DNS 造 成 国 内 网 站 访 问 慢 的 解 决 方 法
https://wzyboy.im/post/874.htm…
systemctl status dnsmasq
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/usz/1ib/systemd/system/dnsmasq.service; enabled; vendor preset:
disabled)
Rctive: inactive (dead)
Docs: man:dnsmasq(8)
闵 东 山 巳
dnsmasq.servyice: Start request repeated too quick1y..:
The default limit is to allow 5 restarts in a 10sec period. If a service
goes over that threshold due to the Restart= config option in the
service definition, it will not attempt to restart any further.
ref:
1.https://github.com/felixonmars/dnsmasq-china-list
2.https://serverfault:com/al/845473
3.https://web.archive.org/web/20191101231638/http://felixc.at:80
/Dnsmasq
8775
https:/plog.tlyqJlwg.me/<U13/ 1</<y/rsync-btris-dm-crypt-TulL-
backup.42219.htmil
s https://github.com/teejee2008/…
1 sSudo pacman -8 timeshift
timeshift
自 动 更 新 hosts GitHub 相 关 IP
ref:
1.https://bbs.archlinuxcn.org/viewtopic.php?pid=43366p43366
2.https://gist.github.com/lilydjwg/93d33ed04547e1b9f7a86b64e
f2ed058
3.https://github.com/rbewy/github-host
前 提 : /etc/hosts 文 件 中 要 先 存 在 github .Com
1 sSudo pacman -8 python-aiohttP
Problems
command not found: serVice
使 用 systemct1 是 可 行 的 。
fcitx
command not found: sekVvice
使 用 systemct1l 是 可 行 的 。
fcitx
Follow above section works
Unknown download ptotocol1 : https
安 装 软 件 时 错 误 ,Unknown download protocol: https
更 新 pacman e 但 是 当 用 yay 下 载 netease-cloud-music 时 , 仍 然 出
现 这 个 错 误
个 文 语 言 丨 能 选 揍 Hanyu Pinyin (with AltGr dead
keys), 当 我 通 过 鼠 标 点 击 切 换 到 它 时 , 电 脑 卡 了
Cannot find fcitx input method module for Qt4.
系 统 卡 顿
2 次 进 入 tplogin.cn 均 卡 顿 , 似 乎 与 进 入 网 址 无 关
认 扬 树 莉 派 需 要 用 到 有 线 , 限 于 网 线 只 有 一 根 。 于
, 电 脑 连 接 无
进 入 路 由 器 管 理 页 面 , 点 击 口 诊 ( 应 用 管 理 〕 页 面 后 , 出 现
卡 顿 现 象 。 具 体 表 现 : 键 盘 鼠 标 失
采 取 措 施 : 按 住 电 源 键 重 启 。
2 次 进 入 tplogin.cn 均 卡 顿 , 似 乎 与 进 入 网 址 无 关
本 来 使 用 有 线 接 入 网 络 , 树 莉 派 需 要 用 到 有 线 , 限 于 网 线 只 有 一 根 。 于
是 , 电 脑 连 接 无 线 网 络 。
进 入 路 由 器 管 理 页 面 , 点 击 〔 设 备 管 理 〕 〔 应 用 管 理 〕 页 面 后 , 出 现
卡 顿 现 象 。 具 体 表 现 : 键 盘 鼠 标 失 灵
采 取 措 施 : 按 住 电 源 键 重 启 。
依 旧 卡 颍 , 仅 仅 打 开 一 个 网 页 。
现 在 暂 时 不 卡 顿 , 解 决 办 法 :
设 置 BIOS U 盘 启 动 , . 插 入 制 作 好 的 USB 启 动 盘 , 进 入 U 盘 中 的 arch
系 统 , 然 后 执 行 命 令
1 mount /dev/sdb2
2 arch-root /mnt Heem
3 cd /var/ S2c0e1 cman/PkS
4 Ls -a | 1inu
5 pacman 春 ux2 弓 13.9.archl-1-x8 4 .PKg.tar .zSt
6 芒 1inux _ Kernel: 5.13.10 –> 5.13.。
依 然 出 现 卡 顿 , 推 测 是 无 线 网 的 缘 故 , 需 要 安 装 驱 动 。 ( 驱 动 已 安 装 )
编 辑 了 /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT=“elevator=noop loglevel=3 quiet“
GRUB_CMDLINE_LINUX_DEFAULT=“loglevel=3 quiet mds=fullnosmt“
ref:
依 然 出 现 卡 顿 , 推 测 是 无 线 网 的 缘 故 , 需 要 安 装 驱 动 。 ( 驱 动 已 安 装 )
编 辑 了 /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT=“elevator=noop loglevel=3 quiet“
GRUB_CMDLINE_LINUX_DEFAULT=“loglevel=3 quiet mds=fullnosmt“
ref:
一 00 。
.https://Wwiki.archlinux.org/title/downgrading_packagesDowngr
ading_the_Kkernel
.https://www.kernel.org/doc/html/latest/admin-guide/hw-
vuln/mds.htmil
.https://askubuntu.com/a/1250060
.https://www.google.comy/url2
sa=t&source=web&rct=j&url=https://www.linprofs.com/blog/ho
w-to-patch-the-intel-mds-bug/&ved=2ahUKEwjwq-
WgjbjyAhWqQPUHHVznBDIQFnoECD4QAQ&uUsg=ADvvawlliihg
OIMrazMVV1yrvM9
.https://Wikisarchlinux.org/title/Security_(%E7%AE%80%E4%BD
%93%E4%B8%AD%E6% 096“87)
rpi-imager 能 够 用 yay -s rpi-imager 下 载 , 却 不 能
sudo pacman -S rpi-imager 下 载
gparted roo many pfimary partitions
Create new partition atble, then solved.