Windows 10 Manjaro Dualboot

Hello everyone!
So I had a dualboot-setup with ubuntu and win10, managed by the grub-bootloader.
While installing manjaro, i simply replaced my ubuntu partition with manjaro.
While Manjaro works fine, there’s still a tiny problem: Windows 10 shows up in the manjaro bootloader, but when I select it, the screen freezes and nothing happens.
Can someone tell me what I’ve missed?

Did you replace the Ubuntu bootloader as well? Have you run update-grub since the install, if not?

Hmm…I don’t think you missed anything. I think windows is being a very sensitive b****. Did you backup your stuff from the windows partition? Wait for others to respond but my guess is is you might need to reinstall Windows and than go through to daul-boot setup process again.

@Tangeant
I don’t that’s the issue since OP had a working Win10-Linux system before.

Maybe you can give some info to our specialists :slight_smile:
and read a little bit more :wink: , since 4.Oct.2018, 27 min is not so much/many :smiley:
From gohlip

efibootmgr -v
sudo parted -l
sudo blkid
findmnt -s
findmnt /boot/efi

note: ‘parted -l’ --> small ‘L’ and provide information of all disks.
From

sudo cat /boot/grub/grub.cfg
sudo fdisk -lu

Also use search tool upper right or www :wink:

2 Likes

Although I don’t completely disagree with my previous post I see why others are saying to check that your grub is up-to-date.

If you still can’t boot after verifying that grub is up-to-date can you please somehow post the output of parted -l as @SGS has noted?

Sorry for the late reply. I did my fair bit of research before posting here. It seemed, however, that most problems concerning a dual-boot with Windows 10 are not similar to this.

I have gathered the reports, as you mentioned:

Drive Info: https://pastebin.com/ftJMWRpE
grub.cfg: https://pastebin.com/Q2E0m7D0

[Tonski antonia]# fdisk -lu
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: TOSHIBA MQ01ABF0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xc9a7e98b
 
Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   1026047   1024000   500M  7 HPFS/NTFS/exFAT
/dev/sda2         1026048 366890138 365864091 174,5G  7 HPFS/NTFS/exFAT
/dev/sda3       974917632 976769023   1851392   904M 27 Hidden NTFS WinRE
/dev/sda4       366891006 974917631 608026626   290G  5 Extended
/dev/sda5       958783488 974917631  16134144   7,7G 82 Linux swap / Solaris
/dev/sda6       366891008 958781439 591890432 282,2G 83 Linux
 
Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.

EDIT: I did try doing the update-grub, with installing os-prober first. Didn’t do the job.
What I didn’t do: Booting up in livecd mode. Should I do a grub-install from there? Or will this not do anything? Dualbooting with windows has always confused me too much…

Me too, seems help is coming from gohlip, wait a little :slight_smile:

There’s a chance that you still have remnants of Ubuntu in your /boot/efi/EFI folder. If you see anything Ubuntu there, delete it. From there, update grub, reboot and try to log back into windows.

A good rule of thumb is to fully delete any efi partitions, apply and then recreate and apply by using a partitioning editor like Gparted. On Uefi boots, make sure that your also using the flags “boot” and “esp” on that newly created efi partition.

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

grub> insmod ntfs
grub> insmod ntldr
grub> search.file /bootmgr

Any output? If none, stop and let us know
If there is a (hd0,msdos2) output then it’s fine and proceed.
If there is 2 output, let us know output and if one of them is (hd0,msdos2)
grub> set root=(hd0,2)
(and skip the next command "search.file /bootmgr root ")

Else continue

grub> search.file /bootmgr root
grub> ntldr /bootmgr

Let us know if that boots to windows properly.
We’ll fix it.

1 Like

Thanks for your reply :slight_smile:
So I did the following:

grub> insmod ntfs: no output
grub> insmod ntldr: no output
grub> search.file /bootmgr: hd0, msdos2 hd0,msdos1
grub>set root=(hd0,2): no output
grub> ntldr /bootmgr: no output

What does this tell us? :slight_smile:

I’ll also take a look at what GreenMartian said.
EDIT: The folder /boot/efi/ is not present.

G

Good!
Now continue from what i wrote
set root=(hd0,2)
ntldr /bootmgr

Go ahead.

1 Like

I did that. After that I pressed escape and tried to boot into Windows. Still freezing. :confused:

It means your windows somewhere is kaput.
The bootloader of windows is okay.

2 Likes

Did you resize windows partition?

1 Like

All I did was the following:
Booted into livecd
Started the install script
Chose to install Manjaro on existing partition.
Selected the Ubuntu partition.
Pressed ‘install’ ^^

So I’m glad to announce, that I found a solution!
While trying to mount my Windows10 partition in order to access the data, I realized that the drive was corrupted, and could only be mounted in read-only mode.
So I did the following.

sudo ntfsfix /dev/sda2

Which did the job! Windows is booting now! :slight_smile:
Thanks for your help everyone!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.