Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
booting win98 with grub (no floppy disk)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 503
Location: Jerusalem, Israel

PostPosted: Sun May 25, 2003 7:32 pm    Post subject: booting win98 with grub (no floppy disk) Reply with quote

I'm in a rush to start work on my musical project usign windows only apps. wine isn't an option it's too finicky.
i already have win98 installed on my first harddrive, and i'm resotrting to reinstalling windows 98 to save time and for lack of a better course.
how can i avoid this in the future?
keep in mind solutions that require a floppy drive are out of the question, as mine is broken.

edit, btw win98 is instaled on the first harddrive, gentoo and grub on the second
i don't know =exactly where the windows boootloader whatnot is, but during win install i installed to C:/windows

So right now windows is the default MBR
Primary Master = Windows partition w/ Windows 98SE
Primary Slave 1= /boot
Primary Slave 2= swap
Primary Slave 3 = /
grub installed on the MBR

how should my grub.conf look?
_________________
Could it be?
Back to top
View user's profile Send private message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 503
Location: Jerusalem, Israel

PostPosted: Sun May 25, 2003 10:28 pm    Post subject: Reply with quote

i believe the problem is because grub is installed to hd0 (over to pof windows98's boot procedure)

how can i relocate windows 98's boot whatnots without a floppy disk.
or alternately how can i remove grub from the MBR, restore windows 98, and set grub to boot up from a differtn location (such as the primary slave hard drive)
_________________
Could it be?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 26, 2003 10:38 pm    Post subject: Reply with quote

Booting from the Windows98 CD should allow you to do the same things as a Windows98 floppy.
For example : fdisk /mbr

You can also reinstall GRUB using the Gentoo CD once you are ready for that.
Back to top
View user's profile Send private message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 503
Location: Jerusalem, Israel

PostPosted: Tue May 27, 2003 2:00 am    Post subject: Reply with quote

thanks =)
i wonder why i didnt do that in the first place =)
_________________
Could it be?
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Tue May 27, 2003 8:51 pm    Post subject: Reply with quote

If you are looking to set up dual booting to Gentoo and Win98, this is probably what you want:

Primary master: your Win98 setup with grub on the MBR.
Primary slave: your Gentoo setup

So in grub-speak, your Win98 disk is hd0, and Gentoo is on hd1, beause in grub we start counting hard drives from 0 instead of 1.

From a Linux standpoint, Win98 is on /dev/hda, and Gentoo is on /dev/hdb, because here we like using letters instead of numbers.

What you want in grub.conf:

Code:
default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/boot/bzImage root=/dev/hdb3

title=Windows 98
root (hd0,0)
chainloader (hd0,0)+1


To set up grub on your MBR, get into grub from Gentoo, and type in:

Code:
root (hd1,0)
setup (hd0)


So this is what will happen when you boot:

1. Your computer goes for the MBR and finds grub there. A nice menu will pop up with the option of booting Gentoo or Win98.

2. If you pick Gentoo, then grub goes to your Gentoo hard drive boot partition (root (hd1,0)), finds the kernel there, and then sets the root directory to your Gentoo / partition (/dev/hdb3).

3. If you pick Win98, then grub goes to your Win98 hard drive boot partition (root (hd0,0)) then loads Win98 using the chainloader.

This should get your dual boot system going.

Caveat: make sure my assumptions about your Gentoo setup matches what you have in your fstab file.

Hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum