Install Windows 7 After Installing Linux Mint 14

Hi.. Hope you all are doing well....

I recently came across the subject as I had a Windows 7 64 bit setup after I have installed Linux Mint and use it for a considerable time. Reinstalling Linux and setting up all the things using Internet is really boring and time consuming.
I also knew there are known issues with re-installing Grub after installing Windows after Linux. But fortunately with Linux Mint 14 following solution worked perfectly.


  • After installing Windows boot from a Linux Mint CD.
  • You have to know to which sda partition your root files for Linux are. 
    • For that go to "Drives" in Linux Mint 14 and you can find to which sda your root files are installed.
  • Open a terminal, type following commands and re-state the grub to your hard disk boot.
My partition is considered as sdaX. Find X as described above.

sudo mount /dev/sdaX /mnt
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /sys /mnt/sys
sudo mount -o bind /proc /mnt/proc
sudo chroot /mnt
sudo grub-install /dev/sda
sudo update-grub

Now reboot and you will see that your beloved Linux is back.............




Hasitha Hiranya

6 comments:

  1. Worked like a charm and saved my Mint installation.

    Can't thank you enough bro...

    ReplyDelete
  2. hi...Im student from Informatics engineering nice article,
    thanks for sharing :)

    ReplyDelete
  3. Worked for me too! Thanks a million!

    ReplyDelete
  4. Any difference for Mint 16? I'd really like to keep my Mint installation, but I need Windows 7 on here for school.

    ReplyDelete

Instagram