Installing Windows 7 after LMDE <SOLVED>

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help

Installing Windows 7 after LMDE <SOLVED>

Postby CliffD5 on Tue Dec 18, 2012 11:43 am

Hi guys,
I am looking to install Windows 7 on a separate HD. I have not had a dual boot setup in several years as I primarily use linux as my main OS with windows running in a VM when needed. I, unfortunately, have a need for Windows outside of a VM for photo processing.

I assume I will need to re-install grub from a live CD after the windows install, but I am unable to locate any decent documentation on doing this. Any help is appreciated.
Last edited by CliffD5 on Tue Dec 18, 2012 12:13 pm, edited 1 time in total.
CliffD5
Level 1
Level 1
 
Posts: 2
Joined: Tue Dec 18, 2012 11:32 am

Linux Mint is funded by ads and donations.
 

Re: Installing Windows 7 after LMDE

Postby sohardivetried on Tue Dec 18, 2012 12:00 pm

just install windows to the hard drive then boot your live cd and chroot your root linux directory and run grub-install and update.

install windows, boot live cd then find out your linux root partitions name in linux, mine is sda5, but i dualboot, yours is probably sda1 or something like that, just replace /dev/sdaX with your appropriate partition designation. the next to last command needs to be run on your boot sector, so its the name of the harddrive with no number after it, this will write grub back to your boot sector.
Code: Select all
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

assuming i was clear enough you should be able to reboot, and profit...
Last edited by sohardivetried on Tue Dec 18, 2012 12:08 pm, edited 1 time in total.
sohardivetried
Level 1
Level 1
 
Posts: 3
Joined: Mon Dec 17, 2012 11:06 pm

Re: Installing Windows 7 after LMDE

Postby CliffD5 on Tue Dec 18, 2012 12:02 pm

Nice and easy.
Thanks!
CliffD5
Level 1
Level 1
 
Posts: 2
Joined: Tue Dec 18, 2012 11:32 am

Re: Installing Windows 7 after LMDE

Postby sohardivetried on Tue Dec 18, 2012 12:09 pm

its pretty straight forward glad to help, mark thread solved also :)
sohardivetried
Level 1
Level 1
 
Posts: 3
Joined: Mon Dec 17, 2012 11:06 pm

Re: Installing Windows 7 after LMDE <SOLVED>

Postby Gor on Mon Feb 25, 2013 6:25 pm

Awesome guide; it certainly works.

Thank you
Gor
Level 1
Level 1
 
Posts: 1
Joined: Mon Feb 25, 2013 6:05 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 2 guests