Skip to content

system boot 安装 #105

Open
Open

Description

@codcodog

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions