You are not logged in.
I recently installed Windows 10 IoT LTSC 2021 on a Barracuda hard drive completely separate from any other drives, then connected it to my system running Arch generated my grub.cfg.
#grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
doneAnd here is my grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1399bff4-2aec-4f22-9691-03d43a3c9ab7
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1399bff4-2aec-4f22-9691-03d43a3c9ab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1399bff4-2aec-4f22-9691-03d43a3c9ab7
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=1399bff4-2aec-4f22-9691-03d43a3c9ab7 rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/amd-ucode.img /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-1399bff4-2aec-4f22-9691-03d43a3c9ab7' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-1399bff4-2aec-4f22-9691-03d43a3c9ab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1399bff4-2aec-4f22-9691-03d43a3c9ab7
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=1399bff4-2aec-4f22-9691-03d43a3c9ab7 rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/amd-ucode.img /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-1399bff4-2aec-4f22-9691-03d43a3c9ab7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
search --no-floppy --fs-uuid --set=root 1399bff4-2aec-4f22-9691-03d43a3c9ab7
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=1399bff4-2aec-4f22-9691-03d43a3c9ab7 rw loglevel=3 quiet
echo 'Loading initial ramdisk ...'
initrd /boot/amd-ucode.img /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
insmod bli
fi
### END /etc/grub.d/25_bli ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-FC14-DB34' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 FC14-DB34
else
search --no-floppy --fs-uuid --set=root FC14-DB34
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###The menu entry "Windows Boot Manager (on /dev/sda1)" shows up in my GRUB, however trying to run it produces:
error: no such device: FC14-DB34.
error: file '/efi/Microsoft/Boot/bootmgfw.efi' not found.
Press any key to continue...I have the hard drive (/dev/sda) mounted in my fstab, I am able to boot into Windows 10 from my BIOS and have made sure that fast boot is disabled in Window's power settings, and have installed ntfs-3g trying to solve the issue along with rebooting at least a dozen times.
Here is my /etc/fstab:
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=1399bff4-2aec-4f22-9691-03d43a3c9ab7 / ext4 rw,relatime 0 1
# /dev/nvme0n1p1
UUID=07F3-8058 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/sdb1
UUID=098a2432-8859-4a74-a563-f74c9a4af8d0 /media/ssd ext4 defaults 0 0
# /dev/sda3
UUID=B61A17261A16E2E3 /media/windows ntfs defaults,fmask=133,dmask=022,gid=1000,uid=1000 0 0The output of blkid ran as root:
/dev/nvme0n1p1: UUID="07F3-8058" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="08d5083b-c84a-4872-b896-0652080bfe8d"
/dev/nvme0n1p2: UUID="1399bff4-2aec-4f22-9691-03d43a3c9ab7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3980f219-f37f-4b4e-9580-8ecf80ec5ede"
/dev/sdb1: UUID="098a2432-8859-4a74-a563-f74c9a4af8d0" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="916a6b2a-1735-449c-b72d-199ce5aa1322"
/dev/sda4: BLOCK_SIZE="512" UUID="440E6E080E6DF37A" TYPE="ntfs" PARTUUID="3ca4bede-e2f0-43c0-9e0c-4e7f78e08665"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="e9d65248-0d90-4334-9115-59059fda0b23"
/dev/sda3: BLOCK_SIZE="512" UUID="B61A17261A16E2E3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a2cb4d2d-64cf-42bd-b1ad-95c9da96a483"
/dev/sda1: UUID="FC14-DB34" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6d775489-5261-447c-a30c-e1a73c28d5f1"The output of lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 1.8T 0 part /media/windows
└─sda4 8:4 0 509M 0 part
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /media/ssd
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 931G 0 part /"sda" is the hard drive that Windows 10 is installed on, "sdb" is an ssd for additional storage, and "nvme0n1" is my NVME boot drive.
Last edited by zillywen (2024-03-31 06:12:13)
Offline
Running
powercfg /H offin cmd as admin on the Windows 10 fixed my issue.
Offline