LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-04-2010, 04:10 PM   #1
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38
Blog Entries: 1

Rep: Reputation: 16
Angry Want to upgrade Windows Vista to Windows 7 on a Dual Boot machine Ubuntu/Winvista.


How must I do this, without messing up the boot sector?

I want to backup the data files from Windows Vista on to Ubuntu.
That's easy, I mount the partition, tarfile it and save it on the Ubuntu drive.

Then, I want to "new-full-install" Windows 7 on the old Windows Vista partition, without messing up the grub boot loader or losing the Ubuntu installation.

Is there an easy way to do this?

Let me know, thanks.

Hector
 
Old 08-04-2010, 04:13 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

You *will* mess up the boot sector when you install Win7.

Don't worry about it - just run "grub-install" afterwards, and you'll be fine.

You should *not* lose Ubuntu, or anything on it.

There are tons of "howto's" and links around, and feel free to post back to LQ if you encounter any specific problems.

Good luck .. PSM
 
1 members found this post helpful.
Old 08-04-2010, 04:17 PM   #3
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Quote:
Originally Posted by paulsm4 View Post
Hi,
You *will* mess up the boot sector when you install Win7.

Don't worry about it - just run "grub-install" afterwards, and you'll be fine.

You should *not* lose Ubuntu, or anything on it.

There are tons of "howto's" and links around, and feel free to post back to LQ if you encounter any specific problems.

Good luck .. PSM
Are you saying I should boot off a bootable Ubuntu dvd live session, then run grub-install?
 
Old 08-04-2010, 04:28 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,063
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
, without messing up the grub boot loader
As you probably already know. Windows 7 Bootloader will wipe out grub. You will have to reinstall grub using some kind of Live Media (CD or USB) of Ubuntu that you are using to reinstall grub.

https://help.ubuntu.com/community/WindowsDualBoot

Quote:
losing the Ubuntu installation.
unallocated
You can use Gparted in your Ubuntu install to wipe the Vista Partition. Leave it unallocated.
Point the Windows installer to that unallocated partition. And let Windows 7 format and then install to it. Windows will then install and kill Grub. You will then only be able to boot into Windows. Then you can move on to reinstalling grub. Another way of reinstalling grub below.

http://www.supergrubdisk.org/wiki/Howto_Fix_Grub

http://www.dedoimedo.com/computers/grub-2.html

This was all posted assuming you run Grub 2 as you did not give details on which version of Ubuntu you are using.

Happy Trails, Rok
 
1 members found this post helpful.
Old 08-04-2010, 04:36 PM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
re you saying I should boot off a bootable Ubuntu dvd live session, then run grub-install?
Yup - that's exactly right. It's really shouldn't be a big deal.

Just:
1. Look at the links rokytnji sent (or Google for some of your own).
Whatever you feel comfortable with - just get "the big picture".

2. Run "df" or "mount" while you can still boot Linux, and write down
the partitions.

3. Install Windows 7.
Overwrite Vista (Windows7 doesn't support "upgrades" per se anyway!)
Make sure Windows 7 doesn't try to overwrite your Linux partition.

4. Verify Windows 7 is OK.

5. Insert your Ubuntu Live DVD, and run the grub-install on your original boot partition.

6. Voila! You should be back to multi-boot, with all your old Ubuntu files!
 
Old 08-04-2010, 09:46 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Quote:
Originally Posted by paulsm4 View Post
6. Voila! You should be back to multi-boot, with all your old ubuntu files!

Last edited by syg00; 08-04-2010 at 09:48 PM.
 
Old 08-07-2010, 05:33 PM   #7
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
[SOLVED] -- Want to upgrade Windows Vista to Windows 7 on a Dual Boot machine.

Hi,

After installing windows7, only windows7 would boot.
Then, I used Ubuntu live DVD, and ran grub.
I then used only 3 grub commands:
  1. grub>find /grub/stage1
  2. grub>root (hd0,4)
  3. grub>setup (hd0)

Then I reboot the machine without the live DVD, and voila!!

Thanks a bunch!!

Hector
 
1 members found this post helpful.
  


Reply

Tags
dual boot, install, ubuntu, windows7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot windows and linux - upgrade XP to windows 7 farmerdave Linux - General 5 09-25-2011 08:13 PM
Booting to Windows 7 from Ubuntu on my dual-boot machine dor Linux - Newbie 3 05-31-2010 02:26 AM
Dual boot Windows Vista / Ubuntu on HP Notebook jackd1000 Linux - Laptop and Netbook 4 05-14-2009 10:00 AM
no sound and how to dual boot ubuntu, opensuse, or slax live cd in windows vista butbart Linux - Newbie 1 10-30-2008 10:43 PM
Windows Vista Dual-Booting with Ubuntu 6.10 Koueen Linux - Newbie 6 06-02-2008 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration