Post new topic    Reply to topic
Login to print this topic
Author Message
imnuts
PostPosted: Tue Jun 20, 2006 3:03 pm Reply with quote

Moderator
Support Team
 
 


Joined: 24 Mar 2004
Posts: 14577
Location: Boothwyn, Pennsylvania
l33t wrote:
because if what you say is true (grub cant recognise vista boot loader) then how else could it work? the only ohter OS i have installed (besides vista) is xp pro_x64...(and of cousrse suse) so if grub cant recognise vista, but it can xp pro, and of course recognises suse, then it *has* to be the xp_pro boot laoder thast handing control over to some files somewhere on the vista partition (in the BOOT folder i would think)


it works because the Vista Bootloader sets itself to run prior to the old bootloader and only allows one to access the old bootloader through itself. You can override this by using a switch with bootsect or by fixing XP's bootloader. The vista bootloader installs itself to where the XP bootloader was (but doesn't overwrite it) so when GRUB chainloads the bootloader, it is seen as a call for what is currently on that drive, which defaults to what vista installed.
 
Back to top
l33t
PostPosted: Tue Jun 20, 2006 3:13 pm Reply with quote

PRO Level 15
 
 


Joined: 01 May 2005
Posts: 1019
i get it now...
 
Back to top
unpocoloco
PostPosted: Fri Sep 08, 2006 12:09 pm Reply with quote

PRO New Member
 
 


Joined: 08 Sep 2006
Posts: 1
Location: Austin, TX
Fantastic guide, imnuts. In fact, it convinced me to join the community!

I do have a question. If I have Linux installed first, and then I install Vista...the next time I boot, won't it boot into Vista?

So, I'm thinking if that's the case, I won't be *able* to get into the grub configs!
 
Back to top
kd1966
Kevin Durbin
PostPosted: Fri Sep 08, 2006 1:00 pm Reply with quote

Respected Member
of PROnetworks
 
 


Joined: 08 Aug 2005
Posts: 9172
Location: USA - GSO - NC
Hello and welcome to PROnetworks unpocoloco! Please stop by our Introduction Area so we can welcome you properly.

As to your question; initially yes, you will be unable to access your Linux, BUT you won't have to reinstall, you can simply boot your Linux CD and "repair" the grub loader, then edit it to add an entry for the Vista bootloader. I did this on one of my systems
 
Back to top
EclipseAgent
PostPosted: Mon Dec 04, 2006 3:44 pm Reply with quote

PRO Level 6
 
 


Joined: 11 May 2004
Posts: 236
Location: USA
Eh, I am having a problem with the Vista installation on my machine sad after installing grub I get a "winload.exe" error when trying to boot Vista..

What gives?
 
Back to top
l33t
PostPosted: Mon Dec 04, 2006 4:20 pm Reply with quote

PRO Level 15
 
 


Joined: 01 May 2005
Posts: 1019
unpocoloco wrote:
Fantastic guide, imnuts. In fact, it convinced me to join the community!

I do have a question. If I have Linux installed first, and then I install Vista...the next time I boot, won't it boot into Vista?

So, I'm thinking if that's the case, I won't be *able* to get into the grub configs!


windows will erase grub and install its own boot loader to the MBR
there are several guides on how to fix this, and if you do not know, i (or somebody else) will gladly post the steps required to fix grub

to be honest tho, it really isint that hard, IIRC its as simple as a Linux live cd (almost any one will do) and then entering the GRUB shell and then rooting to the partition that has the grub files, then installing grub to the MBR then restart.
 
Back to top
adiaconou
PostPosted: Mon Dec 18, 2006 7:59 pm Reply with quote

PRO New Member
 
 


Joined: 18 Dec 2006
Posts: 2
Location: santa clara
I recently was dual booting XP and Linux, and I just installed Vista over my XP partition. However, now (as expected) I lost my ability to boot into linux and it just boots directly to Vista. However, in my Computer, I can no longer see the Linux partition at all.

How do I locate this partition? Can I get back into Dual boot mode without formatting the linux partition and then re-installing linux?

Thanks
 
Back to top
adiaconou
PostPosted: Mon Dec 18, 2006 8:03 pm Reply with quote

PRO New Member
 
 


Joined: 18 Dec 2006
Posts: 2
Location: santa clara
l33t wrote:
unpocoloco wrote:
Fantastic guide, imnuts. In fact, it convinced me to join the community!

I do have a question. If I have Linux installed first, and then I install Vista...the next time I boot, won't it boot into Vista?

So, I'm thinking if that's the case, I won't be *able* to get into the grub configs!


windows will erase grub and install its own boot loader to the MBR
there are several guides on how to fix this, and if you do not know, i (or somebody else) will gladly post the steps required to fix grub

to be honest tho, it really isint that hard, IIRC its as simple as a Linux live cd (almost any one will do) and then entering the GRUB shell and then rooting to the partition that has the grub files, then installing grub to the MBR then restart.


would you mind postnig these steps? I really appreciate it. And will this work assuming (as i said in my above post) I cannot even see the partition in windows?

Thanks
 
Back to top
l33t
PostPosted: Mon Dec 18, 2006 10:18 pm Reply with quote

PRO Level 15
 
 


Joined: 01 May 2005
Posts: 1019
sure,

this is a pretty useful guide (it is a bit outdated tho)

guide: http://www.sorgonet.com/linux/grubrestore/

as for the basic steps

you need to get to a properly equipped shell (aka most of them)
knoppix or any other live CD should work, i use SUSE 10.1 install DVD and boot into recovery mode

once you are at the shell, you need to login as root and type "grub"
you are now at the grub prompt

1) find out where the grub boot files are located by typing
"find /boot/grub/stage1"

2) you now need to "root" into those files by typing "root (hdX,Y)
where X,Y are the numbers that you found above. X is the HD (probably 0) and Y is the partition

3) then you need to install it. do this by typing "setup (hdX)" where X is where you want it installed (look at step 2, X refers to a HD number (usually 0)) where the MBR is

assuming there were no errors, you should now be able to quit and reboot.
 
Back to top
jordanrw
PostPosted: Fri Jan 12, 2007 2:07 pm Reply with quote

PRO Level 2
 
 


Joined: 12 Jan 2007
Posts: 10
Location: Bloomington, IN
Sorry kind of new to the whole dual boot here.

I have 2 SATA drives, one is currently running vista, i want to put Fedora Core 6 on the other. How would the above procedure change?

Thank you for the help.
 
Back to top
Back to top
Index >> Windows Vista Boot Problems >> How to: Dual-boot Windows Vista and Linux

Goto page Previous  1, 2, 3, 4, 5, 6  Next

Page 2 of 6

Post new topic   Reply to topic


Tired of the Ads? Registered users have 80% less adverts.