LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-05-2007, 07:00 PM   #1
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Rep: Reputation: 30
Vista Suse 10.3 & grub


Hello all,

Ok so I know there is a lot of stuff on this but nothing is clear. I've installed 10.3 (fresh) on my 2nd hard drive (sdb5). On my first hard drive (sda) I have Vista. I have GRUB as my boot loader(sdb3). But when I click on vista it says that I have "no boot loader" ?

Is there something really obvious that i'm not doing?

Code:
default 0
timeout 8
gfxmenu (hd1,2)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.9-0.4
    root (hd1,2)
    kernel /vmlinuz-2.6.22.9-0.4-default root=/dev/disk/by-id/scsi-SATA_ST910021AS_5MH0KW6S-part5 vga=0x314 CPUFREQ=no resume=/dev/sdb2 splash=silent showopts
    initrd /initrd-2.6.22.9-0.4-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.9-0.4
    root (hd1,2)
    kernel /vmlinuz-2.6.22.9-0.4-default root=/dev/disk/by-id/scsi-SATA_ST910021AS_5MH0KW6S-part5 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /initrd-2.6.22.9-0.4-default

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title Windows Vista
    rootnoverify (hd1,2)
    chainloader (hd0,0)+1
 
Old 11-05-2007, 07:30 PM   #2
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title Windows XP
rootnoverify (hd1,2)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
makeactive
chainloader (hd0,0)+1

That's to fool Vista into thinking it's the first hard drive even though your Grub is booting from the 1st hard drive that has Linux on it. Somehow Grub got put into the MBR of that second hard drive instead of the Vista one and is booting the system instead of the hard drive with Vista on it. So Vista is now the second hard drive. Maybe. This stuff gets tricky. You didn't unplug the Vista drive before installing Linux?

It may not work. Maybe I'm wrong in how I looked at what you have there. But Vista is still there. I just think it won't boot because it thinks it's not on the first hard drive, EVEN IF IT IS. Windows is wacky.

I changed it directly in YaST and it took but sometimes YaST won't save your changes, or at least in 10.2 it didn't. It saved what I did fine when I hit Finish in 10.3 though. If it just puts back what it had before then edit it manually:

kdesu kate /boot/grub/menu.lst

or

gnomesu gedit /boot/grub/menu.lst


Heh, not sure if OpenSUSE still uses gnomesu or if they've changed to what the rest of the world uses with gksu but try both if you use Gnome.
 
Old 11-05-2007, 11:25 PM   #3
ilago
LQ Newbie
 
Registered: Dec 2006
Location: Australia
Distribution: Mepis, PCLinuxOS, openSuse 10.3
Posts: 16

Rep: Reputation: 0
This is my grub menu.lst I'm dual booting Vista and Suse 10.3 with a single SATA hard drive. It will boot into either with no problems and has done, with no modifications, since I installed opensuse on the weekend. It is important that the partitioning is done before Vista is installed. The Vista partition is not very tolerant of being resized for some reason. WindowsXP was not so fussy.


Code:
# Modified by YaST2. Last modification on Sun Nov  4 18:40:18 CST 2007
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.9-0.4
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.22.9-0.4-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF2BHR7-part6 vga=0x31a resume=/dev/sda5 splash=silent showopts
    initrd /boot/initrd-2.6.22.9-0.4-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.9-0.4
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.22.9-0.4-default root=/dev/disk/by-id/scsi-SATA_ST3320620AS_6QF2BHR7-part6 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd-2.6.22.9-0.4-default

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,5)
    chainloader (hd0,0)+1
 
Old 11-06-2007, 01:30 AM   #4
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
ok so I put the maps into the menu.1st. But I get "MBR is missing" or at least I think that what I remember it saying lol. So do I need to do something like put windoze boot loader back on and then boot from CD. Then reinstall GRUB but not put it into the MBR ???? or something like that?
 
Old 11-06-2007, 11:33 PM   #5
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
I ran Vista on one hard drive and OpenSUSE 10.2 on the other for quite a while. Grub would boot either with no problems, but since Grub was in the MBR of the second Linux hard drive because of it being PATA while Vista on the first hard drive was SATA, the menu option was needed.

Maybe I was wrong and Grub is on your first Vista hard drive. If you installed Vista first and both hard drives are either Pata or Sata (not a mix as mine was) then I was incorrect about you needing the map lines.

There's probably just one simple thing wrong in your Windows section in the Grub menu.lst but I can't think of what that is.

Try reading the guides for this kind of thing over at:

http://www.pro-networks.org/forum/about78184.html

There are similar in other places but that's what my search came up with first. There's got to be an easy way to get Grub to catch on. I wouldn't fool with reinstalling as both operating systems are there and Grub does a fine job with this type of thing if you can figure out by reading some guides just what's needed for your setup.

It's likely going to be something so simple you'll laugh about it. A reinstall or using that EasyBCD thing are overkill for fixing your problem I think. EasyBCD is good for something more complex than only Vista on one drive and Linux on the other.
 
Old 11-07-2007, 10:46 AM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
SuSE 10.3 misidentified my Vista partition. I had to manually go in and change it. This is probably the case with you. Change GRUB to point to your Vista hard drive. This is what mine looks like, and I have the same physical set up as your hard drives.

Code:
title Windows Vista
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1

Last edited by Micro420; 11-07-2007 at 11:24 AM.
 
Old 11-09-2007, 06:43 PM   #7
PB0711
Member
 
Registered: Aug 2004
Location: London, UK
Distribution: Ubuntu 10.10, ubuntu 11.04, suse 9.2, OSX
Posts: 259

Original Poster
Rep: Reputation: 30
sweet that worked thank you
 
  


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
grub, xen, and/or vm: vista and unix & linux nweissma Linux - Newbie 3 10-22-2007 09:33 AM
dual boot fedora & vista - boot error - "GRUB loading stage 2" ans Fedora 1 08-20-2007 03:35 AM
Vista=smelly & Vista!=awesome dohpaz General 4 02-16-2007 09:22 PM
Triple Boot Vista,XP,Suse 10.2 Grub Can't Load Windows Maccer2007 Linux - General 3 02-14-2007 06:55 PM
SuSE Linux Uninstall & GRUB herkdrvr Linux - General 2 10-25-2004 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:52 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