
ボットを介してWindowsに入ることができるように、WindowsをGrubオプションに表示しようとしています。以下は私のドライブです。
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sda 8:0 0 298.1G 0 disk
|-sda4 8:4 0 200.8G 0 part -WINDOWS
|-sda2 8:2 0 3.7G 0 part [SWAP] FOR ARCH
|-sda3 8:3 0 500M 0 part - WINDOWS BACKUP
`-sda1 8:1 0 93.1G 0 part -ARCH LINUX
grub 起動ファイルに情報を追加しました。
$ sudo cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10" {
set root='(hd0,4)'
chainloader +1
}
Arch LinuxとArch Linux Advancedブートはまだ私のgrubの唯一のオプションですか?誰でも助けることができますか?
答え1
~によるとhttps://wiki.archlinux.org/index.php/GRUB、同様のものを実行する必要があります
grub-mkconfig -o /boot/grub/grub.cfg
実際の設定ファイルが生成されます/etc/grub.d
。