After fresh installation of Manjaro XFCE Windows 10 doesn't open

Hello everyone,
after I’ve installated Manjaro XFCE in the Computer XIAOMI of my girlfriend (chinese), the installation of Manjaro went good and I can open it. Instead when I choose Windows 10 from the Manjaro GRUB at the beginning (Windows Boot), I cannot enter inside the operative system because it asks only or to shut down or to automatic-reparation, but in the last case when we press to continue to enter in windows10 it says reparation and it fails, causing again to reload the Manjaro GRUB.

I think it’s a problem of location of the partitions of windows10. I’m posting here the partitions:

How to make windows run again? Thanks in advance,

I suspect you had not disabled fastboot from Windows, or had not actually/properly shutdown Windows, befitting starting Manjaro installation. If so, I don’t know if and how you can make Windows start.

Do you mean repartition?
Maybe you could provide some info and something helps someone suggest a solution

sudo parted -l
inxi -SMDpuoxxxz
efibootmgr -v

Please use proper formatting for text output (no images, please)


1 Like

By reparation I mean Windows asks for update in order to repair the system, but when I press the button it comes back to Manjaro GRUB. I have disable secureboot in order to make the partition in UEFI mode, but about fastboot I don’t know.

Disk /dev/sda: 7852MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
2      2013MB  2017MB  4194kB  primary               esp


Model: Unknown (unknown)
Disk /dev/nvme0n1: 256GB
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   211GB  211GB   ntfs         Basic data partition          msftdata
7      211GB   248GB  36,7GB  ext4
8      248GB   253GB  5243MB  fat32                                      msftdata
4      253GB   254GB  944MB   ntfs                                       hidden, diag
5      254GB   255GB  882MB   ntfs                                       hidden, diag
6      255GB   256GB  839MB   ntfs         Basic data partition          hidden, diag
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sda: 7852MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
2      2013MB  2017MB  4194kB  primary               esp


Model: Unknown (unknown)
Disk /dev/nvme0n1: 256GB
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   211GB  211GB   ntfs         Basic data partition          msftdata
7      211GB   248GB  36,7GB  ext4
8      248GB   253GB  5243MB  fat32                                      msftdata
4      253GB   254GB  944MB   ntfs                                       hidden, diag
5      254GB   255GB  882MB   ntfs                                       hidden, diag
6      255GB   256GB  839MB   ntfs         Basic data partition          hidden, diag ```


inxi -SMDpuoxxxz


``` System:    Host: salma Kernel: 4.19.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN 
          tk: Gtk 3.24.1 info: xfce4-panel wm: xfwm4 dm: LightDM 1.28.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Timi product: TM1613 v: A05 serial: <filter> 
          Mobo: Timi model: TM1613 v: A05 serial: <filter> UEFI: Insyde v: A05 date: 08/11/2016 
Drives:    Local Storage: total: 245.79 GiB used: 6.02 GiB (2.5%) 
          ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLV256HCHP-00000 size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 
          serial: <filter> rev: BXV7000Q scheme: GPT 
          ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 2.0 size: 7.31 GiB serial: <filter> rev: PMAP 
          scheme: MBR 
Partition: ID-1: / size: 33.39 GiB used: 6.02 GiB (18.0%) fs: ext4 dev: /dev/nvme0n1p7 
          uuid: 0ed97baa-564b-4187-b6c1-75866aae5160 
          ID-2: /boot/efi size: 4.87 GiB used: 264 KiB (0.0%) fs: vfat dev: /dev/nvme0n1p8 uuid: EAC4-5F7A 
Unmounted: ID-1: /dev/nvme0n1p1 size: 100.0 MiB fs: vfat label: ESP uuid: E646-79B1 
          ID-2: /dev/nvme0n1p2 size: 16.0 MiB fs: <root required> label: N/A uuid: N/A 
          ID-3: /dev/nvme0n1p3 size: 196.81 GiB fs: ntfs label: OS uuid: 84D2470AD246FFC2 
          ID-4: /dev/nvme0n1p4 size: 900.0 MiB fs: ntfs label: N/A uuid: 60947AB9947A90F0 
          ID-5: /dev/nvme0n1p5 size: 841.0 MiB fs: ntfs label: N/A uuid: 808C26158C2605EE 
          ID-6: /dev/nvme0n1p6 size: 800.0 MiB fs: ntfs label: WinRE uuid: F8B647A1B6475F6E 
          ID-7: /dev/sda1 size: 1.87 GiB fs: iso9660 label: MJRO1801 uuid: 2018-12-22-14-52-01-00 
          ID-8: /dev/sda2 size: 4.0 MiB fs: vfat label: MISO_EFI uuid: E099-17B4 ```


efibootmgr -V
```version 16```

You should use small v for flag, to get info. :blush:

Edit: also post the part for windows in your /boot/grub/grub.cfg. Maybe this command can find it…

sudo grep "Windows" -A 20 /boot/grub/grub.cfg

If it fails, try to find manually, please. I 'm not sure for correct syntax and I 'm not on my PC ATM…

1 Like

@fenerevar you have 2 /boot/efi and only one with boot/esp
you have created another /boot/efi instead of just mounting /boot/efi

1 Like

At grub menu, go to grub prompt (grub>) by pressing ‘c’

grub> insmod fat
grub> search -f /EFI/Microsoft/Boot/bootmgfw.efi

Any output? Write down and tell us later.
If there’s output, continue… note this is not a repeat of the last command.

grub> search -f /EFI/Microsoft/Boot/bootmgfw.efi --set=root
grub> chainloader /EFI/Microsoft/Boot/bootmgfw.efi
grub> boot

Does that boot?
Let us know

  1. What’s the output above of grub> search -f /EFI/Microsoft/Boot/bootmgfw.efi ?
  2. Print out windows entry of manjaro’s grub.cfg (as per petsam’s post above).
  3. efibootmgr -v (as per petsam)
  4. sudo blkid ( need this to compare with efibootmgr -v)
2 Likes

thanks for the replies, here are the output of the commands:

sudo grep “Windows” -A 20 /boot/grub/grub.cfg

   savedefault
   insmod part_gpt
   insmod fat
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root  E646-79B1
   else
     search --no-floppy --fs-uuid --set=root E646-79B1
   fi
   chainloader /efi/Microsoft/Boot/bootmgfw.efi
}
# Other OS found, undo autohiding of menu unless menu_auto_hide=2
if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
 set timeout_style=${orig_timeout_style}
 set timeout=${orig_timeout}
fi
### END /etc/grub.d/30_os-prober ###

### 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```

efibootmgr -v

BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0002,0000,2001,2002,2003
Boot0000* Windows Boot Manager HD(1,GPT,a668dd33-0638-4402-9887-b0ee496594cf,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…
Boot0002* Manjaro HD(8,GPT,0485368c-ffe6-4a01-ad41-0fd0e407e436,0x1ce34800,0x9c4000)/File(\EFI\Manjaro\grubx64.efi)
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC ```

sudo blkid

/dev/nvme0n1p1: LABEL="ESP" UUID="E646-79B1" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="a668dd33-0638-4402-9887-b0ee496594cf"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="2e9e2e8d-aee0-4117-a27c-2ad3d13b8366"
/dev/nvme0n1p3: LABEL="OS" UUID="84D2470AD246FFC2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="fbef7c2c-0e4d-4fe2-b67c-f15087127014"
/dev/nvme0n1p4: UUID="60947AB9947A90F0" TYPE="ntfs" PARTUUID="079057d0-4bb3-4adc-878e-833c70653ba0"
/dev/nvme0n1p5: UUID="808C26158C2605EE" TYPE="ntfs" PARTUUID="511e0b4f-5f4e-4995-bec8-f683b4e02675"
/dev/nvme0n1p6: LABEL="WinRE" UUID="F8B647A1B6475F6E" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2cd8d2ea-89b7-4076-b2de-bf911e7bfdd0"
/dev/nvme0n1p7: UUID="0ed97baa-564b-4187-b6c1-75866aae5160" TYPE="ext4" PARTUUID="1514d4e5-3197-4bb4-91db-65d91e491d61"
/dev/nvme0n1p8: UUID="EAC4-5F7A" TYPE="vfat" PARTUUID="0485368c-ffe6-4a01-ad41-0fd0e407e436"     
  1. The output of grub> search -f /EFI/Microsoft/Boot/bootmgfw.efi is
    hd0,gpt1

I don’t know if it is useful to know but after running the command
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
the output is:

file path:/ACPI(a0341d0,0)/PCI(0,1d)/PCI(0,0)/UnknownMessaging(17)/HD(1,800,32000,33dd68a638060244,2,2)/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire

After running all the commands it does boot to windows boot loader just like when I choose from the GRUB windows boot loader:
windows asks for automatic reparation
and then diagnose your computer
but then reparation fails : then there is shutdown or continue with win10 options, the last one if chosen it comes back to GRUB manjaro as I said in the beginning.

maybe is this the problem?

There is nothing wrong at manjaro.
Problem is at Windows.
Fix in at Windows, its boot
After fixing it, you may have to do update-grub at manjaro, that’s all you need to do at manjaro,
You may not even need to do update-grub , but just do it.

PS: I cannot help with fixing windows. Don’t know, not sure, haven’t done.

1 Like

The problem is when I select to repair windows and fails and say continue again with windows10 it comes back to manjaro GRUB instead of continue to enter inside windows, maybe it’s related to the 2 /boot/efi?

is it the boot also if opens and says repairs fail or it’s the system itself

maybe if I uninstall in some way manjaro GRUB i can continue with Windows

That might break all OSes, so you may loose Manjaro as well.
Try to select Windows from UEFI, or change boot order making Windows 1st. If it also fails, there is no other advice from Linux. You have to ask Windows resources.
You may need to install Windows again…

1 Like

it doesn’t work. Do you know where to ask about Winsows resource?

Also from Manjaro I cannot find the location to recover data in WIndows

Windows is in /dev/nvme0n1p3 but there is no such a file/directory

Did you use Thunar?
There should be some (un)mounted partitions at the left pane…

1 Like

Correct. That’s because when the system fails to boot, it goes to the next efibootmgr entry which is Manjaro.

. Though you can test your hypothesis by resetting Manjaro /boot/efi to the same as windows.

That happens while attempting to boot and repair windows. That would be at windows. Not likely to be system and definitely not Manjaro.

That’s windows OS itself (like linux root /). Its efi file is in /dev/nvme0n1p1 not /dev/nvme0n1p3.
So the (efi) file is not found in /dev/nvme0n1p3.
Reminder - the file found in /dev/nvme0n1p1 fails to boot windows.

1 Like

I’ve tried with the LIVE USB to take windows files but I can’t do because when I select from Thunar the “OS” it doesn’t open and its color is gray and not black (GUI Thunar)
I think because it is unmounted so I’ve tried with gnome-disks to mount windows OS but I cannot do also in this case.

where to find the OS system? because /dev/nvme0n1p1 and /dev/nvme0n1p3 are single files and not the operative system in which I can enter usually with the LIVE USB and copy all directories and files( also there is no in /run/media/ since it is not mounted.

I also wondering if there is also something left because from GPARTED as you can see in my first post (picture or the code above) there is written Size 196.81 GiB and used — (or maybe it doesn’t tell how much is used because it’s not mounted or 2 /boot/efi)?
However thanks guys for all your effort

if I can take both manjaro and win10 in one /boot/efi maybe the problem can be solved? there is some guide if you know for the code to make it

Yes indeed there is the unmounted partition which is OS that is referring to Win10 and for this reason in live I also cannot enter in it and recover the files if there are

https://forum.manjaro.org/t/trouble-with-windows-bootloader/9825/5

I’ve also tried to add in grub.cfg where there is the entry of" Win10 option 30 "and not in custom.cfg as the post 5 suggest in this link, adding only the command ntldr /bootmgr
but when I started again and entered in Win10 said that ntldr isn’t found or recognize as command

maybe here is not on /sda the entry I have to make but on /dev?

Forum kindly sponsored by