upgrade win xp to 7 without affecting mint

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

upgrade win xp to 7 without affecting mint

Postby srinathmkce on Mon May 14, 2012 5:08 pm

i am using windows xp and linux mint as dual boot. I have installed linux mint in seperate space ohly. Now, i wish to change to windows 7 by formatting windows xp. But, by reading some posts i came to know that formatting windows xp will also change the boot menu. I need to format xp at the same time i dont want to lose my linux mint system. I dont have linux mint live cd with me right now. Is there any easiest method available? please suggest
srinathmkce
Level 1
Level 1
 
Posts: 19
Joined: Tue Jul 28, 2009 1:59 pm

Linux Mint is funded by ads and donations.
 

Re: upgrade win xp to 7 without affecting mint

Postby mintybits on Mon May 14, 2012 5:33 pm

Have you got any other disks in your system, or even a USB stick?
One way is to install grub to the MBR of a different, bootable device so that when Windows 7 installs and fixes the MBR of its disk you can still boot grub and linux from the other device.
Inside Mint run "sudo dpkg-reconfigure grub-pc" to change the device grub is installed to.
mintybits
Level 5
Level 5
 
Posts: 568
Joined: Fri Jan 27, 2012 5:09 pm

Re: upgrade win xp to 7 without affecting mint

Postby HughT on Mon May 14, 2012 5:38 pm

Hi srinathmkce, I've not tried doing what you intend to do, but I think windows will normally install on sda1, ignoring everything else. But it will over-write the mbr, so you will have no way of booting into Mint. Here's an alternative way to re-install Mint's bootloader back to the mbr and get the grub option to choose which Operating System you want. However, you will need a Mint disk to do this in live CD mode. The commands are as follows:
Code: Select all
sudo mount /dev/sdXY /mnt

replace X and Y with the appropriate drive and partition for Mint boot.
Code: Select all
sudo grub-install --root-directory=/mnt /dev/sdX
note - there's a gap between =/mnt and /dev, and no partition number after sdX
re-boot into Mint then
Code: Select all
sudo update-grub

hope this helps
Please Edit your post title and add [SOLVED] once your question is resolved.
HughT
Level 5
Level 5
 
Posts: 617
Joined: Thu Oct 20, 2011 1:54 pm
Location: England

Re: upgrade win xp to 7 without affecting mint

Postby remoulder on Mon May 14, 2012 6:51 pm

srinathmkce wrote:easiest method available? please suggest

Backup mint data, install Windows 7, re-install mint, restore data. This the 'easiest' way.
[Edit] your original post and add [SOLVED] once your question is resolved.

“The people are my God” stressing the factor determining man’s destiny lies within man not in anything outside man, and thereby defining man as the dominator and remoulder of the world.
User avatar
remoulder
Level 17
Level 17
 
Posts: 7674
Joined: Fri May 09, 2008 1:14 pm


Return to Newbie Questions

Who is online

Users browsing this forum: elabjer, Spearmint2 and 28 guests