I got windows running!
It was this command:
bootsect/nt60 E:
followed by
bootrec /rebuildbcd
bootrec /fixmbr
This all worked. I’ll install grub again and see what happens.
I got windows running!
It was this command:
bootsect/nt60 E:
followed by
bootrec /rebuildbcd
bootrec /fixmbr
This all worked. I’ll install grub again and see what happens.
Yep! It worked. Installing grub was easy this time, because I knew what to do and the menu wasn’t hidden for no reason.
The reason bootsect/nt60 E:
worked (I think) is because it moved the windows partition from E:
to C:
. Before that command, running bootrec /rebuildbcd
would indicate that a windows instalation was found at E:
, but after running bootsect/nt60
it indicated that a windows installation was found at C:
. After this I could run rebuildbcd and fixmbr fine (although trying to run fixboot returned an “access denied” error.)
Also, Windows seems to update fine, so it seems that giving the extra space to /dev/sda1 was enough. However, there are still some updates that it trying to install from the settings app, so I’ll report back on what happens after that has finished. (Hopefully that works too).
I’m still not satified though. Why did this happen? Is there anyway to bring this up with devs? If so, which devs should I bring it up with?
Also, this solution with reallocating space from the windows partition to the “system partition” was a horrible process, which broke windows and manjaro along the way. Something needs to be done about that, too.
yes. it was error with partition naming from not correct partition resizing. you need to resize partition before installing linux in windows
Thanks, it seems to work well now. I managed to clean up some space too from windows update files.
For me, I think it was the fact that the windows drive was in the wrong location that caused this issue (it was at E:
not C:
), however I am not sure. Maybe enlarging one of the partitions also fixed the issue.
However, it is likely that the you are experiencing this issue for different reasons.
Here is a outline of what you need to do:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
bootrec /scanos
bootsect/nt60 <DRIVE-LETTER>
Where drive letter is where your windows partition is located. For example, mine was located at E:
so I did bootsect/nt60 E:
and this moved the windows partition into the right place.
You should now be able to boot into windows normally if you remove your usb stick (although grub won’t show up). If you can’t, then you’ll probably have to find different commands that work for you. Read through this thread, there are lots of different methods and commands I tried before I found that bootsect/nt60
worked for me. You might want to try all these different methods.
Now, if you can boot into windows normally, you need to boot from the manjaro bootable USB stick.
You need to reinstall GRUB. There is a guide called “restore the GRUB bootloader” on the manjaro wiki.
Here is a rundown of that guide:
NOTE: This is only for BIOS systems (most common type of system). If you have an EFI system you will need to follow the guide on the manjaro wiki instead.
When you are in your manjaro bootable usb , open the terminal and enter root:
sudo -i
Then run this:
manjaro-chroot -a
This will automatically mount things for you.
Then run
pacman -Syu grub
NOTE: If there are multiple GBs of updates that need to be installed, you your usb stick doesn’t have that much space, do pacman -S grub
. This is less safe but may be necessary if your usb stick cannot store all the updates. Only do this command if the first one (pacman -Syu grub
) did not work.
Then install grub:
grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sdy
sudo nano /etc/default/grub
This willl open the grub configuration file. MAKE SURE these settings are present at the top of the file (if they have different values, change the values to the ones shown below):
GRUB_TIMEOUT_STYLE=menu
GRUB_DISABLE_OS_PROBER="false"
If the GRUB_DISABLE_OS_PROBER
is not set to false then Windows won’t be detected.
Then generate the config file like this:
sudo update-grub
Finally, you should be able to boot into grub, and access both manjaro and windows!
You may have problems with grub. In this thread I had then too and outlined how to solve them
You should be able to boot from grub now and access both windows and linux.
Hopefully this solution helps someone.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.