You are not logged in.

#1 2023-04-29 20:43:23

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

can't boot Arch after Windows 11 install

There are more topics on this, I just can't figure out what will work for me.

I want a Windows 11 / Arch dual boot system. I tried installing Windows first and then Arch, but I just could not get that working, so I tried it the other way around. Install Arch first, then Windows 11. Now, when I try to boot Arch I go to grub rescue mode. I've tried to boot Arch with a Supergrub usb, but that didn't work. Is there a way to get a working grub with both Windows 11 and Arch as an option? And how can I make this work? I can' t remember this being so difficult previously. Must be UEFI...

This is de drive layout:

nvme0n1     259:0    0 931.5G  0 disk 
├─nvme0n1p1 259:1    0  1000M  0 part 
├─nvme0n1p2 259:2    0 195.3G  0 part 
├─nvme0n1p3 259:3    0    16M  0 part 
└─nvme0n1p4 259:4    0 735.2G  0 part

When installing Arch I used p1 as /boot/efi (if I remember correctly), EFI is on p1. p2 is the Arch data partition with /boot. p3 is listed as Microsoft reserved. p4 is the Windows 11 installation.

Any help is very welcome. I've not run Arch in a long while. Looking forward to getting this working.

Last edited by HydroDiOxide (2023-05-03 09:29:28)


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#2 2023-04-29 21:02:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: can't boot Arch after Windows 11 install

First, a personal pet peeve.  https://languageandgrammar.com/2008/06/ … mar-error/

What is the output of efibootmgr -u   ?
Another approach might be to use a Windows install media repair the installation to get it to the point where we can boot Windows.  Then we can can fix Grub.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2023-04-29 21:05:47

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

ewaller wrote:

Thanks for pointing that out! It felt kinda funny. Not a native speaker... My wife is an English teacher though. You saved me.

Booting Windows is not the issue. Booting Arch is. I can swap Windows and Arch in the boot order and then, when starting the notebook, Windows boots just fine. Arch isn' t though>grub rescue.

Running from a Ubuntu live usb:

efibootmgr -u

BootCurrent: 0021
Timeout: 0 seconds
BootOrder: 0000,0002,0021,001B,001C,001D,001E,001F,0020,0022,0012,0011,0024,0023
Boot0000* Windows Boot Manager
Boot0002* Arch
Boot0010  ThinkShield secure wipe
Boot0011* LENOVO CLOUD
Boot0012* HTTPS BOOT
Boot0013  Setup
Boot0014  Boot Menu
Boot0015  Diagnostic Splash Screen
Boot0016  Lenovo Diagnostics
Boot0017  Regulatory Information
Boot0018  Startup Interrupt Menu
Boot0019  Rescue and Recovery
Boot001A  MEBx Hot Key
Boot001B* USB CD
Boot001C* USB FDD
Boot001D* NVMe0
Boot001E* NVMe1
Boot001F* ATA HDD0
Boot0020* ATA HDD1
Boot0021* USB HDD
Boot0022* PXE BOOT
Boot0023  Other CD
Boot0024  Other HDD
Boot0025* IDER BOOT CDROM
Boot0026* IDER BOOT Floppy
Boot0027* ATA HDD
Boot0028* ATAPI CD

Last edited by HydroDiOxide (2023-04-29 21:10:48)


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#4 2023-04-29 21:52:08

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

I was able to fix my Arch boot through grub rescue:

grub rescue>set boot=(hd0,gpt2)
grub rescue>set prefix=(hd0,gpt2)/boot/grub
grub rescue>insmod normal
grub rescue>normal

Now I have to get Windows 11 in the Arch grub menu. I've mounted the Windows partition on /mnt, installed os-prober and ran grub-mkconfig. But it doesn't show up. Suggestions?

Last edited by HydroDiOxide (2023-05-03 09:31:14)


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#5 2023-04-29 22:36:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,892

Re: can't boot Arch after Windows 11 install

Did you configure /etc/default/grub to enable os-probing within mkinitcpio? Generally not entirely sure whether our os-prober package includes Win 11 support already

Offline

#6 2023-04-29 23:16:08

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: can't boot Arch after Windows 11 install

HydroDiOxide wrote:

I've mounted the Windows partition on /mnt, installed os-prober and run grub-mkconfig. But it doesn't show up. Suggestions?

You have a UEFI system so the Windows bootloader should be on the EFI system partition. Was the ESP mounted when you ran grub-mkconfig? If so check for bootmgfw.efi on that partition, that file is Windows' bootloader.

Offline

#7 2023-04-30 14:00:18

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

V1del wrote:

Did you configure /etc/default/grub to enable os-probing within mkinitcpio? Generally not entirely sure whether our os-prober package includes Win 11 support already

Thanks for that. I didn't, but then I did. This is the output when running grub-mkconfig:

Generating grub configuration file ...
#
# 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 1be16283-dd2d-491f-a9c5-431d88b93c10
    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_GB
  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 ###
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1be16283-dd2d-491f-a9c5-431d88b93c10' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	search --no-floppy --fs-uuid --set=root 1be16283-dd2d-491f-a9c5-431d88b93c10
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=UUID=1be16283-dd2d-491f-a9c5-431d88b93c10 rw  quiet loglevel=3
	echo	'Loading initial ramdisk ...'
	initrd	/boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-1be16283-dd2d-491f-a9c5-431d88b93c10' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-1be16283-dd2d-491f-a9c5-431d88b93c10' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root 1be16283-dd2d-491f-a9c5-431d88b93c10
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=1be16283-dd2d-491f-a9c5-431d88b93c10 rw  quiet loglevel=3
		echo	'Loading initial ramdisk ...'
		initrd	/boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
	}
Found fallback initrd image(s) in /boot:  intel-ucode.img amd-ucode.img initramfs-linux-fallback.img
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-1be16283-dd2d-491f-a9c5-431d88b93c10' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root 1be16283-dd2d-491f-a9c5-431d88b93c10
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=1be16283-dd2d-491f-a9c5-431d88b93c10 rw  quiet loglevel=3
		echo	'Loading initial ramdisk ...'
		initrd	/boot/intel-ucode.img /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/30_os-prober ###
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/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
menuentry 'Windows Boot Manager (on /dev/nvme0n1p1)' --class windows --class os $menuentry_id_option 'osprober-efi-6D39-EB01' {
	insmod part_gpt
	insmod fat
	search --no-floppy --fs-uuid --set=root 6D39-EB01
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
Adding boot menu entry for UEFI Firmware Settings ...
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 ###
done

It seems like Windows is picked up. It still doesn´t show up in the menu though.

I ran sudo grub-install, but that didn't change a thing. I'm missing a step here somewhere?


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#8 2023-04-30 17:31:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,892

Re: can't boot Arch after Windows 11 install

Then you aren't loading the GRUB associated with that config file. What exact grub-install comand did you use and what's your output of

lsblk -f
efibootmgr -uv

Offline

#9 2023-04-30 18:04:17

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

V1del wrote:

Then you aren't loading the GRUB associated with that config file. What exact grub-install comand did you use and what's your output of

lsblk -f
efibootmgr -uv

That is what I am thinking. I ran grub-mkconfig and then grub-install, both as sudo. grub-install without any options (which is probably not the right way wink.

lsblk -f

NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
nvme0n1                                                                            
├─nvme0n1p1 vfat   FAT32       6D39-EB01                             968,6M     3% /boot/efi
├─nvme0n1p2 ext4   1.0         1be16283-dd2d-491f-a9c5-431d88b93c10  166,2G     8% /
├─nvme0n1p3                                                                        
└─nvme0n1p4 ntfs               B8DCF205DCF1BDA6                       

and

efibootmgr -uv

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0021,001B,001C,001D,001E,001F,0020,0022,0012,0011,0024,0023
Boot0000* Windows Boot Manager	HD(1,GPT,62667ce9-c2bc-de46-a3ac-8b1c61ce5587,0x800,0x1f4000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)䥗䑎坏S
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 40 1f 00 00 00 00 00 e9 7c 66 62 bc c2 46 de a3 ac 8b 1c 61 ce 55 87 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 62 00 6f 00 6f 00 74 00 6d 00 67 00 66 00 77 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 31 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0001* arch	HD(1,GPT,62667ce9-c2bc-de46-a3ac-8b1c61ce5587,0x800,0x1f4000)/File(\EFI\arch\grubx64.efi)
      dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 40 1f 00 00 00 00 00 e9 7c 66 62 bc c2 46 de a3 ac 8b 1c 61 ce 55 87 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 61 00 72 00 63 00 68 00 5c 00 67 00 72 00 75 00 62 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Boot0010  ThinkShield secure wipe	FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
      dp: 04 06 14 00 d5 a0 93 35 52 bd a0 43 80 8e cb ff 5e ce 24 77 / 7f ff 04 00
Boot0011* LENOVO CLOUD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ad 38 cc bb f7 ed f0 4d 95 9c f4 2a a7 4d 36 50 / 03 18 3b 00 68 74 74 70 73 3a 2f 2f 64 6f 77 6e 6c 6f 61 64 2e 6c 65 6e 6f 76 6f 2e 63 6f 6d 2f 70 63 63 62 62 73 2f 63 64 65 70 6c 6f 79 2f 65 66 69 2f 62 6f 6f 74 2e 65 66 69 / 7f ff 04 00
Boot0012* HTTPS BOOT	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri()
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ad 38 cc bb f7 ed f0 4d 95 9c f4 2a a7 4d 36 50 / 03 18 04 00 / 7f ff 04 00
Boot0013  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
      dp: 04 06 14 00 66 8b 1c 72 6c 42 86 4e 8e 99 34 57 c4 6a b0 b9 / 7f ff 04 00
Boot0014  Boot Menu	FvFile(126a762d-5758-4fca-8531-201a7f57f850)
      dp: 04 06 14 00 2d 76 6a 12 58 57 ca 4f 85 31 20 1a 7f 57 f8 50 / 7f ff 04 00
Boot0015  Diagnostic Splash Screen	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
      dp: 04 06 14 00 a6 d9 d8 a7 b0 6a eb 4a ad 9d 16 3e 59 a7 a3 80 / 7f ff 04 00
Boot0016  Lenovo Diagnostics	FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
      dp: 04 06 14 00 5b 61 7e 3f 45 0d 80 4f 88 dc 26 b2 34 95 85 60 / 7f ff 04 00
Boot0017  Regulatory Information	FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
      dp: 04 06 14 00 a0 92 8c 47 22 26 b7 42 a6 5d 58 94 16 9e 4d 24 / 7f ff 04 00
Boot0018  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
      dp: 04 06 14 00 f4 e6 6e f4 85 47 a3 43 92 3d 7f 78 6c 3c 84 79 / 7f ff 04 00
Boot0019  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
      dp: 04 06 14 00 60 3f 5d 66 3e ad ad 4c 8e 26 db 46 ee e9 f1 b5 / 7f ff 04 00
Boot001A  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
      dp: 04 06 14 00 6a d5 6f ac 41 3d fd 4e a1 b9 87 02 93 81 1a 28 / 7f ff 04 00
Boot001B* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 86 70 12 96 aa 5a 78 48 b6 6c d4 9d d3 ba 6a 55 / 7f ff 04 00
Boot001C* USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 6f f0 15 a2 88 30 b5 43 a8 b8 64 10 09 46 1e 49 / 7f ff 04 00
Boot001D* NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 00 1c 19 99 32 d9 4c 4e ae 9a a0 b6 e9 8e b8 a4 00 / 7f ff 04 00
Boot001E* NVMe1	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 00 1c 19 99 32 d9 4c 4e ae 9a a0 b6 e9 8e b8 a4 01 / 7f ff 04 00
Boot001F* ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 02 / 7f ff 04 00
Boot0020* ATA HDD1	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 01 / 7f ff 04 00
Boot0021* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 33 e8 21 aa af 33 bc 47 89 bd 41 9f 88 c5 08 03 / 7f ff 04 00
Boot0022* PXE BOOT	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 78 a8 4a af 2b 2a fc 4e a7 9c f5 cc 8f 3d 38 03 / 7f ff 04 00
Boot0023  Other CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ae a2 09 0a df de 21 4e 8b 3a 5e 47 18 56 a3 54 06 / 7f ff 04 00
Boot0024  Other HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
      dp: 03 0a 25 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 06 / 7f ff 04 00
Boot0025* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0b 01 / 7f ff 04 00
Boot0026* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0b 00 / 7f ff 04 00
Boot0027* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b 91 af 62 59 56 44 9f 41 a7 b9 1f 4f 89 2a b0 f6 / 7f ff 04 00
Boot0028* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
      dp: 03 0a 24 00 d2 38 78 bc 82 0f 60 4d 83 16 c0 68 ee 79 d2 5b ae a2 09 0a df de 21 4e 8b 3a 5e 47 18 56 a3 54 / 7f ff 04 00

Thanks for the help! Much appreciated.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#10 2023-05-01 08:48:33

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

I fixed the issue... probably not in the best or right way, but I'm not sure what is going on.

I ran:

grub-mkconfig --output=./grub.cfg.MYVERSION

Then made a backup of the /boot/grub/grub.cfg and moved grub.cfg.MYVERSION to /boot/grub/grub.cfg.

I then mounted /dev/nvme0n1p1 on /mnt and ran:

sudo grub-install /dev/nvme0n1p1

There are probably some unnecessary steps there, but it worked.

Any suggestions to do this better or to skip these steps are welcome.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#11 2023-05-01 10:20:39

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: can't boot Arch after Windows 11 install

HydroDiOxide wrote:

I then mounted /dev/nvme0n1p1 on /mnt and ran:

sudo grub-install /dev/nvme0n1p1

There are probably some unnecessary steps there, but it worked.

Note that the block device argument is ignored for UEFI GRUB. To specify a particular ESP use the --efi-directory option (not needed in this case though).

Offline

#12 2023-05-02 09:15:06

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 99

Re: can't boot Arch after Windows 11 install

Head_on_a_Stick wrote:
HydroDiOxide wrote:

I then mounted /dev/nvme0n1p1 on /mnt and ran:
There are probably some unnecessary steps there, but it worked.

Note that the block device argument is ignored for UEFI GRUB. To specify a particular ESP use the --efi-directory option (not needed in this case though).

I am not sure what that means..., but thanks wink

For now my solution is:

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

Maybe that option should have been there all along... probably.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

Board footer

Powered by FluxBB