Skip to content
New issue

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

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

Already on GitHub? # to your account

system boot 安装 #105

Open
codcodog opened this issue Jan 19, 2019 · 0 comments
Open

system boot 安装 #105

codcodog opened this issue Jan 19, 2019 · 0 comments
Labels

Comments

@codcodog
Copy link
Owner

system boot 安装

system-boot

主要针对 gpt 分区,固态硬盘.

安装 bootloader

# bootctl --path=/boot install

配置 loader.conf

# vim /boot/loader/loader.conf
default arch
timeout 3
editor 0

root 分区的 UUID

# blkid -s PARTUUID -o value /dev/nvme0n1p2

配置 arch.conf

# vim /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=66e3f67d-f59a-4086-acdd-a6e248a3ee80 rw

更新 bootloader

# bootctl update

添加 nvme 模块

# vim /etc/mkinitcpio.conf
MODULES="nvme"

更新 bootloader

# mkinitcpio -p linux

详细参考:How to install Arch Linux on Dell XPS 13 (2016) in 7 steps

@codcodog codcodog added the Arch label Jan 19, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant