LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-23-2009, 04:01 AM   #1
Freezeil
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Loading Vista loads up stage 2 grub


Hi folks,

Starting with the question, loading up my new SATA hard-drive's Vista loads up my old SATA hard-drive's grub...

And with some more details:
I recently bought a new 500GBs SATA hard-drive as I was running out of space. My old hard-drive (also SATA) had Vista on it, and Ubuntu. I had installed grub on its MBR and managed to dual-boot wonderfuly.
When I installed my new hard-drive, I had Vista installed on it. Loading it up worked great - my old GRUB didn't show at all. A few days later I reinstalled my Ubuntu (on the old hard-drive), and another grub on the new hard-drive.

Configuring the new grub to load vista up properly was easy as ever. I booted up and the new grub shows up. To sum it up, I have the following hard-drives:
  • hd0 - Has my new Windows Vista and a fresh new grub copy.
  • hd1 - Has some data-packed partitions, no OSs.
  • hd2 - Has my ols Windows Vista, Ubuntu and my old grub.
  • My new grub has no problems what so ever loading up my new ubuntu (on hd2)
  • Loading up the new Vista (on hd0) gives my the first DOS-like screen, and before it moves on to the second DOS-like screen (and the third graphic loading screen), it goes STRAIGHT to my old grub's stage2 boot menu (installed on hd2).
  • Further attempts to load hd0's Vista from my old grub just loads my old grub's stage2 boot menu.
  • Loading up hd2's Vista finally loads my hd0's new Vista.

hd0's Vista somehow finds and runs my old grub. However, it doesn't go through the good-old "Loading GRUB stage 1.5" and "Loading GRUB..." - It goes STRAIGHT to the boot-menu.
How can I fix this? I dread formatting my old Windows Vista as it might break my new Vista's rotten-but-working bootup-process

Thanks,
John.
 
Old 01-23-2009, 06:49 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
Quote:
Originally Posted by Freezeil View Post
  • My new grub has no problems what so ever loading up my new ubuntu (on hd2)
  • Loading up the new Vista (on hd0) gives my the first DOS-like screen, and before it moves on to the second DOS-like screen (and the third graphic loading screen), it goes STRAIGHT to my old grub's stage2 boot menu (installed on hd2).
  • Further attempts to load hd0's Vista from my old grub just loads my old grub's stage2 boot menu.
  • Loading up hd2's Vista finally loads my hd0's new Vista.

What do you mean by "dos-like" screen, do you mean the boot menu where you pick the which Vista or a memory test?
So after the vista's third graphic loading screen(the one with the windows logo), it goes into the grub stage boot?
How do you load up hd2's vista? Maybe what you think is hd2 is really hd0?


You need to go into /boot/grub/menu.lst and check that it's really booting into what you want it to.

To change the vista boot options, you need to use bcdedit, a gui is available here...
http://neosmart.net/dl.php?id=1
 
Old 01-23-2009, 08:03 AM   #3
Freezeil
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
In "dos-like" screens, I mean the 2 automated command line scripts that follow the "Booting GLDR" line...
Here are the steps I do which lead me to the second grub:
  • Start the computer, get past BIOS,
  • Reach the stage 1 grub screen ("Loading stage 1.5" and then "Loading GRUB"),
  • Get to choose which OS to book into: Ubuntu (which works great) and Vista.
  • Select Vista (on hd0). I see the "Booting GLDR screen" (automated dos-like).
  • Instead of going to the next automated dos-like screen, the PC jumps straight to the old GRUB (don't even get the "Loading stage 1.5" screen - straight to boot menu). Selecting Ubuntu on this old grub gives me an "Error 17" screen (or something like that)
  • Choosing Vista on hd0 keeps getting me to the same place.
  • Changing to load Vista on hd2 loads my new Vista correctly.

I can't load my old Vista at all...

Thanks,
John
 
Old 01-23-2009, 08:45 AM   #4
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
If you can boot into the new vista, get the vista boot editor in the link I posted and add something in your new vista's boot menu to boot up into the old vista, maybe vista reads the boot information from the first disk no matter what disk you boot into.

I have xp/vista/ubuntu on one machine and this is the way I managed to get xp to boot up. I first select vista from grub and then boot xp from vista's boot menu.
 
Old 01-23-2009, 09:12 AM   #5
Freezeil
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thing is, I don't really need the old Vista.

As far as I'm concerned, I might as well delete it and install Gentoo instead of it (So that I'll have Vista on hd0 and Gentoo+Ubuntu on hd2.

The question is, will deleting my old Vista also prevent me from booting my new Vista as well?
 
Old 01-23-2009, 12:49 PM   #6
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
I think it would help to get a clearer picture of your setup related to booting, so how about downloading the Boot Info Script to your desktop, and then do the following as root user, but replace <username> with your username:
Code:
bash /home/<username>/Desktop/boot_info_script*.sh
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of that file to your next post. That will help clarify your setup.
 
Old 01-23-2009, 03:53 PM   #7
Freezeil
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Hello again,

I fixed the problem!

Turns out there was a copy of my old menu.lst on my C:\, which I put there for backup (so I can copy the grub configuration I wanted).
I didn't delete the file, and somehow Vista's boot loader read the menu.lst and acted on it. Once I renamed it to something else (ie. text.txt), I managed to load normally on my own!

Thanks a lot for your help,
John.
 
  


Reply



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
Grub loading stage 1.5 error 21. *I*A* Linux - Newbie 5 02-21-2008 02:00 PM
dual booting fedora with vista - boot error - "GRUB loading stage 2" ans Fedora 2 08-20-2007 06:12 AM
dual boot fedora & vista - boot error - "GRUB loading stage 2" ans Fedora 1 08-20-2007 03:35 AM
How can i fix Grub loading Stage 2 errors in FC 6 anando.1980 Fedora 3 01-10-2007 04:38 AM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 08:27 PM

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

All times are GMT -5. The time now is 12:28 PM.

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