Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update document #242

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/guide/rookie/basic-install_check-efi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_chroot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_finish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_fstab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_grub-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_grub-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_grub-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_last-step-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_last-step-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_last-step-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_locale-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_locale-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_locale-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mirrorlist-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mirrorlist-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkbtrfs-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkbtrfs-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkbtrfs-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkbtrfs-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkbtrfs-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mkswap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mount-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mount-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/guide/rookie/basic-install_mount-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/guide/rookie/basic-install_neofetch.png
Diff not rendered.
Binary file modified docs/assets/guide/rookie/basic-install_pacstrap-1.png
Binary file modified docs/assets/guide/rookie/basic-install_pacstrap-2.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-1.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-10.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-11.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-12.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-13.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-14.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-2.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-3.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-4.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-5.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-6.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-7.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-8.png
Binary file modified docs/assets/guide/rookie/basic-install_partition-9.png
Binary file modified docs/assets/guide/rookie/basic-install_passwd.png
Binary file modified docs/assets/guide/rookie/basic-install_ping.png
Binary file modified docs/assets/guide/rookie/basic-install_reflector.png
Binary file modified docs/assets/guide/rookie/basic-install_time.png
Binary file modified docs/assets/guide/rookie/pre-virt_vb-14.png
Binary file modified docs/assets/guide/rookie/pre-virt_vb-15.png
22 changes: 13 additions & 9 deletions docs/guide/rookie/basic-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,23 +541,21 @@ swapon /dev/nvmexn1pn # 挂载交换分区

![mount_step-1](../../assets/guide/rookie/basic-install_mount-1.png)

![mount_step-2](../../assets/guide/rookie/basic-install_mount-2.png)

2. 使用 `df` 命令复查挂载情况:

```zsh
df -h
```

![mount_step-3](../../assets/guide/rookie/basic-install_mount-3.png)
![mount_step-2](../../assets/guide/rookie/basic-install_mount-2.png)

3. 使用 `free` 命令复查 Swap 分区挂载情况:

```zsh
free -h # -h 选项会使输出以人类可读的单位显示
```

![mount_step-4](../../assets/guide/rookie/basic-install_mount-4.png)
![mount_step-3](../../assets/guide/rookie/basic-install_mount-3.png)

## 9. 安装系统

Expand Down Expand Up @@ -878,11 +876,10 @@ grub-mkconfig -o /boot/grub/grub.cfg

::: tip ℹ️ 提示

1.在某些主板安装完成后,你会发现没有启动条目。这是因为某些主板的 UEFI 固件在显示 UEFI NVRAM 引导条目之前,需要在特定的位置存放可引导文件,不支持自定义存放 `efi` 文件(如微星 Z170-A Gaming PRO)。解决方案是在默认启动路径下安装 `GRUB`。重新插入安装优盘,按原先顺序挂载目录(不需要再次创建文件夹了),`chroot` 到 `/mnt`,然后你可以直接把已经生成好的 `efi` 文件移动到默认目录下,如下命令所示。只有安装完成后你的主板不出现启动条目才需要尝试如下命令,正常安装无需执行。如有需要可以参考 [ArchWiki 对应内容](https://wiki.archlinuxcn.org/wiki/GRUB#缺省/后备启动路径)。
1.在某些主板安装完成后,你会发现没有启动条目。这是因为某些主板的 UEFI 固件在显示 UEFI NVRAM 引导条目之前,需要在特定的位置存放可引导文件,不支持自定义存放 `efi` 文件(如微星 Z170-A Gaming PRO)。解决方案是在默认启动路径下安装 `GRUB`。重新插入安装优盘,按原先顺序挂载目录(不需要再次创建文件夹了),`chroot` 到 `/mnt`,然后你可以重新用 `--removable` 安装grub2,如下命令所示。只有安装完成后你的主板不出现启动条目才需要尝试如下命令,正常安装无需执行。如有需要可以参考 [ArchWiki 对应内容](https://wiki.archlinuxcn.org/wiki/GRUB#缺省/后备启动路径)。

```bash
mv /boot/EFI/grub /boot/EFI/BOOT
mv /boot/EFI/GRUB/grubx64.efi /boot/EFI/BOOT/BOOTX64.EFI
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=ARCH --removable
```

2.`os-prober` 在 chroot 环境中可能无法正常运作。如果遇到这种情况,重启并引导进入系统后再次尝试生成配置文件。
Expand Down Expand Up @@ -954,6 +951,13 @@ nmcli dev wifi connect "Wi-Fi名(SSID)" password "网络密码" # 连接指
nmtui
```

::: tip ℹ️ 提示

neofetch 原作者 dylanaraps 已于 2024 年 04 月 26 日归档 neofetch 仓库,在下面我们会使用 `fastfetch` 代替 `neofetch`。

:::


5. `fastfetch` 可以将系统信息和发行版 logo 一并打印出来。通过 `pacman` 安装 `fastfetch`:

```bash
Expand All @@ -966,11 +970,11 @@ pacman -S fastfetch
fastfetch
```

![neofetch](../../assets/guide/rookie/basic-install_neofetch.png)
![fastfetch](../../assets/guide/rookie/basic-install_fastfetch.png)

> #### 🍧 碎碎念
>
> 又到了 `neofetch` 的时间了吗?
> 又到了 `fastfetch` 的时间了吗?

## 🎉 祝贺!🎉

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/rookie/pre-virt.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
>
> :::

本小节将在 win10 环境下使用 [Oracle VM VirtualBox](https://www.virtualbox.org/) 虚拟机安装 archlinux。
本小节将在 win11 环境下使用 [Oracle VM VirtualBox](https://www.virtualbox.org/) 虚拟机安装 archlinux。

> #### 📑 相关资料:VirtualBox
>
Expand Down