LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual boot "merge" from existing 98 & existing Linux (http://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-merge-from-existing-98-and-existing-linux-72318/)

atsmith 07-13-2003 11:56 AM

Dual boot "merge" from existing 98 & existing Linux
 
Hey,
I'm looking to dual boot my RedHat box between Windows 98SE and Linux. They are on seperate HDD's. I pulled the 98SE drive out, installed a new HDD, loaded Linux and have been happy ever since.
Except for one problem... I occasionally need to pop open the case, hook up the old 98 drive, and boot to it. Its rare, maybe twice a month, but I decided I wanted to setup GRUB to do the dual boot. Thing is it just won't boot right!

The Linux drive is a 60GB as the Primary Master.
The Win98SE drive can be setup on ANY of the other channels.

Thank you!

Proud 07-13-2003 12:11 PM

You have to have the boot loader on the primary harddrive, so connect both as you want them to be, and then install grub. It doesnt matter if grub is on the start of the windows drive, it wont affect it. :)

Mathieu 07-13-2003 12:22 PM

If you need more information concerning GRUB configuration, the GRUB Manual is available.
http://www.gnu.org/manual/grub-0.92/grub.html

Skyline 07-13-2003 04:22 PM

Hi atsmith

If you definately want to use two hard drives and have a dual boot between Win98se and a Linux distribution then

Install Win98se first on your Primary Master - then

install a Linux distribution second on a Primary Slave or Secondary master (the choice is up to you)

The thing to remember in this scenario is that:

Win98se has to be installed first - Linux has to be installed second

The reason is simply that if you installed Linux first - then installed Win98se second - then the Windows bootloader would overright the Linux bootloader in your MBR - it wouldnt recognise that Linux was there and you would only be able to boot into Windows

(I'm assuming that you want to install your bootloader to the MBR)

So - install Win98se first - then install Linux

When you install Linux you can use either GRUB or LILO - just let it install to the MBR

(the MBR is the boot sector on your 1st hard drive)

angelrod 07-13-2003 04:46 PM

boot with a rescue disk and type:

grub-install /dev/hda

That will install GRUB on the MBR of the primary HDD


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