You are not logged in.

#1 2023-07-04 15:20:29

Neo Sahadeo
Member
Registered: 2023-07-04
Posts: 2

[SOLVED] Windows Instant Crash

I would like to preface this with that I'm still learning. I don't know much but I'll try my best.

_________
Problem:
I installed Windows 11 then installed Arch. I installed GRUB and os-prober. The Windows Boot Manager in the EFI partition was found when I made the grub.cfg. When I try to boot into Windows 11 I see the Windows Logo then the system crashes.
_________
How I manage to get into Windows 11:
I haven't setup secure boot with Arch just yet, I will eventually.
In the UEFI, I turn on secure boot. This boots the grub command line because I assume it can't find the Arch partition because of the signature. I then type "exit" to exit the grub command line and Windows 11 loads with no problems.
-----------
My motherboard is using UEFI
I have turned of Windows 11 hibernation.
Fast start it off.
I have verified the EFI partition table is GPT

Here is the output of

sudo parted -l
Model: ATA TS240GSSD220S (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  106MB   105MB   fat32        EFI system partition          boot, esp
 2      106MB   123MB   16.8MB               Microsoft reserved partition  msftres
 3      123MB   77.0GB  76.9GB  ntfs         Basic data partition          msftdata
 4      77.0GB  239GB   162GB   ext4
 5      239GB   240GB   664MB   ntfs                                       hidden, diag

Here is the output of

lsblk /dev/sda
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 223.6G  0 disk 
├─sda1   8:1    0   100M  0 part /boot/efi
├─sda2   8:2    0    16M  0 part 
├─sda3   8:3    0  71.6G  0 part 
├─sda4   8:4    0 151.2G  0 part /var/lib/snapd/snap
│                                /
└─sda5   8:5    0   633M  0 part 

P.S."Please correct me if the formatting of the post is wrong"

Last edited by Neo Sahadeo (2023-07-05 07:39:41)

Offline

#2 2023-07-05 07:37:50

Neo Sahadeo
Member
Registered: 2023-07-04
Posts: 2

Re: [SOLVED] Windows Instant Crash

I fixed it. I believe I installed something incorrectly when I was setting up Arch and corrupted the Windows boot.

What I did:
I reset the Windows 11 installation.

My grub entry:

menuentry 'Windows' {
        insmod part_gpt
        insmod fat
        insmod chain
        search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D69C-0FBC
        chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Offline

Board footer

Powered by FluxBB