[SOLVED ]Messed up AL/WIN10 Dual Boot

#1

Hi everyone,

recently I tried setting up a dual boot for ArchLabs and WIndows 10. But I messed up the partitioning.
I followed the Arch wiki UEFI/GPT example layout https://wiki.archlinux.org/index.php/partitioning#UEFI/GPT_example_layout

However when reading the article on the EFI System Partition https://wiki.archlinux.org/index.php/EFI_system_partition#Check_for_an_existing_partition
I messed up and interpreted
" If you are installing Arch Linux on an UEFI-capable computer with an installed operating system, like Windows 10 for example, it is very likely that you already have an EFI system partition."
as saying I can use that partition for AL, too (which is pretty silly in hindsight). When it asked me to format that partition I declined though. So when I start my PC I can choose to boot Windows which gives me an UNABLE_TO_MOUNT_BOOT_VOLUME error. ArchLabs starts without issues.

I’m not sure where to go from here as I’m afraid I might make things even worse. Any help would be appreciated!

#2

You can use a single efi partition for both, doesn’t cause issues if it’s large enough to fit both.

You used the most recent iso?

Were you booting in legacy mode?

When booting, do you get to a menu (grub)?

Was the windows bootloader found during install (meaning at the boot menu, is there an entry for windows?)

Try running from AL as root and post the output from each

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

ls -R /boot
2 Likes
#3

Don’t want to hi-jack, but more purely an observation. Was “os-prober” installed with grub? If it was overlooked, this could be the root of the issue as issue as well.

#4

In case you have no issue with booting linux but grub does not find your windows bootloader after doing what natemaia suggested, get a windows rescue device and repair your windows boot manager (loads of tutorials on that on the internet, also search this forum for similar issues I and others had before you).

Best of luck with this.

#5

First of all, thanks for the replies.

The existing efi parition was 2 GB.

I was not booting legacy mode.

There is an entry for the windows bootloader in the boot menu.

from grub-mkconfig -o /boot/grub/grub.cfg

creating GRUB configuration file …
Linux image found: /boot/vmlinuz-linux-lts
initrd image found: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Linux image found: /boot/vmlinuz-linux
initrd image found: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
Found Windows Boot Manager on /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

from ls -R /boot

/boot:
 amd-ucode.img*   grub/                           initramfs-linux.img*                initramfs-linux-lts.img*   memtest86+/                   vmlinuz-linux*
 EFI/             initramfs-linux-fallback.img*   initramfs-linux-lts-fallback.img*   intel-ucode.img*          'System Volume Information'/   vmlinuz-linux-lts*

/boot/EFI:
ArchLabs/  BOOT/  Microsoft/

/boot/EFI/ArchLabs:
grubx64.efi*

/boot/EFI/BOOT:
BOOTX64.EFI*

/boot/EFI/Microsoft:
Boot/  Recovery/

/boot/EFI/Microsoft/Boot:
BCD*       bootmgfw.efi*    cs-CZ/  en-US/  Fonts/  it-IT/           kd_02_14e4.dll*  kd_02_8086.dll*  lt-LT/        pl-PL/      ro-RO/       sv-SE/                     zh-CN/
BCD.LOG*   bootmgr.efi*     da-DK/  es-ES/  fr-CA/  ja-JP/           kd_02_15b3.dll*  kd_07_1415.dll*  lv-LV/        pt-BR/      ru-RU/       tr-TR/                     zh-TW/
BCD.LOG1*  bootspaces.dll*  de-DE/  es-MX/  fr-FR/  kd_02_10df.dll*  kd_02_1969.dll*  kd_0C_8086.dll*  memtest.efi*  pt-PT/      sk-SK/       uk-UA/
BCD.LOG2*  BOOTSTAT.DAT*    el-GR/  et-EE/  hr-HR/  kd_02_10ec.dll*  kd_02_19a2.dll*  kdstub.dll*      nb-NO/        qps-ploc/   sl-SI/       updaterevokesipolicy.p7b*
bg-BG/     boot.stl*        en-GB/  fi-FI/  hu-HU/  kd_02_1137.dll*  kd_02_1af4.dll*  ko-KR/           nl-NL/        Resources/  sr-Latn-RS/  winsipolicy.p7b*

/boot/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/cs-CZ:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/da-DK:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/de-DE:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/el-GR:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/en-GB:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/es-ES:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/es-MX:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/et-EE:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/fi-FI:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/Fonts:
chs_boot.ttf*  jpn_boot.ttf*  malgun_boot.ttf*   meiryo_boot.ttf*   msjh_boot.ttf*   msyh_boot.ttf*   segmono_boot.ttf*   segoe_slboot.ttf*
cht_boot.ttf*  kor_boot.ttf*  malgunn_boot.ttf*  meiryon_boot.ttf*  msjhn_boot.ttf*  msyhn_boot.ttf*  segoen_slboot.ttf*  wgl4_boot.ttf*

/boot/EFI/Microsoft/Boot/fr-CA:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/fr-FR:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/hr-HR:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/hu-HU:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/it-IT:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/ja-JP:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/ko-KR:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/lt-LT:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/lv-LV:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/nb-NO:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/nl-NL:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/pl-PL:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/pt-BR:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/pt-PT:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/qps-ploc:
memtest.efi.mui*

/boot/EFI/Microsoft/Boot/Resources:
bootres.dll*  de-DE/  en-US/  fr-FR/  it-IT/  nl-NL/

/boot/EFI/Microsoft/Boot/Resources/de-DE:
bootres.dll.mui*

/boot/EFI/Microsoft/Boot/Resources/en-US:
bootres.dll.mui*

/boot/EFI/Microsoft/Boot/Resources/fr-FR:
bootres.dll.mui*

/boot/EFI/Microsoft/Boot/Resources/it-IT:
bootres.dll.mui*

/boot/EFI/Microsoft/Boot/Resources/nl-NL:
bootres.dll.mui*

/boot/EFI/Microsoft/Boot/ro-RO:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/ru-RU:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/sk-SK:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/sl-SI:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/sr-Latn-RS:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/sv-SE:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/tr-TR:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/uk-UA:
bootmgfw.efi.mui*  bootmgr.efi.mui*

/boot/EFI/Microsoft/Boot/zh-CN:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Boot/zh-TW:
bootmgfw.efi.mui*  bootmgr.efi.mui*  memtest.efi.mui*

/boot/EFI/Microsoft/Recovery:
BCD*  BCD.LOG*  BCD.LOG1*  BCD.LOG2*

/boot/grub:
fonts/  grub.cfg*  grubenv*  locale/  themes/  x86_64-efi/

/boot/grub/fonts:
unicode.pf2*

/boot/grub/locale:
 ast.mo*   da.mo*     'de@hebrew.mo'*  'en@arabic.mo'*  'en@piglatin.mo'*   eo.mo*   fi.mo*   gl.mo*   hu.mo*   it.mo*   ko.mo*   nb.mo*   pa.mo*   pt_BR.mo*   sl.mo*   sv.mo*   uk.mo*   zh_CN.mo*
 ca.mo*    de_CH.mo*   de.mo*          'en@hebrew.mo'*  'en@quot.mo'*       es.mo*   fr.mo*   hr.mo*   id.mo*   ja.mo*   lt.mo*   nl.mo*   pl.mo*   ru.mo*      sr.mo*   tr.mo*   vi.mo*   zh_TW.mo*

/boot/grub/themes:
starfield/

/boot/grub/themes/starfield:
blob_w.png*        boot_menu_n.png*   boot_menu_sw.png*      dejavu_12.pf2*       README*        starfield.png*        terminal_box_n.png*   terminal_box_sw.png*
boot_menu_c.png*   boot_menu_nw.png*  boot_menu_w.png*       dejavu_14.pf2*       slider_c.png*  terminal_box_c.png*   terminal_box_nw.png*  terminal_box_w.png*
boot_menu_e.png*   boot_menu_se.png*  COPYING.CC-BY-SA-3.0*  dejavu_16.pf2*       slider_n.png*  terminal_box_e.png*   terminal_box_se.png*  theme.txt*
boot_menu_ne.png*  boot_menu_s.png*   dejavu_10.pf2*         dejavu_bold_14.pf2*  slider_s.png*  terminal_box_ne.png*  terminal_box_s.png*

/boot/grub/x86_64-efi:
acpi.mod*          cmdline_cat_test.mod*  eval.mod*             gcry_sha512.mod*         legacycfg.mod*             minix_be.mod*    part_plan.mod*        search.mod*          ufs2.mod*
adler32.mod*       cmp.mod*               exfat.mod*            gcry_tiger.mod*          legacy_password_test.mod*  minix.mod*       part_sun.mod*         serial.mod*          uhci.mod*
affs.mod*          cmp_test.mod*          exfctest.mod*         gcry_twofish.mod*        linux16.mod*               mmap.mod*        part_sunpc.mod*       setjmp.mod*          usb_keyboard.mod*
afs.mod*           command.lst*           ext2.mod*             gcry_whirlpool.mod*      linux.mod*                 moddep.lst*      parttool.lst*         setjmp_test.mod*     usb.mod*
ahci.mod*          configfile.mod*        extcmd.mod*           geli.mod*                loadbios.mod*              modinfo.sh*      parttool.mod*         setpci.mod*          usbms.mod*
all_video.mod*     core.efi*              fat.mod*              gettext.mod*             loadenv.mod*               morse.mod*       password.mod*         sfs.mod*             usbserial_common.mod*
aout.mod*          cpio_be.mod*           file.mod*             gfxmenu.mod*             loopback.mod*              mpi.mod*         password_pbkdf2.mod*  shift_test.mod*      usbserial_ftdi.mod*
appleldr.mod*      cpio.mod*              fixvideo.mod*         gfxterm_background.mod*  lsacpi.mod*                msdospart.mod*   pata.mod*             signature_test.mod*  usbserial_pl2303.mod*
archelp.mod*       cpuid.mod*             font.mod*             gfxterm_menu.mod*        lsefimmap.mod*             mul_test.mod*    pbkdf2.mod*           sleep.mod*           usbserial_usbdebug.mod*
ata.mod*           crc64.mod*             fshelp.mod*           gfxterm.mod*             lsefi.mod*                 multiboot2.mod*  pbkdf2_test.mod*      sleep_test.mod*      usbtest.mod*
at_keyboard.mod*   cryptodisk.mod*        fs.lst*               gptsync.mod*             lsefisystab.mod*           multiboot.mod*   pcidump.mod*          spkmodem.mod*        verify.mod*
backtrace.mod*     crypto.lst*            functional_test.mod*  grub.efi*                lsmmap.mod*                nativedisk.mod*  play.mod*             squash4.mod*         video_bochs.mod*
bfs.mod*           crypto.mod*            gcry_arcfour.mod*     gzio.mod*                ls.mod*                    net.mod*         png.mod*              syslinuxcfg.mod*     video_cirrus.mod*
bitmap.mod*        cs5536.mod*            gcry_blowfish.mod*    halt.mod*                lspci.mod*                 newc.mod*        priority_queue.mod*   tar.mod*             video_colors.mod*
bitmap_scale.mod*  ctz_test.mod*          gcry_camellia.mod*    hashsum.mod*             lssal.mod*                 nilfs2.mod*      probe.mod*            terminal.lst*        video_fb.mod*
blocklist.mod*     datehook.mod*          gcry_cast5.mod*       hdparm.mod*              luks.mod*                  normal.mod*      procfs.mod*           terminal.mod*        videoinfo.mod*
boot.mod*          date.mod*              gcry_crc.mod*         hello.mod*               lvm.mod*                   ntfscomp.mod*    progress.mod*         terminfo.mod*        video.lst*
boottime.mod*      datetime.mod*          gcry_des.mod*         help.mod*                lzopio.mod*                ntfs.mod*        raid5rec.mod*         test_blockarg.mod*   video.mod*
bsd.mod*           diskfilter.mod*        gcry_dsa.mod*         hexdump.mod*             macbless.mod*              odc.mod*         raid6rec.mod*         testload.mod*        videotest_checksum.mod*
bswap_test.mod*    disk.mod*              gcry_idea.mod*        hfs.mod*                 macho.mod*                 offsetio.mod*    random.mod*           test.mod*            videotest.mod*
btrfs.mod*         div.mod*               gcry_md4.mod*         hfspluscomp.mod*         mdraid09_be.mod*           ohci.mod*        read.mod*             testspeed.mod*       xfs.mod*
bufio.mod*         div_test.mod*          gcry_md5.mod*         hfsplus.mod*             mdraid09.mod*              part_acorn.mod*  reboot.mod*           tftp.mod*            xnu.mod*
cacheinfo.mod*     dm_nv.mod*             gcry_rfc2268.mod*     http.mod*                mdraid1x.mod*              part_amiga.mod*  regexp.mod*           tga.mod*             xnu_uuid.mod*
cat.mod*           echo.mod*              gcry_rijndael.mod*    iorw.mod*                memdisk.mod*               part_apple.mod*  reiserfs.mod*         time.mod*            xnu_uuid_test.mod*
cbfs.mod*          efifwsetup.mod*        gcry_rmd160.mod*      iso9660.mod*             memrw.mod*                 part_bsd.mod*    relocator.mod*        trig.mod*            xzio.mod*
cbls.mod*          efi_gop.mod*           gcry_rsa.mod*         jfs.mod*                 minicmd.mod*               part_dfly.mod*   romfs.mod*            tr.mod*              zfscrypt.mod*
cbmemc.mod*        efinet.mod*            gcry_seed.mod*        jpeg.mod*                minix2_be.mod*             part_dvh.mod*    scsi.mod*             true.mod*            zfsinfo.mod*
cbtable.mod*       efi_uga.mod*           gcry_serpent.mod*     keylayouts.mod*          minix2.mod*                part_gpt.mod*    search_fs_file.mod*   udf.mod*             zfs.mod*
cbtime.mod*        ehci.mod*              gcry_sha1.mod*        keystatus.mod*           minix3_be.mod*             partmap.lst*     search_fs_uuid.mod*   ufs1_be.mod*
chain.mod*         elf.mod*               gcry_sha256.mod*      ldm.mod*                 minix3.mod*                part_msdos.mod*  search_label.mod*     ufs1.mod*

/boot/memtest86+:
memtest.bin*

'/boot/System Volume Information':
IndexerVolumeGuid*

os-prober was not installed with grub. Thanks again.

#6

So… did it work? Is the issue fixed?
If so, please mark this thread as solved.
At least from what I can gather, the output you posted looks to be in order.

#7

The issue is not fixed. I cannot boot Windows as it is unable to mount the boot volume.

#8

How long did you leave the machine before turning it off?

Windows can usually repair stuff like that itself but it may take a while.

Did you delete any of the Windows partitions? The bootloader is still there so the ESP looks fine.

#9

I’d agree with HoaS, everything seems fine in your ESP and grub is able to find it/generate a menu entry.

Do you have access to a windows repair drive?

Do you still have the “Recovery” partition created by windows?

I generally don’t like linking to “guides” outside of wkis but the info in this is fairly accurate for W10

Basically just leave it and see if that fixes it, if not you’ll need grab a recovery iso and boot from that.


@AvnSgt os-prober is installed with grub.

1 Like
#10

@natemaia - Awesome!