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.
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
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.............
Worked like a charm and saved my Mint installation.
ReplyDeleteCan't thank you enough bro...
Worked for me too! Thanks a million!
ReplyDeleteSimply put...YOU ROCK.
ReplyDeletelove you!
ReplyDeleteAny difference for Mint 16? I'd really like to keep my Mint installation, but I need Windows 7 on here for school.
ReplyDelete