Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-03-2004, 10:28 AM   #1
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Rep: Reputation: 15
Howto: Existing Win98 + Linux, dual boot using GRUB

Having no website to put this on, I'm submitting this HOWTO here....

I've created a dual boot of existing Windows 98 and Linux using GRUB.
On my machine there is one hard drive divided like so (in brackets - GRUB Device Names):

hda1 (hd0,0) FAT 32 - Win98
hda5 (hd0,4) ext2 - Linux
hda6 (hd0,5) swap - Linux swap

Before overwriting my MBR I tried the GRUB setup from a floppy, to install GRUB on a floppy:

From /sbin I ran grub-install '(fd0)'

and then in /boot/grub I've create a menu.lst

# Boot menu configuration file

# Boot automatically after a 10 seconds. 
timeout 10

# By default, boot the first entry.
default 0

# For booting Linux
title  Linux
root (hd0,4)
kernel /boot/vmlinuz-2.4.22-1-686 root=/dev/hda5 
initrd /initrd.img

# For booting windows 98
title Windows 98
rootnoverify (hd0,0)
chainloader +1
Then reboot with the floppy in, to check if the configuration works - it did.


From /sbin I ran grub-install /dev/hda

That's it fox!
Old 01-03-2004, 10:43 AM   #2
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Original Poster
Rep: Reputation: 15
May I also add, that this is quite a cool and easy boot loader.

It lets you test everything from a floppy before you commit the boot loader on the MBR.

Also, if you're not sure about the configuration, running the GRUB without menu.lst will enter a command prompt where you can type the commands one after the other. (followed by the boot command.)

Note that all you need to read from its manual ( to get it running, is the first 5 sections (Introduction - Configuration).

Worth checking out.
Old 01-03-2004, 11:00 AM   #3
Registered: Dec 2003
Posts: 31

Rep: Reputation: 15
How do I get grub-install in /sbin? I didn't set up my network settings so I can't connect to the internet while using linux. If I could get the grub-install in /sbin I shoudl be able to follow those instructions.
Old 01-03-2004, 11:06 AM   #4
Registered: Dec 2003
Location: London
Distribution: Debian
Posts: 34

Original Poster
Rep: Reputation: 15
With Debian, you can get it with dselect. I don't know about other distributions...

if you do manage to get and internet access, this page will direct you to an FTP.


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
Dual boot Linux + Win98 with GRUB raypen Slackware 14 12-29-2004 06:31 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Dual boot "merge" from existing 98 & existing Linux atsmith Linux - Newbie 4 07-13-2003 04:46 PM
Linux/Win98 Dual Boot, Win98 won't boot TIMMY! Linux - Software 21 04-18-2001 04:17 PM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 10:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration