Upgrading to Windows 7 from a dual boot PC

shramanat

New member
Local time
5:38 PM
Messages
3
Hi,

I have Windows Vista Enterprise x64 and Ubuntu 8.10 dual-boot in my acer laptop. I want to upgrade my Vista OS to Windows 7. Is this possible ? If I do an upgrade, will it disturb the grub or the linux partition ? I don't want to mess up my partitions and end up losing both. Can anyone provide me any info if the upgrade is a safe option and won't cause any issues ?

Thanks.
 

My Computer My Computer

OS
Windows Vista Enterprise x64
Do you currently use the Vista bootloader to access GRUB, or do you use the GRUB bootloader to access Vista?
 

My Computer My Computer

Computer Manufacturer/Model Number
Alienware X51
OS
Windows 7 Home Premium x64
CPU
Intel Core i7-2600 @3.40GHz
Memory
8.00GB DDR3
Graphics Card(s)
NVIDIA GeForce GTX 555 w/1.0GB RAM
Monitor(s) Displays
BenQ XL2420TX
Screen Resolution
1920x1080@120Hz
Hard Drives
1TB
PSU
330-watt
Keyboard
Logitech Wireless Illuminated Keyboard K800
Mouse
Razer Orochi
Internet Speed
Campus Internet
In either case, back it up!
 

My Computer My Computer

Computer Manufacturer/Model Number
Wally, Innc.
OS
Windows 7 x64 finally!
CPU
AMD Athlon II X2 240
Motherboard
Biostar TA790GX XE
Memory
OCZ Platinum 4GB DDR2 1066 (will not work past 800MHz)
Graphics Card(s)
MSI R4670-MD1G Radeon HD 4670 1GB 128-bit GDDR3
Sound Card
ATI High Definition Audio Device Realtek ALC888
Monitor(s) Displays
HP w19e
Screen Resolution
1440x900
Hard Drives
Western Digital Caviar Green WD5000AADS 500GB SATA
Western Digital Caviar Blue WD5000AAKS 500GB SATA
PSU
Athena Power Micro ATX 400W
Case
HEC 6T 6T10BB Black MicroATX Mini Tower
Cooling
stock
Keyboard
wired, many keys
Mouse
HP wireless, 2 buttons, 1 wheel
Internet Speed
DSL 2Mb (recently getting 1.65M!)
Do you currently use the Vista bootloader to access GRUB, or do you use the GRUB bootloader to access Vista?

I use the Grub bootloader to access Vista
 
Last edited:

My Computer My Computer

OS
Windows Vista Enterprise x64
Would it be tolerable for you if that order was reversed? As in, the Windows Boot Manager comes up first, allowing you to boot to either Windows or Grub?
 

My Computer My Computer

Computer Manufacturer/Model Number
Alienware X51
OS
Windows 7 Home Premium x64
CPU
Intel Core i7-2600 @3.40GHz
Memory
8.00GB DDR3
Graphics Card(s)
NVIDIA GeForce GTX 555 w/1.0GB RAM
Monitor(s) Displays
BenQ XL2420TX
Screen Resolution
1920x1080@120Hz
Hard Drives
1TB
PSU
330-watt
Keyboard
Logitech Wireless Illuminated Keyboard K800
Mouse
Razer Orochi
Internet Speed
Campus Internet
Would it be tolerable for you if that order was reversed? As in, the Windows Boot Manager comes up first, allowing you to boot to either Windows or Grub?

That is fine as long as it upgrades my Windows OS properly and also does not disturb the Ubuntu partition.
 

My Computer My Computer

OS
Windows Vista Enterprise x64
OK, then. I've done this myself before many times. The process seems lengthy, but it is not difficult. The Windows upgrade will not disturb the Ubuntu partition, as Ubuntu uses a totally different file system that I don't think even Windows 7 can read.

First step is to perform any backups that you can. If you have enough space on an external hard drive or extra partition to back up everything, great; if you don't, then just backup the files that are the most important to you. If at all possible, at least back up the file /boot/grub/menu.lst from your Ubuntu installation. If you have a fast Internet connection, Windows Live SkyDrive provides 25 GB of online storage (individual files can be up to 50 MB), so you might be able to use that for backup if necessary as well.

Once you have backed up everything that you can, you're ready to begin the upgrade. Now, everyone on these forums (including me) will recommend a clean/custom install over an upgrade, but the choice is yours. If you do a clean install, just make sure you select the right drive and partition for it, and you'll be fine.

There is a chance that Windows might not even disturb the GRUB bootloader with an upgrade. If it leaves GRUB alone, you don't have to do anything. However, if GRUB is overwritten and no longer appears, you should be able to restore GRUB to the Master Boot Record by booting to the Ubuntu 8.10 Live CD.

Once you are in the Ubuntu Live environment, load up the terminal and enter
Code:
sudo grub
find /boot/grub/stage1
It should return a location in the form (hd#,#). Then enter
Code:
root (hd#,#)
where the numbers match the ones returned by the "find" command. Finally, enter
Code:
setup (hd0)
quit
Now GRUB should be reinstalled to the Master Boot Record. Now reboot (taking out the Live CD) and boot into your Ubuntu 8.10 installation. Replace the /boot/grub/menu.lst file with the one from your backup. You should now have GRUB as your primary bootloader, with an option to boot into Windows from GRUB. If for some reason there is still no entry for Windows in GRUB, there are MANY guides on how to add Windows to GRUB manually available on the Internet (Google).

Let me know if you have any questions, or if you need further explanation. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
Alienware X51
OS
Windows 7 Home Premium x64
CPU
Intel Core i7-2600 @3.40GHz
Memory
8.00GB DDR3
Graphics Card(s)
NVIDIA GeForce GTX 555 w/1.0GB RAM
Monitor(s) Displays
BenQ XL2420TX
Screen Resolution
1920x1080@120Hz
Hard Drives
1TB
PSU
330-watt
Keyboard
Logitech Wireless Illuminated Keyboard K800
Mouse
Razer Orochi
Internet Speed
Campus Internet
Back
Top