LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 04-06-2007, 08:38 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Rep: Reputation: 32
Smile Vista and Ubuntu dual boot


Hello!
Let me tell you my situation:

Right now I have WinXP and Ubuntu 6.10 installed with a grub dual boot. Both residing on the same hard disk.

I am planning to install vista home or home premium replacing XP but keeping my ubuntu.

The problem is: How do I keep my dual boot working (vista and ubuntu) without the need to reinstall ubuntu and being able to access both OS.

If possible, I will really appreciate if you can mention the needed steps to acomplish my goal.

Thanks in advance,
G. Lorenzo.-
 
Old 04-06-2007, 08:49 PM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 117

Rep: Reputation: 19
You will not need to reinstall ubuntu in any case!!!

option one:

use the windows bootloader ....

use dd to copy the bootsector of your linux sytem partion and pīpe it into a file:

1 dd if=/dev/hda2 of=/some/path/uboot.sec -bs 512
2 copy the /some/path/uboot.sec file to windows.
3 create entry in c:\boot.ini to poit to that file ;;;
ex ubuntu=c:\uboot.sec

Option two

repair grub/lilo or whatever ....

1 boot from a livecd and run grub/lilo ... grub.conf / lilo.conf still contain valid info ... as the partitions have not been changed ... only the contents of the evil windoesNothing partition has changed ...


btw, who wants vista when you have ubuntu and beryl ????
 
Old 04-11-2007, 07:05 AM   #3
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Ubuntu and Vista dual boot!!!

Hello!
Last week I had Win XP and Ubuntu installed on the same hard disk and working OK. This week I installed Win Vista Home Premium instead of XP. After that, I boot with Ubuntu Live CD and ran Grub to restore my dual boot. After that, my nightmare began!

When starting the computer, Grub showed up the options but when choosing Vista, black screen and nothing happened. So, reinstalling Grub doesn't work with Win Vista.

Then, I re-installed Vista. Now, my computer starts with Win Vista but I can't get into Ubuntu. Is there a working way to be able to choose between Vista and Ubuntu when starting my computer without having to reinstall both OS?

There are many posts about things related to this subject but they are very confusing (at least for me) and by following one of them is how I lost the possibility to dual boot again.

So, in conclusion, I have Vista and Ubuntu already installed on my HD. Now, I can only start Vista and want to be able to start any of them.

Thanks in advance for your help,
G. Lorenzo.-
 
Old 04-11-2007, 07:13 AM   #4
Rohini
LQ Newbie
 
Registered: Nov 2006
Location: Tokyo, Japan
Distribution: Mepis, Nepalinux
Posts: 18

Rep: Reputation: 0
I am neither user of Vista nor expert of linux, but considering your latest situation having Vista installed later than Ubuntu, it seems that you have to reinstall Ubuntu. That is expected to auto-detect Vista too. I don't know any better option than that.
 
Old 04-11-2007, 09:30 AM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
The problem -I think- is not the order.

The problem, as far as I know, is not the installing order but Vista uses a different way to start up using MBR. Very confusing but there has to be a solution (or not?:-)
 
Old 04-11-2007, 05:35 PM   #6
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
Sorry I can't really help you with your issue but your assumption that it's probably the way Vista does things would be what I'd figure. Last I heard Vista doesn't even include the boot.ini file anymore. Normally I'd preach to let the Windows bootloader take over versus using Grub/Lilo but without the boot.ini file I am not sure how one could do that anyways. The only thing I can recommend is do some searching around to see if you can find anything. Ubuntu forums would be a good start.
 
Old 04-11-2007, 05:58 PM   #7
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Try this. Probably will find good informations.
 
Old 04-11-2007, 08:14 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Road_map
You must have found that link in one of my posts, or you found it the same way I did "google". It usually shuts people up.
One thing I've noticed after a few of these multi-boot with vista cases, especially those with more than one drive, is that the person is afraid to over write Vista's MBR entries and tries to use grub without installing directly to the MBR, or tries installing grub in the MBR of another disc. It appears that when Vista sees there were changes made to the system, it goes back to it's boot loader to see if the changes were taken into account, if there is nothing suggesting it has, Vista refuses to boot in an effort to force you to put the install disc in and correct things. But if Vista's boot loader is nowhere in the picture, Vista boots. The site Road map posted a link too also shows how to re-install Vista's boot loader in the Dual boot XP and Vista tutorial. On the page posted in this thread the individual shows you how to add Linux to Vista's boot loader if you don't want to part with it. But from what I've noticed in other cases, you can't have both.
This is just speculation.
 
Old 04-11-2007, 08:30 PM   #9
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
one thing is for sure - your ubuntu install can be salvaged.
you need a bootloader on some other device though.
i would assume vista wont brag about an MBR existing on another drive... so if you have a bios boot selection menu (like i have one) then im pretty sure they can coexist.
...
just a curiosity question... whats the use for vista anyway?
 
Old 04-11-2007, 08:44 PM   #10
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
Quote:
just a curiosity question... whats the use for vista anyway?
If your on-line gaming buddies play Windows ported games, what choice do you have?
And as for the other part. In traditional Windows fashion, Vista sees all, and knows all that is connected to the system. Unless you specify in the boot loader to hide things from Vista, but it has to be the same boot loader used by all, as I stated before, if Vista's boot loader is in the picture and the changes were not entered, Vista won't boot.
 
Old 04-11-2007, 08:56 PM   #11
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by Junior Hacker
If your on-line gaming buddies play Windows ported games, what choice do you have?
And as for the other part. In traditional Windows fashion, Vista sees all, and knows all that is connected to the system. Unless you specify in the boot loader to hide things from Vista, but it has to be the same boot loader used by all, as I stated before, if Vista's boot loader is in the picture and the changes were not entered, Vista won't boot.
that wasnt the question... isn't XP better anyway? why have Vista?
 
Old 04-12-2007, 09:56 AM   #12
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Quote:
Originally Posted by Junior Hacker
Road_map
You must have found that link in one of my posts, or you found it the same way I did "google". It usually shuts people up.
I just want to help. If here, on LQ there is "my link" or "my find", ok, no problem, from now i'll don't tell anything. I lost my time.
 
Old 04-12-2007, 06:40 PM   #13
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
That was not meant to be taken in an offensive way, it was just a way of saying you beat me to it.
 
Old 05-08-2007, 10:02 AM   #14
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
I've merged two similar threads.
 
  


Reply


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
Vista doesn't boot after ubuntu install JMC8501 Linux - General 9 06-14-2009 03:23 PM
SUSE10.0 and Vista dual boot JGRetired Suse/Novell 11 02-25-2007 07:01 PM
problem dual booting Vista and Ubuntu 6.10 with 2 sata drives skails22 Linux - Newbie 2 02-06-2007 08:57 PM
how to dual boot vista and ubuntu? bojox Linux - Newbie 2 01-28-2007 02:10 AM
Dual-Boot: Ubuntu now, Vista Later? leiavoia Ubuntu 1 08-27-2006 10:49 PM


All times are GMT -5. The time now is 03:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration