LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Installing windows 10 after Linux on a partition (https://www.linuxquestions.org/questions/linux-distributions-5/installing-windows-10-after-linux-on-a-partition-4175593309/)

BAKABON 11-11-2016 12:13 AM

Installing windows 10 after Linux on a partition
 
i currently have 3 operating systems installed on my pc :
1) Kali Linux
2) Manjaro
3) Ubuntu

And now i want to install windows 10 on one partition.
can i please have some guidance how to do it step by step, because i ve heard that windows doesnt allow booting up of other operating systems when it is installed after linux.

i also need to know what should be the minimum size of the partition i m giving to wndows OS.
i have a 500GB hard drive, so dont have much space to work with.
I need a 100-120 GB of usable space, so what should be the size of the partition.
thanks in advance :)

Jjanel 11-11-2016 03:47 AM

Quote:

Originally Posted by hazel (Post 5621821)
Note that installing Windows on top of Linux will change your bootloader to the Windows one. Windows is very antisocial that way! You'll have to reinstall the GRUB bootloader afterwards to get access to Linux again and you might need something like a SystemRescue CD on hand to do that. If I were you, I'd go to the SystemRescue site right now and create one. It's always a useful thing to have around.

A web-search shows this to be a frequent 'issue', with similar resolutions (to Linux 'disappearing').

Based on recent 'tiny' PCs, Win10 OS eats up 16-32G.

Best wishes... Let us know how it 'goes'!

malekmustaq 11-11-2016 03:58 AM

Quote:

And now i want to install windows 10 on one partition.
To my experience Win10 is difficult to handle especially if you run an "Acer" hardware. I was able to do with ease installing (after Linux) a Windows 8 and/or 7. Better consider this factor. However, if you run a real brand open-minded hardware you may get the chance with Win10.

Quote:

can i please have some guidance how to do it step by step, because i ve heard that windows doesnt allow booting up of other operating systems when it is installed after linux.
I backed up everything first, especially the MBR and/or the UEFI partition, because these things go away at windows 10 install.

After installation you only need to run a linux liveCD (or Gparted or any repair liveCD whatever you have) and restore the MBR or the first partition, chroot into the partition originally running your grub then issue the following grub commands:
Code:

/usr/sbin/grub-probe
/usr/sbin/grub-set-default <your current grub partition> and
/usr/sbin/grub-mkconfig
/usr/sbin/update-grub
Reboot

This time grub should be able to see the newly installed win10 and offer to boot into it. Before doing anything please get yourself familiar with Grub first, read this good tutorial.

Hope that helps. Good luck and enjoy.

m.m.

BAKABON 11-23-2016 07:54 AM

worked just fine
 
i made a 120gb ntfs partition for win10 and then installed it.
then i booted my pc using live os(linux) and installed grub on sda.
this replaced windows bootloader by linux boot loader.
thank you guys.


All times are GMT -5. The time now is 08:25 AM.