LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-28-2005, 07:36 PM   #1
pwakeford
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 9.2
Posts: 3

Rep: Reputation: 0
Unhappy Tri Boot with GRUB: SUSE 9.2, Win 98 and WinNT 4.0


I've recently installed Suse 9.2 to an old Win32 machine, dual booting with Win98 and WinNT 4.0 using the NT boot loader to switch between OSes on startup.

Now that I've installed Suse and it's using the GRUB boot loader, I can only access SUSE and the Win98 partition. How do I correct GRUB to allow it to boot WinNT as well?


Here is partition setup from df:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/hda7 reiserfs 3855428 2711248 1144180 71% /
tmpfs tmpfs 63084 28 63056 1% /dev/shm
/dev/hdb6 reiserfs 3172696 400284 2772412 13% /opt
/dev/hda1 vfat 160444 124068 36376 78% /windows/C (Win98)
/dev/hdb1 ntfs 4192932 1311136 2881796 32% /windows/D (WinNT)
/dev/hda5 vfat 3912168 810524 3101644 21% /windows/ (Win98)
/dev/hdb5 ntfs 12185268 580264 11605004 5% /windows/F (WinNT)



Here is my /boot/grub/menu.lst:

# Modified by YaST2. Last modification on Sun May 29 01:22:51 2005


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 vga=0x317 selinux=0 splash=silent
resume=/dev/hda6 desktop elevator=as showopts
initrd (hd0,6)/boot/initrd

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

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.2
kernel (hd0,6)/boot/vmlinuz root=/dev/hda7 showopts ide=nodma apm=off acpi=o
ff vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,6)/boot/initrd
 
Old 05-28-2005, 07:56 PM   #2
damantis
Member
 
Registered: Dec 2004
Location: Auckland
Distribution: SUSE 10.0, FC4
Posts: 31

Rep: Reputation: 15
GRUB's naming system is a bit different. Instead of /dev/hda1, it's (hd0,0). The numbers start from 0, not 1.

/dev/hda = (hd0)
/dev/hdb = (hd1)
/dev/hdc = (hd2)

Similarly,
/dev/hda1 = (hd0,0)
/dev/hda2 = (hd0,1)
/dev/hdb3 = (hd1, 2)

To boot from /dev/hdb1, add this to your /boot/grub/menu.lst

Code:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    root (hd1,0)
    chainloader +1
To boot from /dev/hdb5, use this.
Code:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    root (hd1,4)
    chainloader +1

Last edited by damantis; 05-28-2005 at 07:58 PM.
 
Old 05-29-2005, 12:04 PM   #3
pwakeford
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
Hi damantis thanks for getting back to me.

I tried the changes you suggested to my /boot/grub/menu.lst, but now when I try boot up in WinNT 4, it has the following lines on a black screen, but never moves past this point:

root (hd1,0)
Filesystem type unknown, partition type 0x7
chainloader +1


I get a similar message when I try boot hd1,4


/dev/hdb1 (hd1,0) is where WinNT 4 should boot from. I was thinking that I had to get GRUB to invoke the NT boot loader on /dev/hda1 since that is where NT 4.0 installed it before I installed SuSE.
Is this possible to do in GRUB at all? Specifiy the boot loader for the NT 4 option on the splash menu?

 
Old 05-29-2005, 04:34 PM   #4
power_pole
LQ Newbie
 
Registered: May 2004
Location: Australia, QLD
Distribution: Redhat, Fedora, Debian, Windoze 2K, any other distro I get my hands on :)
Posts: 20

Rep: Reputation: 0
if you are going to boot windows from a different hard drive you need to add these lines to /boot/grub/menu.lst
Code:
map(hd0) (hd1)
map(hd1) (hd0)
that is if the nt bootloader is on the second drive

Last edited by power_pole; 05-29-2005 at 04:38 PM.
 
Old 05-29-2005, 06:26 PM   #5
pwakeford
LQ Newbie
 
Registered: May 2005
Distribution: SUSE 9.2
Posts: 3

Original Poster
Rep: Reputation: 0
Talking COMPLETED

Nevermind you guys thanks for the suggestions. I've solved the "problem". In my windows boot.ini file I had set the delay for the boot menu options to 1 second and was never seeing the boot menu for windows, b/c it was booting within a second after being relayed from GRUB's splash screen. ;-)

All is well.
 
Old 06-05-2005, 09:36 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Sorted df output

If you would like to see your df output nicely sorted, try:
Code:
df  | grep ^F ;  df  | grep -v  ^F  | sort -nk1.9  | sort -sk1.8,1.8
Code:
df  | grep ^F ;  df  | grep ^/      | sort -nk1.9  | sort -sk1.8,1.8
(No flames about the spaces added for legibility, please.)
#1 shows all filesystems
#2 shows only "regular" filesystems
Both put the header at the top

They are long but aliasable.

They work for me on MEPIS, YMMV
 
Old 06-06-2005, 06:27 AM   #7
galliar
Member
 
Registered: Jan 2005
Location: Vancouver, WA
Distribution: Suse 10.2, FreeBSD 6.2
Posts: 175

Rep: Reputation: 32
The easy way out!!

I don't normally recommend the easy way out, but with FreeBSD you have some booting issues that are very difficult to get around. You can download a public domain boot loader called Gag, http://gag.sourceforge.net It recognizes many different boot partition types in a very simple fashion. I think you will be quite pleased with the simplicity. Unless you fully want to understand Grub, it is a great option.

Regards,

Randy.
 
  


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
Tri Boot - Gentoo/SuSe/Windows ps2cho Linux - Distributions 9 06-17-2006 09:55 AM
SuSE 9.1 tri boot ?? MacWinLinux SUSE / openSUSE 10 09-21-2005 07:43 AM
Tri boot, XP,Suse 9.2 and win 2000? Doug.Gentry Linux - General 3 04-16-2005 04:00 AM
Tri-Boot Help/Recommendation With GRUB/LILO? C0Y0TE Fedora - Installation 1 01-24-2005 10:37 AM
Grub - 'tri-al' boot xp / rh9.0 / mandrake 9.2 VincentB Linux - Newbie 2 12-29-2003 03:39 PM

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

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