You are not logged in.
Pages: 1
I was dual booting Windows and Arch but I found myself wanting for storage for Arch so I did booted into Windows and use Disk Manager (Management?) to shrink windows partition. I tried to right click and see if I could expand the Linux root partition but there was no option, so I moved the allocated space between the root and boot partitions and it still didn't let me. At this point I planned to boot to Arch and use GParted to expand the partition but I couldn't get to the GRUB menu, it just drops me right into Windows. I made an Ubuntu installer, booted from it and used GParted to increase the space of my Arch root partition. I still can't get to the GRUB menu though. I have tried the following:
- Booted from an Arch live USB
- Did sudo fdisk -l and I see that my partitions have changed their numbers and my boot is at /dev/nvme0n1p5 and my root is at /dev/nvme0n1p7
- I kept this in mind and followed https://wiki.archlinux.org/title/GRUB#Installation to hopefully repair GRUB.
mount /dev/nvme0n1p7 /mnt
mount /dev/nvme0n1p5 /mnt/boot
arch-chroot /mnt
grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=GRUBWhen I do ls boot/ I see
EFI grub initramfs-linux-lts.img initramfs-linux.img intel-ucode.img vmlinuz-linux vmlinux-linux-ltsBut when I do ls boot/EFI I see
BOOT EFI GRUBI'm willing to bet that i'm installing it in the wrong place? Should I be doing grub-install with --efi-directory=/boot instead? Also I remember at one point of me trying to get GRUB to work it showed up in my UEFI boot order but didn't boot to it and then it disappeared. I do see GRUB in efibootmgr and I have tried changing the order using that as well. Any help would be appreciated! Thanks in advanced.
I'm also new to writing forum posts so I apologize for poor formatting. I tried to put as much info as possible that seemed relevant.
Offline
If you mounted your ESP to /boot, why are you telling grub it's at /boot/EFI?
Offline
If you mounted your ESP to /boot, why are you telling grub it's at /boot/EFI?
You make a good point... I'm honestly not sure. I just saw the EFI directory and thought that was right but I have just tried it with /boot instead and I'm still unable to get to the GRUB menu...
Before I rebooted, I did see GRUB be placed as the first in the boot order (via efibootmgr) but when I rebooted into my UEFI settings, it just doesn't exist. I also am unable to see the menu show up when I reboot and not go into UEFI.
Edit: Clarified where I saw the boot order before the reboot.
Last edited by Jukelyn (Yesterday 23:23:34)
Offline
Pages: 1