LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 06-27-2004, 09:01 AM   #1
jcasanue
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
problem using grub/lilo to boot windows with suse 9.1


Hi there,
I have just installed suse 9.1 and grub to have both linux and windows on my machine.

I have two hdds:
hda (IDE which has suse 9.1)
hde (SATA which has windows)

grub is installed in hda, and linux boots fine... The problem is that when I boot
windows grub gives me an error saying "unrecognised file system type"
However all the grub settigna are correct... and If I disconnect hda, windows boots up fine...

any ideas?
thanks
 
Old 06-27-2004, 07:34 PM   #2
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
We'll need more information in order to help you...the main thing would be posting your grub.conf file so we can make sure there aren't any mistakes in it
 
Old 06-28-2004, 04:50 PM   #3
jcasanue
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi there....
I actually have 3 hdds as follows
hda: IDE drive with suse 9.1
hde and hdg: SATA drives with windows

I installed suse 9.1 on the IDE drive (hda) and installed grub in it aswell.
linux boots perfectly, but when I try to boot windows, I get this error:

root (hd1,0)
filesystem type unknows, partition type 0x7

if I disconnect the hda drive, when windows boot perfectly (without grub)

here are the grub settings:
boot Loader Location IDE, /dev/hda (MBR)
Disk Order /dev/hda, /dev/hde, /dev/hdg
Default section Linux
Available sections Linux (default), Windows, Failsafe
Activare Boot Loader Partition No
Replace code in MBR Leave untouched
Back uo Affected Disk Areas No
Add Saved MBR to Boot Loader Menu No
Save Method Save only changed files


and here are the grub config files:

/boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/hde
(hd2) /dev/hdg



/boot/grub/menu.lst
# Modified by YaST2. Last modification on Sun Jun 27 15:25:20 2004

gfxmenu (hd0,1)/boot/message
timeout 8
default 0

###Don't change this comment - YaST2 identifier: Original name: Linux###
title Linux
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=0x31a splash=silent desktop resume=/dev/hda1 showopts
initrd (hd0,1)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Windows###
title Windows
root (hd1,0)
chainloader +1
makeactive

###Don't change this comment - YaST2 identifier: Original name: Failsafe###
title Failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 3
initrd (hd0,1)/boot/initrd


/etc/grub.conf
root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit



if anyone has any idea, please help
thanks
 
Old 06-28-2004, 09:50 PM   #4
CartersAdvocate
Member
 
Registered: Sep 2003
Location: Columbus, OH
Distribution: Slackware 12.2
Posts: 166

Rep: Reputation: 30
Quote:
Originally posted by jcasanue
/etc/grub.conf
root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit
Hmm, I'm not an expert on grub, I usually use lilo, so I may be wrong, but it seems like you should have more in your /etc/grub.conf than this...something along the lines of:

rootnoverify (hd1,0)
chainloader +1

I saw that you listed that in your /boot/grub/menu.1st which YaST put in there, so I'm not sure if that means you don't need it in the grub.conf, but on Gentoo where I use grub, I have to put that in my grub.conf in order to boot my windows
 
Old 07-14-2004, 02:17 PM   #5
jcasanue
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi there... I finally solved the problem!

I had to add two lines in the /boot/grub/menu.lst file, in the windows section, which
now becomes:

###Don't change this comment - YaST2 identifier: Original name: Windows###
title Windows
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1
 
Old 07-14-2004, 07:58 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
jcasanue -- congrats on solving the problem and Welcome to LQ! -- J.W.
 
  


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
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 11:46 PM
dual boot with windows xp (two hd) and install Lilo (Suse 9.3) cangussu.br Suse/Novell 0 05-05-2005 12:35 PM
GRUB/LILO won't boot Windows lpic1_11 Linux - Newbie 4 12-13-2004 05:40 PM
Problem with GRUB (lilo also) in SuSE (as well as others) Kelvie Linux - Newbie 22 05-25-2004 03:12 AM
SuSE Linux 9.0 Windows XP Won't Boot - lilo erl Linux - Newbie 3 02-06-2004 01:56 PM


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