Wednesday, October 26, 2016

How do I reinstall Windows 7 while keeping my dual boot configuration?





Possible Duplicate:
How can I install Windows 7 after I've installed Ubuntu?







I have dual-boot Ubuntu 12.04 and windows 7 32 bit and I want to format my windows 7 partition to put windows 7 64 bit.. How can I do this?



PS: I have the windows 7 64 bit ready in my dvd!



If you want to replace the old Windows 7 32-bit with a new Windows 7 64-bit installation, follow this procedure:



0. Edit volume label on existing Windows system




You should first boot to Windows and give a name to your windows partition. That will help you to identify the old Windows partition in the partitioning phase (described below).



1. Install Windows 7




  1. Insert the Windows 7 64-bit DVD and restart your PC.


  2. Press the appropriate keyboard button to enter into boot device selection menu. In Phoenix BIOS (used by Dell machines and some others as well), it is F12. If you press this button, you will be presented with some devices from which you can boot. Your DVD drive should be listed as one of the bootable devices.





    • Some BIOSes don't provide this boot device selection menu. In that case, you must enter the BIOS setup. To do so, Press F2 in a Phoenix BIOS. These key may be different on other BIOS. Some common keys are DEL, F2, and F12. There should be also a message telling you this kind of messages : "To change BIOS configuration, Press ...". Look at those messages and Try use that key.


  3. After booting to Windows 7 DVD, Go to the Installation phase. Select Custom Install option. Don't choose upgrade option.


  4. After accepting EULA and completing some other installation steps, you will be presented with the partitioning page. Click on Drive options (advanced), then select the previous Windows 7 partition. Choose to format the partition and then Click Next.


  5. Now a new Windows 7 64 bit will be installed replacing the old installation.



    Please note that Windows 7 64-bit will automatically replace the old one since you've chosen to format the old partition.




See these articles on Microsoft's website for help with Windows 7 installation:






2. Re-install and repair GRUB using an Ubuntu live CD/DVD/USB




  1. Get a Ubuntu live CD/DVD or live USB. To have a CD, you just need to burn the .iso image to a blank CD:






    To get a Live USB, See these links:




  2. Boot the Ubuntu live CD/DVD or USB flash drive that you just created. Select the appropriate entry from the boot device menu in BIOS. Select the Try Ubuntu option (not Install Ubuntu) when you presented to choose an option.


  3. When the desktop comes up, reinstall and repair GRUB. Get help from the below links:





    Use this method if you don't have Internet connection in the live CD/DVD/USB system. But if you have a good, working Internet connection, this way is quicker.




    Note that in that answer, although it says to use GParted to see the partition's UUID, you can also use sudo blkid command for this.




Now, restart your PC from the menu at the upper-right corner of the live system's desktop. Remove the CD/DVD or USB flash drive when told to do so. (You don't want to accidentally boot from it again.) You should now have a machine with your original Ubuntu system and the newly installed 64-bit version of Windows 7 (which replaced the 32-bit version).






The essential difference between the installation of Windows 7 system while you already have Ubuntu (but not Windows) and installing a new Windows 7 system replacing an old one is, in the latter case you don't need to create and specify the partition for new Windows 7. You can just select the old Windows partition, select it to format and Click next to proceed to the installation. See this article for an official statement.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...