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 04-27-2002, 07:33 PM   #1
LQ Newbie
Registered: Apr 2002
Posts: 12

Rep: Reputation: 0
Post Bootloader

I recently downloaded and installed RedHat 7.2

I currently have two physical drives. Windows (XP) is on the Master, and Linux on the Slave. I had it install the bootloader (GRUB) to the slave.

When I try to boot from HD1 (the slave) it displays "GRUB" and then stops... have to reboot.

The only way I've been able to get in is through the floppy...

Any ideas, or suggestions on a better way to dual boot (without floppies) between RedHat and WinXP?

I was thinking of using the NT bootloader to have options XP and Linux, but if I can't even boot into linux directly, I can't get that to work.


-Don't worry... I have more problems ^_^.. but have to start somewhere.
Old 04-28-2002, 05:20 PM   #2
LQ Newbie
Registered: Apr 2002
Location: Coventry, U.K.
Distribution: Fedora Core 6
Posts: 14

Rep: Reputation: 0
Thumbs up

1. Boot into Linux and copy the boot image from the boot sector.
To do this run: dd if=/dev/hdxn bs=512 count=1 of=/linux_bs.bin, where
/dev/hdxn is the location of /boot and /linux_bs.bin is the Linux boot image. In your case it will probably be hdb1.
Copy this linux boot sector file to a safe and accesible location as follows:

If you are using NTFS for Windows 2000/XP then I suggest a floppy.
dd if=/dev/hdb1 bs=512 count=1 of=linux_bs.bin
mount -t msdos /dev/fd0 /mnt/floppy

cp linux_bs.bin /mnt/floppy
dd if=/dev/hdb1 bs=512 count=1 of=/mnt/floppy/linux_bs.bin

ls /mnt/floppy
umount /mnt/floppy

If you are using FAT32 for Windows 2000/XP then just copy it across.
dd if=/dev/hdb1 bs=512 count=1 of=linux_bs.bin
cp linux_bs.bin /mnt/win_c/linux_bs.bin

NOTE - You need to do this every time you make changes that result in a change to LILO. Example if you update the kernel.

2. Reboot into Windows 2000/XP and copy this linux_bs.bin file into the root directory (C:\).

3. Edit c:\boot.ini and append the following line at the end of the file:


Here is what the boot.ini may look like

[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="MS Windows XP Pro" /fastdetect
C:\Linux_bs.bin="Linux Mandrake 8.2"


Would cause Linux to be the default

I hope this helps. I have used it succesfully with LILO not with GRUB.
Old 04-29-2002, 09:16 PM   #3
LQ Newbie
Registered: Apr 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks... I was actually able to get it to work with GNU Grub after a bit of messing around.



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
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 10:55 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 01:22 PM
No Bootloader! JoshSmith41 Linux - Newbie 4 07-28-2003 04:24 AM
Bootloader Dumpsterm0uth Linux - General 6 05-26-2003 01:01 PM > Forums > Linux Forums > Linux - Newbie

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

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