LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Boot windows 98,windows XP and linux by GRUB (https://www.linuxquestions.org/questions/linux-general-1/boot-windows-98-windows-xp-and-linux-by-grub-46140/)

Swift&Smart 02-19-2003 09:34 AM

Boot windows 98,windows XP and linux by GRUB
 
Hello!

I installed GRUB and have two OS on my computer,Windows XP and RedHat linux 8.0.However,after I installed GRUB,my primary parition,which also was the first partition,cannot boot up my windows 98.Because I don't know the setting of GRUB.conf.I know how to set up windows XP with linux,but I don't know what's the configuration of windows 98.Would you guys give me some suggestions about this?

Any suggestions are appreciated.:D

Scrapz 02-20-2003 04:42 AM

I have Windows 98 and all I have in my /boot/grub/menu.lst file for that is:

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

...of course, change the (hd0,0) part to reflect your Win98 partition. (Keeping in mind that Grub starts counting from 0, so hda1 is hd0,0 hdb1 is hd1,0 etc...)

I'd imagine it'ld be roughly the same for WinXP ;)

TTFN,
Scrapz :p

Swift&Smart 02-21-2003 01:53 AM

Cannot boot it too
 
First of all,thanks for your suggestion.

I have done it before,but windows 98 cannot be booted too.I think the command is quite different if you have two windows OS.I have windows XP and windows 98.

Windows XP setting is the same as Scrapz gave me suggestion.However,I modified the hd(0,0) to hd(0,1) because I installed windows XP in the second primary partition.

Anyway,do you guys have any suggestion?Or do you have a great website for me to do it?Any suggestions are appreciated.

I'm a :newbie: on linux.:D

d_daywalker 02-21-2003 02:05 AM

Could you list down the ouput of the command:

fdisk -l <device>

e.g

fdisk -l /dev/hda

I need the ouput of this command in order to help you.

Regards,
d_daywalker

Swift&Smart 02-21-2003 08:51 AM

The result is....
 
The result after inputing fdisk -l /dev/hda

Device Boot Start End Blocks Id System
/dev/hda1 * 1 653 5245191 1b Hidden Win95 FAT32
/dev/hda2 654 1828 9438187+ 7 HPFS/NTFS
/dev/hda3 1829 3070 9976365 f Win95 Ext'd (LBA)
/dev/hda4 3071 3723 5245222+ 83 Linux
/dev/hda5 1829 2351 4200966 b Win95 FAT32
/dev/hda6 2352 3004 5245191 b Win95 FAT32
/dev/hda7 3005 3070 530113+ 82 Linux swap

Do you have any clue about it?Because I don't know what's wrong of my GRUB script.

Yeah,thanks for your help.
;)

Swift&Smart 02-22-2003 09:03 AM

Anyone who knows it?
 
Anyone who knows how can boot up Windows 98 and Windows XP by GRUB???:D

Wai 02-22-2003 09:11 AM

HELP Req Boot from Slave Drive
I have a related problem.
I've installed RH on my slave partitiion, currently booting from floppy but when I change my bios to boot from the slave partition my bootloader hangs.
Same behavior whether it is Grub of Lilo. My boot loader is installed on the slave partition.


All times are GMT -5. The time now is 11:26 PM.