Dual boot Ubuntu/Vista Question

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

Dual boot Ubuntu/Vista Question

#1 Post by Harryc » Tue Sep 30, 2008 10:00 pm

On my T61 I currently dual boot XP and Ubuntu. I plan to replace XP with Vista Home Premium and keep Ubuntu untouched. What do I have to do to prepare for this OS replacement and what steps do I need to take to restore the MBR so that GRUB is back in control with Vista and Ubuntu as boot selections?

dk
Posts: 39
Joined: Tue Sep 30, 2008 8:49 pm
Location: Edmonton, CA

#2 Post by dk » Tue Sep 30, 2008 11:43 pm

You could backup the MBR with dd, install Vista (which will replace the MBR), then restore your backed up MBR with DD. Alternatively, use a Live CD (ie. SystemRescueCD) and restore grub. The link below covers both scenarios nicely:

http://ubuntu.wordpress.com/2005/10/20/ ... p-the-mbr/

Derrick
Last edited by dk on Tue Sep 30, 2008 11:45 pm, edited 1 time in total.

kebomix
Posts: 25
Joined: Sat Aug 09, 2008 1:14 pm
Location: Cairo , Egypt

#3 Post by kebomix » Tue Sep 30, 2008 11:43 pm

i think after u install vista , u have to install grub again for ubuntu , so it can give u ubuntu operating system menu in the begin .

and u do this installation by ubuntu Live CD
Free Programming Ebooks With Direct lInks
http://request-ebooks.blogspot.com/

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#4 Post by Harryc » Wed Oct 01, 2008 3:37 am

Thanks for the replies. Both of you mention solutions which call for using an Ubuntu Live CD, which I have. I like the dd solution, it seems easy and elegant. I'll just need to figure out if the lines in GRUB that will be required to boot Vista are the same as those required to boot XP, then change GRUB accordingly.

poshgeordie
ThinkPadder
ThinkPadder
Posts: 1101
Joined: Sat Feb 09, 2008 6:19 pm
Location: Newcastle upon Tyne, UK
Contact:

#5 Post by poshgeordie » Wed Oct 01, 2008 4:13 am

This post should help with modifying grub

https://help.ubuntu.com/community/Recov ... ingWindows

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#6 Post by Harryc » Wed Oct 01, 2008 5:16 am

Great link, thanks.

lifrancis
Freshman Member
Posts: 85
Joined: Mon Aug 13, 2007 7:34 pm
Location: Montreal, Canada

#7 Post by lifrancis » Sun Oct 05, 2008 3:14 pm

poshgeordie wrote:This post should help with modifying grub

https://help.ubuntu.com/community/Recov ... ingWindows
Thanks for the link. As a newcomer to Ubuntu, I have been trying to modify grub to put Windows as the first item in the boot menu. I have not been successful until I saw this link.
T30 (2366-86U): 2.0GHz, 1.25 GB mem, 100 GB HD, DVD RW, Broadcom b/g wifi, Win XP/Ubuntu
T41 (2373-155): upgraded to 1.8GHz, 1.5 GB mem, 100 GB HD, DVD RW, Atheros 108 super G, Win XP/Ubuntu
T60 (2007-68U):2.0GHz, 2.5GB mem, 500 GB HD, DVD RW, intel abg wifi, Win 7/Ubuntu

Harryc
Moderator Emeritus
Moderator Emeritus
Posts: 13228
Joined: Thu Apr 12, 2007 8:23 am
Location: Upstate New York

#8 Post by Harryc » Sun Oct 05, 2008 3:28 pm

Worked for me too. I just installed Vista yesterday and fixed GRUB this morning. All is well in dual boot land ...

Stargate199
Senior Member
Senior Member
Posts: 708
Joined: Thu Jul 13, 2006 2:51 pm
Location: Atlanta, GA

#9 Post by Stargate199 » Tue Oct 07, 2008 2:34 pm

I tried to dual boot vista and ubuntu. I used VistaBootPro (freeware) to modify Vista's bootloader to add ubuntu to its list. I would first install Vista, then restore GRUB. If you do not have the R&R partition on your computer, then GRUB will work fine, HOWEVER if that partition is still on there, GRUB might think the recovery partition is the default Windows partition and not give you anyway to boot into vista. Since you have a Vista DVD (I assume), load that puppy back in there and restore Vista's boot manager. GRUB should still be the default bootloader at this point and you may continue to use it. There are instruction out there that will tell you how to add Ubuntu to Vista boot menu if you want to do that.
I have finally rejoined the dark side.
ThinkPad T450s, Core i7 5600u, 12GB RAM, Samsung 850 EVO 500GB SSD.
Previous ThinkPads: T41, T21, 600E

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests