Skip to content

Commit ced68f3

Browse files
committedApr 17, 2024·
update post archlinux-setup
1 parent ab00ea7 commit ced68f3

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed
 

‎content/post/archlinux-setup/index.md

+11-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,12 @@ swapon <swap_partition>
4949

5050
### 安装系统
5151

52+
遇上 GPG signature 的问题的话,找到 `/etc/pacman.conf` 中的 `SigLevel` 属性,添加 `TrustAll` 就得,怎么连自家的包都不信任的。
53+
5254
```shell
5355
vim /etc/pacman.d/mirrorlist # Server=https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
54-
pacstrap -K /mnt base linux linux-firmware amd-ucode intel-ucode networkmgr vim
56+
pacstrap -K /mnt base linux linux-firmware # 基本
57+
pacstrap -K /mnt amd-ucode intel-ucode networkmanager vim # 有必要的
5558
```
5659

5760
### 配置系统
@@ -73,7 +76,7 @@ passwd
7376
双系统的话[先看下面](#双系统)
7477

7578
```shell
76-
pacman -S grub efibootmanager
79+
pacman -S grub efibootmgr
7780
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
7881
grub-mkconfig -o <EFI_partition>/grub/grub.cfg
7982
```
@@ -111,3 +114,9 @@ grub-mkconfig
111114
[Archlinux安装指南](https://wiki.archlinux.org/title/Installation_guide)
112115

113116
[Arch-Win双系统](https://wiki.archlinux.org/title/Dual_boot_with_Windows)
117+
118+
## Changelog
119+
120+
|||
121+
|:-:|:-:|
122+
| 2024-4-17 | #1: 踩到自己挖的坑,修补一下 |

‎content/post/use-hugo/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,5 @@ description: "放点图片"
123123

124124
|||
125125
|:-:|:--|
126-
|2023-02-20|#2略微修改|
127-
|2023-09-27|#1略微修改|
126+
| 2023-02-20 | #2: 略微修改 |
127+
| 2023-09-27 | #1: 略微修改 |

0 commit comments

Comments
 (0)