Can't boot to arch linux after installation (dual-boot with Windows 10) [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












For the past few days I have been trying to install arch linux but have not succeeded in doing so. The installation goes completely fine but when I restart the computer I don't get GRUB and it doesn't even appear in boot options.



I have done tons of research but I haven't found a solution that worked. I am not sure if this is the root of the problem, but in /boot/efi/EFI there is no arch folder after doing grub-install and grub-mkconfig (there was an ubuntu folder when I had ubuntu).



I am pretty sure fstab is correctly configured. I followed all the steps in the arch guide and I have no idea what could have gone wrong.



Edit: secure boot is disabled and it boots directly into Windows. If I make the boot menu appear (pressing F12), I only get the windows option. The output of efibootmgr -v is the following:



BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0001,2002,2003
Boot0000* USB HDD: USB Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x72539,0x800,0xf00000)RC
Boot0001* Windows Boot Manager HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0002* GRUB HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIGRUBgrubx64.efi)
Boot0004* arch HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIarchgrubx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC






share|improve this question













closed as unclear what you're asking by jasonwryan, schily, Rui F Ribeiro, Julie Pelletier, Jeff Schaller Jun 15 at 21:07


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Does it boot straight to windows? have you disabled secure boot ?
    – vfbsilva
    Jun 13 at 22:25










  • @vfbsilva yes to both questions
    – marlasca23
    Jun 13 at 22:25










  • I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
    – Dafnie
    Jun 13 at 23:31










  • Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
    – telcoM
    Jun 14 at 5:18











  • @telcoM I just added the output of efibootmgr -v to the question
    – marlasca23
    Jun 14 at 8:40














up vote
0
down vote

favorite












For the past few days I have been trying to install arch linux but have not succeeded in doing so. The installation goes completely fine but when I restart the computer I don't get GRUB and it doesn't even appear in boot options.



I have done tons of research but I haven't found a solution that worked. I am not sure if this is the root of the problem, but in /boot/efi/EFI there is no arch folder after doing grub-install and grub-mkconfig (there was an ubuntu folder when I had ubuntu).



I am pretty sure fstab is correctly configured. I followed all the steps in the arch guide and I have no idea what could have gone wrong.



Edit: secure boot is disabled and it boots directly into Windows. If I make the boot menu appear (pressing F12), I only get the windows option. The output of efibootmgr -v is the following:



BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0001,2002,2003
Boot0000* USB HDD: USB Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x72539,0x800,0xf00000)RC
Boot0001* Windows Boot Manager HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0002* GRUB HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIGRUBgrubx64.efi)
Boot0004* arch HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIarchgrubx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC






share|improve this question













closed as unclear what you're asking by jasonwryan, schily, Rui F Ribeiro, Julie Pelletier, Jeff Schaller Jun 15 at 21:07


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Does it boot straight to windows? have you disabled secure boot ?
    – vfbsilva
    Jun 13 at 22:25










  • @vfbsilva yes to both questions
    – marlasca23
    Jun 13 at 22:25










  • I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
    – Dafnie
    Jun 13 at 23:31










  • Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
    – telcoM
    Jun 14 at 5:18











  • @telcoM I just added the output of efibootmgr -v to the question
    – marlasca23
    Jun 14 at 8:40












up vote
0
down vote

favorite









up vote
0
down vote

favorite











For the past few days I have been trying to install arch linux but have not succeeded in doing so. The installation goes completely fine but when I restart the computer I don't get GRUB and it doesn't even appear in boot options.



I have done tons of research but I haven't found a solution that worked. I am not sure if this is the root of the problem, but in /boot/efi/EFI there is no arch folder after doing grub-install and grub-mkconfig (there was an ubuntu folder when I had ubuntu).



I am pretty sure fstab is correctly configured. I followed all the steps in the arch guide and I have no idea what could have gone wrong.



Edit: secure boot is disabled and it boots directly into Windows. If I make the boot menu appear (pressing F12), I only get the windows option. The output of efibootmgr -v is the following:



BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0001,2002,2003
Boot0000* USB HDD: USB Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x72539,0x800,0xf00000)RC
Boot0001* Windows Boot Manager HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0002* GRUB HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIGRUBgrubx64.efi)
Boot0004* arch HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIarchgrubx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC






share|improve this question













For the past few days I have been trying to install arch linux but have not succeeded in doing so. The installation goes completely fine but when I restart the computer I don't get GRUB and it doesn't even appear in boot options.



I have done tons of research but I haven't found a solution that worked. I am not sure if this is the root of the problem, but in /boot/efi/EFI there is no arch folder after doing grub-install and grub-mkconfig (there was an ubuntu folder when I had ubuntu).



I am pretty sure fstab is correctly configured. I followed all the steps in the arch guide and I have no idea what could have gone wrong.



Edit: secure boot is disabled and it boots directly into Windows. If I make the boot menu appear (pressing F12), I only get the windows option. The output of efibootmgr -v is the following:



BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0001,2002,2003
Boot0000* USB HDD: USB Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0x72539,0x800,0xf00000)RC
Boot0001* Windows Boot Manager HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)RC
Boot0002* GRUB HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIGRUBgrubx64.efi)
Boot0004* arch HD(1,GPT,88f77a3e-99ca-42d8-9191-96d66428a9f6,0x800,0x32000)/File(EFIarchgrubx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC








share|improve this question












share|improve this question




share|improve this question








edited Jun 14 at 8:46
























asked Jun 13 at 22:12









marlasca23

1021




1021




closed as unclear what you're asking by jasonwryan, schily, Rui F Ribeiro, Julie Pelletier, Jeff Schaller Jun 15 at 21:07


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by jasonwryan, schily, Rui F Ribeiro, Julie Pelletier, Jeff Schaller Jun 15 at 21:07


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • Does it boot straight to windows? have you disabled secure boot ?
    – vfbsilva
    Jun 13 at 22:25










  • @vfbsilva yes to both questions
    – marlasca23
    Jun 13 at 22:25










  • I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
    – Dafnie
    Jun 13 at 23:31










  • Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
    – telcoM
    Jun 14 at 5:18











  • @telcoM I just added the output of efibootmgr -v to the question
    – marlasca23
    Jun 14 at 8:40
















  • Does it boot straight to windows? have you disabled secure boot ?
    – vfbsilva
    Jun 13 at 22:25










  • @vfbsilva yes to both questions
    – marlasca23
    Jun 13 at 22:25










  • I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
    – Dafnie
    Jun 13 at 23:31










  • Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
    – telcoM
    Jun 14 at 5:18











  • @telcoM I just added the output of efibootmgr -v to the question
    – marlasca23
    Jun 14 at 8:40















Does it boot straight to windows? have you disabled secure boot ?
– vfbsilva
Jun 13 at 22:25




Does it boot straight to windows? have you disabled secure boot ?
– vfbsilva
Jun 13 at 22:25












@vfbsilva yes to both questions
– marlasca23
Jun 13 at 22:25




@vfbsilva yes to both questions
– marlasca23
Jun 13 at 22:25












I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
– Dafnie
Jun 13 at 23:31




I had a similarly problem with Linux Mint 18.2 and have succes with this tutorial. howtoubuntu.org/…
– Dafnie
Jun 13 at 23:31












Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
– telcoM
Jun 14 at 5:18





Major Windows updates seem to mess with UEFI boot variables sometimes. In Windows, start a command prompt as administrator, then run this command: bcdedit /enum firmware The result should be a long listing, does it mention GRUB anywhere? Or in Linux, you can get an equivalent listing in much more compact form with efibootmgr -v.
– telcoM
Jun 14 at 5:18













@telcoM I just added the output of efibootmgr -v to the question
– marlasca23
Jun 14 at 8:40




@telcoM I just added the output of efibootmgr -v to the question
– marlasca23
Jun 14 at 8:40










2 Answers
2






active

oldest

votes

















up vote
1
down vote













The efibootmgr output indicates the first non-USB boot item listed in BootOrder is 0001, which corresponds to Boot0001 line - which is the Windows bootloader. So Windows 10 has just promoted itself to the top of the list, as it sometimes does during major updates.



First, identify your EFI System Partition using the UUID listed in the efibootmgr output:



# blkid | grep 8f77a3e-99ca-42d8-9191-96d66428a9f6


This should identify the Linux device (probably something like /dev/sd*) corresponding to the actual ESP used by the firmware. Make sure it is mounted at /boot/efi; some Linux distributions actually leave it unmounted by default.



Then verify that either /boot/efi/EFI/GRUB/grubx64.efi or /boot/efi/EFI/arch/grubx64.efi exists.



If neither of those actually exists, run grub-install <disk device reported by blkid>: that should fix it.



If either of those grubx64.efi files exists, you can add Linux back to the boot order with:



# efibootmgr -o 2001,0002,0004,0001,2002,2003


(This corresponds to "try first an UEFI boot from a USB HDD, then EFIGRUBgrubx64.efi from the ESP partition, then EFIarchgrubx64.efi from the ESP partition, then fall back to Windows bootloader and the DVD and network boot options.")



Typically the last step would be the only thing you'll need after a major Windows update, but if something has actually caused the ESP partition contents to be completely rewritten, you may need the grub-install step too.






share|improve this answer





















  • I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
    – marlasca23
    Jun 14 at 10:36











  • That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
    – telcoM
    Jun 14 at 11:15










  • I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
    – marlasca23
    Jun 14 at 20:37










  • GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
    – telcoM
    Jun 14 at 21:20

















up vote
-1
down vote













I know it is my own question but I solved it and decided to add the answer in case anyone else comes across this problem.



I reset my PC following Microsoft's instructions here. Then, I erased the linux home and root partitions to do a fresh install. In the process I had to mount the EFI system partition on /boot/efi and I realised that even after resetting the PC /boot/efi/EFI/GRUB and /boot/efi/EFI/arch still existed. I erased those directories in case they were corrupt and that was the problem in my previous attempts.



The install had no problems whatsoever but Windows still wouldn't let me boot to arch so I had to run from the windows cmd the following as administrator



bcdedit /set bootmgr path EFIGRUBgrubx64.efi


I was then able to boot into arch from the boot menu (pressing f12 at startup).



I still don't know what the exact problem was. If anyone could explain it please add an answer.






share|improve this answer




























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    The efibootmgr output indicates the first non-USB boot item listed in BootOrder is 0001, which corresponds to Boot0001 line - which is the Windows bootloader. So Windows 10 has just promoted itself to the top of the list, as it sometimes does during major updates.



    First, identify your EFI System Partition using the UUID listed in the efibootmgr output:



    # blkid | grep 8f77a3e-99ca-42d8-9191-96d66428a9f6


    This should identify the Linux device (probably something like /dev/sd*) corresponding to the actual ESP used by the firmware. Make sure it is mounted at /boot/efi; some Linux distributions actually leave it unmounted by default.



    Then verify that either /boot/efi/EFI/GRUB/grubx64.efi or /boot/efi/EFI/arch/grubx64.efi exists.



    If neither of those actually exists, run grub-install <disk device reported by blkid>: that should fix it.



    If either of those grubx64.efi files exists, you can add Linux back to the boot order with:



    # efibootmgr -o 2001,0002,0004,0001,2002,2003


    (This corresponds to "try first an UEFI boot from a USB HDD, then EFIGRUBgrubx64.efi from the ESP partition, then EFIarchgrubx64.efi from the ESP partition, then fall back to Windows bootloader and the DVD and network boot options.")



    Typically the last step would be the only thing you'll need after a major Windows update, but if something has actually caused the ESP partition contents to be completely rewritten, you may need the grub-install step too.






    share|improve this answer





















    • I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
      – marlasca23
      Jun 14 at 10:36











    • That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
      – telcoM
      Jun 14 at 11:15










    • I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
      – marlasca23
      Jun 14 at 20:37










    • GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
      – telcoM
      Jun 14 at 21:20














    up vote
    1
    down vote













    The efibootmgr output indicates the first non-USB boot item listed in BootOrder is 0001, which corresponds to Boot0001 line - which is the Windows bootloader. So Windows 10 has just promoted itself to the top of the list, as it sometimes does during major updates.



    First, identify your EFI System Partition using the UUID listed in the efibootmgr output:



    # blkid | grep 8f77a3e-99ca-42d8-9191-96d66428a9f6


    This should identify the Linux device (probably something like /dev/sd*) corresponding to the actual ESP used by the firmware. Make sure it is mounted at /boot/efi; some Linux distributions actually leave it unmounted by default.



    Then verify that either /boot/efi/EFI/GRUB/grubx64.efi or /boot/efi/EFI/arch/grubx64.efi exists.



    If neither of those actually exists, run grub-install <disk device reported by blkid>: that should fix it.



    If either of those grubx64.efi files exists, you can add Linux back to the boot order with:



    # efibootmgr -o 2001,0002,0004,0001,2002,2003


    (This corresponds to "try first an UEFI boot from a USB HDD, then EFIGRUBgrubx64.efi from the ESP partition, then EFIarchgrubx64.efi from the ESP partition, then fall back to Windows bootloader and the DVD and network boot options.")



    Typically the last step would be the only thing you'll need after a major Windows update, but if something has actually caused the ESP partition contents to be completely rewritten, you may need the grub-install step too.






    share|improve this answer





















    • I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
      – marlasca23
      Jun 14 at 10:36











    • That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
      – telcoM
      Jun 14 at 11:15










    • I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
      – marlasca23
      Jun 14 at 20:37










    • GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
      – telcoM
      Jun 14 at 21:20












    up vote
    1
    down vote










    up vote
    1
    down vote









    The efibootmgr output indicates the first non-USB boot item listed in BootOrder is 0001, which corresponds to Boot0001 line - which is the Windows bootloader. So Windows 10 has just promoted itself to the top of the list, as it sometimes does during major updates.



    First, identify your EFI System Partition using the UUID listed in the efibootmgr output:



    # blkid | grep 8f77a3e-99ca-42d8-9191-96d66428a9f6


    This should identify the Linux device (probably something like /dev/sd*) corresponding to the actual ESP used by the firmware. Make sure it is mounted at /boot/efi; some Linux distributions actually leave it unmounted by default.



    Then verify that either /boot/efi/EFI/GRUB/grubx64.efi or /boot/efi/EFI/arch/grubx64.efi exists.



    If neither of those actually exists, run grub-install <disk device reported by blkid>: that should fix it.



    If either of those grubx64.efi files exists, you can add Linux back to the boot order with:



    # efibootmgr -o 2001,0002,0004,0001,2002,2003


    (This corresponds to "try first an UEFI boot from a USB HDD, then EFIGRUBgrubx64.efi from the ESP partition, then EFIarchgrubx64.efi from the ESP partition, then fall back to Windows bootloader and the DVD and network boot options.")



    Typically the last step would be the only thing you'll need after a major Windows update, but if something has actually caused the ESP partition contents to be completely rewritten, you may need the grub-install step too.






    share|improve this answer













    The efibootmgr output indicates the first non-USB boot item listed in BootOrder is 0001, which corresponds to Boot0001 line - which is the Windows bootloader. So Windows 10 has just promoted itself to the top of the list, as it sometimes does during major updates.



    First, identify your EFI System Partition using the UUID listed in the efibootmgr output:



    # blkid | grep 8f77a3e-99ca-42d8-9191-96d66428a9f6


    This should identify the Linux device (probably something like /dev/sd*) corresponding to the actual ESP used by the firmware. Make sure it is mounted at /boot/efi; some Linux distributions actually leave it unmounted by default.



    Then verify that either /boot/efi/EFI/GRUB/grubx64.efi or /boot/efi/EFI/arch/grubx64.efi exists.



    If neither of those actually exists, run grub-install <disk device reported by blkid>: that should fix it.



    If either of those grubx64.efi files exists, you can add Linux back to the boot order with:



    # efibootmgr -o 2001,0002,0004,0001,2002,2003


    (This corresponds to "try first an UEFI boot from a USB HDD, then EFIGRUBgrubx64.efi from the ESP partition, then EFIarchgrubx64.efi from the ESP partition, then fall back to Windows bootloader and the DVD and network boot options.")



    Typically the last step would be the only thing you'll need after a major Windows update, but if something has actually caused the ESP partition contents to be completely rewritten, you may need the grub-install step too.







    share|improve this answer













    share|improve this answer



    share|improve this answer











    answered Jun 14 at 10:16









    telcoM

    9,96111032




    9,96111032











    • I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
      – marlasca23
      Jun 14 at 10:36











    • That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
      – telcoM
      Jun 14 at 11:15










    • I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
      – marlasca23
      Jun 14 at 20:37










    • GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
      – telcoM
      Jun 14 at 21:20
















    • I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
      – marlasca23
      Jun 14 at 10:36











    • That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
      – telcoM
      Jun 14 at 11:15










    • I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
      – marlasca23
      Jun 14 at 20:37










    • GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
      – telcoM
      Jun 14 at 21:20















    I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
    – marlasca23
    Jun 14 at 10:36





    I did that and now I get "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)". I did some research on this error but nont of the suggested fixes seems to work for me. Also, it seems weird that the option that boots to arch is under the title "Windows Boot Manager"
    – marlasca23
    Jun 14 at 10:36













    That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
    – telcoM
    Jun 14 at 11:15




    That indicates the kernel is not able to access the root filesystem. Either the GRUB configuration file does not include the correct boot options (missing root=/dev/something boot option most likely), or the initrd/initramfs file does not include the right kernel module(s) to access the disk containing the root filesystem.
    – telcoM
    Jun 14 at 11:15












    I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
    – marlasca23
    Jun 14 at 20:37




    I don't think it is the first one because the UUID is correct in /boot/grub/grub.cfg. How would I fix the second thing you mentioned?
    – marlasca23
    Jun 14 at 20:37












    GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
    – telcoM
    Jun 14 at 21:20




    GRUB needs two filesystems specified - first the filesystem that contains the GRUB modules (typically /boot), and second the root filesystem identifier that will be passed on to the kernel to be booted. These may or may not refer to the same partition/filesystem, depending on your partitioning choices. In Arch, the command to rebuild the initramfs file is mkinitcpio; unfortunately I'm not too familiar with it.
    – telcoM
    Jun 14 at 21:20












    up vote
    -1
    down vote













    I know it is my own question but I solved it and decided to add the answer in case anyone else comes across this problem.



    I reset my PC following Microsoft's instructions here. Then, I erased the linux home and root partitions to do a fresh install. In the process I had to mount the EFI system partition on /boot/efi and I realised that even after resetting the PC /boot/efi/EFI/GRUB and /boot/efi/EFI/arch still existed. I erased those directories in case they were corrupt and that was the problem in my previous attempts.



    The install had no problems whatsoever but Windows still wouldn't let me boot to arch so I had to run from the windows cmd the following as administrator



    bcdedit /set bootmgr path EFIGRUBgrubx64.efi


    I was then able to boot into arch from the boot menu (pressing f12 at startup).



    I still don't know what the exact problem was. If anyone could explain it please add an answer.






    share|improve this answer

























      up vote
      -1
      down vote













      I know it is my own question but I solved it and decided to add the answer in case anyone else comes across this problem.



      I reset my PC following Microsoft's instructions here. Then, I erased the linux home and root partitions to do a fresh install. In the process I had to mount the EFI system partition on /boot/efi and I realised that even after resetting the PC /boot/efi/EFI/GRUB and /boot/efi/EFI/arch still existed. I erased those directories in case they were corrupt and that was the problem in my previous attempts.



      The install had no problems whatsoever but Windows still wouldn't let me boot to arch so I had to run from the windows cmd the following as administrator



      bcdedit /set bootmgr path EFIGRUBgrubx64.efi


      I was then able to boot into arch from the boot menu (pressing f12 at startup).



      I still don't know what the exact problem was. If anyone could explain it please add an answer.






      share|improve this answer























        up vote
        -1
        down vote










        up vote
        -1
        down vote









        I know it is my own question but I solved it and decided to add the answer in case anyone else comes across this problem.



        I reset my PC following Microsoft's instructions here. Then, I erased the linux home and root partitions to do a fresh install. In the process I had to mount the EFI system partition on /boot/efi and I realised that even after resetting the PC /boot/efi/EFI/GRUB and /boot/efi/EFI/arch still existed. I erased those directories in case they were corrupt and that was the problem in my previous attempts.



        The install had no problems whatsoever but Windows still wouldn't let me boot to arch so I had to run from the windows cmd the following as administrator



        bcdedit /set bootmgr path EFIGRUBgrubx64.efi


        I was then able to boot into arch from the boot menu (pressing f12 at startup).



        I still don't know what the exact problem was. If anyone could explain it please add an answer.






        share|improve this answer













        I know it is my own question but I solved it and decided to add the answer in case anyone else comes across this problem.



        I reset my PC following Microsoft's instructions here. Then, I erased the linux home and root partitions to do a fresh install. In the process I had to mount the EFI system partition on /boot/efi and I realised that even after resetting the PC /boot/efi/EFI/GRUB and /boot/efi/EFI/arch still existed. I erased those directories in case they were corrupt and that was the problem in my previous attempts.



        The install had no problems whatsoever but Windows still wouldn't let me boot to arch so I had to run from the windows cmd the following as administrator



        bcdedit /set bootmgr path EFIGRUBgrubx64.efi


        I was then able to boot into arch from the boot menu (pressing f12 at startup).



        I still don't know what the exact problem was. If anyone could explain it please add an answer.







        share|improve this answer













        share|improve this answer



        share|improve this answer











        answered Jun 15 at 12:58









        marlasca23

        1021




        1021












            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay