Installing Windows 7 on Kali Linux

7,090

Solution 1

Disclaimer - before doing anything with partitions, make sure you have good backups

In Windows setup, during the part where you select which partition, select the advanced option, then just delete all the partitions.

You do not have to create any paritions, Windows setup will do that for you. All you need is a blank drive. (Unless you have some special requirements for partitioning, like saving some space for a Linux partition).

enter image description here

Solution 2

You will need to remove all partitions, create a new one and then format it to NTFS. You can do this from the windows 7 setup.

Note, removing a partition will delete its data entirely, not just windows, but all other files as well. Be sure to make proper backups.

Share:
7,090

Related videos on Youtube

Usman Zia Malik
Author by

Usman Zia Malik

Updated on September 18, 2022

Comments

  • Usman Zia Malik
    Usman Zia Malik over 1 year

    When I recently installed Kali Linux on my Windows 7 computer, I completely installed Kali Linux to my computer which deleted all my Windows 7 because I didn't need it. Now Kali Linux is installed on my hard disk on all partitions. I have used it for a while, and now I want to uninstall it completely and reinstall Windows 7.

    Now I inserted the Windows 7 disk and tried to install it, but it shows an error that Windows cannot be installed in this partition. I know Kali Linux formatted all my partitions to ext4 which is its own default format, but Windows can be installed to NTFS format, but the Windows installation doesn't give me an option for formatting, so I am stuck here. Please help me find a solution. Remember that Linux and Windows here are not in dual boot.

    • Usman Zia Malik
      Usman Zia Malik over 8 years
      I wanted to add here is that THERE IS NO OPTION FOR ME TO FORMAT in the windows 7 installation. I know there is an option but the options listed here are only Refresh and Load drivers and NOT the Advsnced option. Is there some way that I can do the formatting on Kali Linux??
  • ChrisInEdmonton
    ChrisInEdmonton over 8 years
    It should be sufficient to delete the existing partitions and then boot using the Windows disk. You'll be able to create the necessary partitions for Windows during the installation procedure. You aren't saying otherwise, just trying to clarify this point.
  • LPChip
    LPChip over 8 years
    @ChrisInEdmonton thanks for the addition. Yeah removing the partition can both be done during the setup and from linux itself.
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    thanks but I told it already that there is no option to format the drive
  • Thalys
    Thalys over 8 years
    You need to delete existing partitions first.
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    Ok but I cant format anything from the windows 7 setup is there any way I can do that IN KALI LINUX?
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    But how from where
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    Please tell me a way to do the formatting and uninstalling of kali linux
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    ok let me check
  • David
    David over 8 years
    Step 5 onward from here: sevenforums.com/tutorials/…
  • Usman Zia Malik
    Usman Zia Malik over 8 years
    Ok david thanks for everything now I have realized my carelessness
  • LPChip
    LPChip over 8 years
    @UsmanZiaMalik First you need to remove the partition. From selecting the partition, choose delete. If no partitions show up, you'll have to do this from linux itself. Given that doing this is different per distro, and I only worked with opensuse, I can't tell you how to do it through kali linux.
  • David
    David over 8 years
    @UsmanZiaMalik if my solution solved you problem, could you mark it as the accepted solution thanks.