View previous topic :: View next topic |
Author |
Message |
BennyP Guru
Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Sun May 25, 2003 7:32 pm Post subject: booting win98 with grub (no floppy disk) |
|
|
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 |
|
|
BennyP Guru
Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Sun May 25, 2003 10:28 pm Post subject: |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon May 26, 2003 10:38 pm Post subject: |
|
|
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 |
|
|
BennyP Guru
Joined: 09 May 2003 Posts: 503 Location: Jerusalem, Israel
|
Posted: Tue May 27, 2003 2:00 am Post subject: |
|
|
thanks =)
i wonder why i didnt do that in the first place =) _________________ Could it be? |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Tue May 27, 2003 8:51 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|