Can I install Windows after Linux?

Vkratse explain. At the moment, the laptop has 1 system is ArchLinux. I want to install 2 system from Windows family. Really?! And how to do it correctly?!
dcc80e40b2a54dfb81da42f881ae9ecf.png
From the screenshot you can see that I have a HDD divided into 4 partitions:
1. dev/sda1 ext2 - boot configs here
2. dev/sda2 - swap then 7 gig
3. dev/sda3 ext4 - root
4. dev/sda4 ext4 /home
My plans: Cut a piece from sda4, for example, 25-40 gigs to Windows and, accordingly, in the system it will appear as your c partition sda5 ntfs file system.
Can I do that?! Or I have nothing?!
Before this face, but not much soared. Did so - first I installed Windows and then Linux came and everything. But now you do not want the whole system to cut and to do so again. Want to learn how to cope with this method. I hope there is a solution.
Expect adequate tips and Your victories.
PS: Slowly learn Linux and everything associated with it!
Thank you in advance for your help!
Sincerely, Sheri!
July 12th 19 at 16:50
7 answers
July 12th 19 at 16:52
Solution
In General, thank you, to all who participated in this issue.
I decided this situation with the help of the author of the article on habré and discussed on the forum.

This option just my case. Who needs such an option, take my bookmarks and go for it, I wish You success in all your endeavors!!!
July 12th 19 at 16:54
I doubt that you have GPT. Probably the classic MBR.
Accordingly, section 5 to create you simply not able to. You need to delete the fourth partition and create extended partition on top of it already logical for /home and other necessary logic.
Then, there's a huge doubt that the Windows learned to boot from logical partitions. It is more likely that only major.
Accordingly, Petersbutg drive will have to be thorough.

Well, a solution without reinstall the system is still there. Only chore sometimes.

If you are still lucky and the disk with GPT partition table, then create 5 partition no problem. But the question boot Windows from a GPT partition table on a self-study. There's some stupid limit is, and under what conditions you can do, and what not.
gdisk /dev/sda and you have a GPT, the problem then:) - peggie_Aufderh commented on July 12th 19 at 16:57
Well, I haven't GPT, because in the beginning he and I didn't need, but if it will help solve the problem, I think it is not a question. May at any time convert to GPT.
I'd love to hear how then we need to act, after GPT?! - melisa_Pouros commented on July 12th 19 at 17:00
July 12th 19 at 16:56
It might be easier to remove the boot after moving the config in the boot directory on root partition and fix grub and the scheme of the mount. Former boot to expand at the expense of the home, and in its place to install windows. Naturally, then restore the mbr from the live CD.
Another option is to use a swap partition the swap file. Then install the swap. The rest is similar.
:))))
Hmm...
Something that's not mine! But still, thank you for sharing your thinking!!!
PS: In fact the Windows installation, for example, 7-Ki, it requires 2 partitions to boot (~100 Mb) and the system itself. Therefore, logically, it is not enough my 1 boot partition (dev/sda1).
The fact that I created the partition table, I wouldn't want to break the logic of the Linux system.
Just soft should be more flexible than iron, so I wondered about installing Windows 5 section. - peggie_Aufderh commented on July 12th 19 at 16:59
windows 7 great is placed on one section of the standard installer.
PS if you once mastered the installation of arch, all I suggested for you seeds)) - melisa_Pouros commented on July 12th 19 at 17:02
Unfortunately, the version with the big button "to Do well" is not here ))) - melisa_Pouros commented on July 12th 19 at 17:05
July 12th 19 at 16:58
everything written is true
but the output seems to be there (I don't know. if you can help in your case): boot windows from vhd
read
just your case : you can keep Windows on a logical disk
loader - Linux
installation is done in virtual reality.
well and other delights
If You carefully read the article which you recommend, then You would have known that in this embodiment, the vhd image must lie on an NTFS partition, otherwise vindovyh bootmgr cannot boot windows from a vhd image. (by the way, I have windows is for this scheme.) Ie come to the same: we need a free section either with full pereyaslivka disc version distinguished (with appropriate hemorrhoids with the transfer of all and everything), or at my option, is for 15-20 minutes (excluding the time to install the actual windows time and change the size of partitions). - peggie_Aufderh commented on July 12th 19 at 17:01
quote: "My plans: Cut a piece from sda4, for example, 25-40 gigs to Windows and, accordingly, in the system it will appear as your c partition sda5 ntfs file system." - melisa_Pouros commented on July 12th 19 at 17:04
That is, I meant in the answer that the author will somehow have to solve the issue. - melisa_Pouros commented on July 12th 19 at 17:07
By the way, did so, but the solution he was looking for and helped the forum to achieve success! - delpha5 commented on July 12th 19 at 17:10
July 12th 19 at 17:00
dd336d82f61348c6955d07f52b7e71ab.png
A couple of weeks ago put.
/dev/sda5 Windows 8. First, put Linux and then Windows. There was one problem. Laptop once Windows loaded I pass grub. Searches revealed that this problem exists mainly in the HP laptop because of UEFI curve. But the solution found, had a little dhexye. poshamanit with a directory boot/efi/EFI
Give a link where is described how to do it?! Very much waiting to hear from YOU!!! - peggie_Aufderh commented on July 12th 19 at 17:03
July 12th 19 at 17:02
Can only Windows when you install overwrites your boot loader other, but because after installation, Windows will need to boot from LiveUSB and fix Grub.
July 12th 19 at 17:04
1) it is Necessary to repartition the disk. Windows needs a primary partition on an MBR or GPT and a separate partition for UEFI boot, and, accordingly, UEFI BIOS
2) It will perestrel the Linux boot loader. Are loaded from any LiveCD with the same kernel rotranomo your linux mounted somewhere in the root and /boot, do a chroot to run update-grub. Windows recognizes it and adds one of the points download

Find more questions by tags WindowsLinux