SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having trouble with GRUB. Currently I have 2 hard drives -- the first has suse linux professional installed and the second has windows installed. When I boot my computer, GRUB loads fine. From there I can boot into linux, but when I choose the windows option form the GRUB menu, the screen goes blank and then returns me to the GRUB menu.
Here is my /boot/grub/menu.lst file:
# Modified by YaST2. Last modification on Tue Jan 4 04:37:12 2005
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x317 selinux=0 splash=silent console=tty0 resume=/dev/hda1 desktop elevator=as showopts
initrd (hd0,1)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd1,0)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off iommu=noforce maxcpus=0 3
initrd (hd0,1)/boot/initrd
Woah, hold it! Windows doesn't like being anywhere except the primary master drive. No matter what boot loader you use, you will need to trick Windows temporarily into thinking that it is on the primary master or it will not boot. I'm kinda supprized that SuSE didn't set this up correctly.
First, you may want to change "root" to "rootnoverify" (though I don't think you need to.)
Add this before your chainloader command:
Code:
map (hd0) (hd1)
map (hd1) (hd0)
This will temporarily switch the primary master and primary slave drives in bios. Any time you want to boot Windows from Grub on any secondary drive you will need this. I think you keep the root command pointed at (hd1,0).
Woah, hold it! Windows doesn't like being anywhere except the primary master drive. No matter what boot loader you use, you will need to trick Windows temporarily into thinking that it is on the primary master or it will not boot. I'm kinda supprized that SuSE didn't set this up correctly.
Currently I use Windows on each hard drive (2). I have SuSE installed on my first drive along with one of the Windows operating systems. The first stage of GRUB is installed in the MBR
of Windows on the primary master. I can go into either Windows
installation from GRUB. I have been through several installs with
SuSE 9.1 Personal, SuSE 9.1 Pro, SuSE 9.2 Pro and Mandrake 10.1. Some of these extra installs were from me messing up the
Linux OS. (I'm new too). I never had a problem with not getting into Windows. The only thing that SuSE can improve on is giving the bootloader back to Windows on an uninstall like Mandrake
does.
Originally posted by keyfitter ...The only thing that SuSE can improve on is giving the bootloader back to Windows on an uninstall like Mandrake
does.
Ah, now there's the trick. With operating systems there is not / should not be any concept of uninstalling (only upgrading and erasing). What you would like to do is install grub stage1 to the boot sector of your boot partition, and set that partition as active. (if /dev/hda1 holds your boot partition, then tell SuSE to install the boot loader there instead)
I'm curious, what version of Windows do you have on that second drive? I didn't think there were any exceptions to the problem. I know that XP has a problem with it. The map command was the only way I could get my XP to boot from the primary slave (that's what the map command is intended for).
Originally posted by gd2shoe Ah, now there's the trick. With operating systems there is not / should not be any concept of uninstalling (only upgrading and erasing). What you would like to do is install grub stage1 to the boot sector of your boot partition, and set that partition as active. (if /dev/hda1 holds your boot partition, then tell SuSE to install the boot loader there instead)
I'm curious, what version of Windows do you have on that second drive? I didn't think there were any exceptions to the problem. I know that XP has a problem with it. The map command was the only way I could get my XP to boot from the primary slave (that's what the map command is intended for).
I am using Win XP Pro on both drives. One for normal use and the other one for just applications that have had a problem with service pack 2. I
have enough to do in my spare time besides downloading patches to fix the problems. I rarely go into Windows for anything as SuSe takes care
of most of my computer needs.
I am having problems trying to get SUSE 9.2 to dual boot with XP using GRUB. Below is the hardware config.
Disk 1: P ATA 100GB WD - SUSE 9.2 - CH0 Primary Master (HD0,hdd)
Disk 2: P ATA 200GB WD - NTFS Volume - CH1 Secondary Master (HD1,hdc)
Disk 3: S ATA 080GB WD - SFS / XP Boot Volume - CH2 Primary Slave (HD2,sda)
Windows XP was installed on to the SATA CH2 PS.
Suse 9.2 was installed on to the PATA CH0 PM volume and grub was also installed on to the PATA volume on to the MBR.
BIOS is set to boot from the PATA CH0 PM drive. Grub loads, and Suse will boot.
If I change the boot drive priority in the BIOS to boot from SATA CH2 PS, Windows XP will boot.
Is there a way to setup GRUB to boot XP from the SATA drive without installing GRUB on the SATA/XP boot drive MBR/Boot Sector?
I have tried adding the following lines to the GRUB menu.lst with no success:
___________________________________________________
title Microsoft Windows XP Professional
rootnoverify (hd2,1)
chainloader +1
___________________________________________________
title Microsoft Windows XP Professional
map (hd2,1) (hd0,1)
rootnoverify (hd0,1)
chainloader +1
___________________________________________________
I receive: Error 13: Invalid or unsupported executable format
Is this setup possible, or will I have to install GRUB onto the MBR/Boot Sector of the SATA/XP Drive to get this to work?
Last edited by intenzity513; 01-10-2005 at 02:19 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.