Skip to content

如何配置UEFI启动 #12

@shipujin

Description

@shipujin

若ESP分区没有挂载的话,需挂载ESP分区(这里以sda1为例)

mkdir -pv /mnt/boot/efi
mount -t vfat /dev/sda1 /mnt/boot/efi

在系统安装完成,选择 EXIT 里的 SHELL ,执行 chroot /mnt/

# update-grub
grub-install --target=loongarch64-efi --efi-directory=/boot/efi --bootloader-id=Slackwareloong
# 或
grub-install --target=loongarch64-efi --efi-directory=/boot/efi --bootloader-id=Slackwareloong --removable


grub-mkconfig -o /boot/grub/grub.cfg

exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions