Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, just as the subject states, i'm having some problems getting a dual boot system up and running. Let me give some specs and what i've done so far. Maybe someone can see where I messed up:
PIII 1gig CPU
512 RAM
26 gig IBM Drive
I installed Win2K first. I set it up on a 13 gig partition.
I then installed RH 7.3. I setup my partitions on the remaining hard disk space; made a /, home, /usr and /var partition.
Now, when I went through the setup process, I specified to boot the boot loader (The screen to where you can specify whether to use LILO or GRUB) on the / partition, not the MBR.
I was assuming that was all I needed to do. But, after the RH install and a reboot, I was not prompted for a boot manager and Win2K booted right up.
Obviously, I missed something.
I think im close, im just not sure what I missed.
Anyone have any ideas on what I left out? I did not make a boot disk and am wondering if I need to make that disk, then boot to it first. Once im there, make some type of configuration change?
Just out of curiosity, i'm starting to wonder why the LILO boot loader did not start up. I guess I was expecting it to load up right away when the computer would start up. But, it was not so I missed something.
Is there something I missed most likely during the setup procedure where I specified where to place the boot loader? Either the MBR or the / partition?
I'm thinking i really missed something here.
Unfortunately, im not at the computer that this is setup on. At work right now.
Anyway, I installed Win2K on /dev/hda1.
My Linux partitions are installed on /dev/hda2-5
I have not edited lilo.conf yet. Was plain after the install.
Is there something I missed most likely during the setup procedure where I specified where to place the boot loader? Either the MBR or the / partition?
Yep, but it's a common ailment .
First some background. When a PC boots, the BIOS and the bootstrap loader program look for boot code on the MBR of the first bootable device (i.e., primary hard drive). Let's say that it finds some boot code on your primary gard drive's MBR. That code then either chain loads some code in a specified boot sector or is passed off to a boot manager.
In your case, since you put Grub on your Linux partition, the existing MBR code was not altered -- so, Windoze comes up and nothing else.
There are a couple of ways that you can fix this: one is simple, the other is a little more complex, but neither is terribly difficult.
1) Use your RedHat install CD to go into "Rescue" mode (hit F1, select or enter "Rescue". From there you will get a menu which includes the means to fix.reinstall your boot manager and put it on the MBR.
2) Follow the instructions on the Linux Doc Project. Copy your Linux boot sector to a file (i.e., bootsct.bin), copy that file to your "C:\" drive, and add a C:\bootsct.bin="Linux" menu entry to your boot.ini file.
When you are installing Linux, would it be wise to install the bootloader on the MBR? Reason I ask is that I read a few articles and they specifically say not to install on the MBR; instead to install it on the / partition.
Basically, in a nutshell:
Is it possible, do install Win2K first, then install RH 7.3, use LILO for the boot loader and some how configure the boot loader during initial setup to work on the next reboot?
Or does it require some tweaking?
Just trying to find a easy, simple way to get a dual boot up. Both for learning purposes and in a working enviroment.
Ok guys. As I sit here and think about this, I keep thinking that this install, the dual boot should be much easier that what it has been.
A couple things occured to me:
During the initial Linux install after the Win2K install, can't I install LILO on the MBR? Then, when the system reboots, it should detect LILO and bring up the boot menu, correct?
Or am I wrong? I keep thinking this should be much easier than it is.
You can indeed. It works a treat for most people, but for some reason, when NT or 2k or XP are involved, it is suggested that you use the NT bootloader - I haven't a clue why!
If you install Lilo to the MBR then you should only need to have an entry for Win2k pointing to the correct partition...
(I've never had an NT based Win, so I can't be sure)
You can indeed. It works a treat for most people, but for some reason, when NT or 2k or XP are involved, it is suggested that you use the NT bootloader - I haven't a clue why
I tell you, that is what was confusing me. Why not just make it so I can use LILO for the bootloader. I will give it a shot tonight when I get home. I will tryloading LILO on the MBR.
ANy other suggestions when installing the bootloader during install?
I don't know if RH 7.3 has a rescue mode on the CD, but if so, you won't need to re-install, just boot from the CD into rescue mode (could involve pressing F1 initially and then typing 'rescue' at the prompt) and put the bootloader in the mbr.
Another if: if the RH rescue mode doesn't have an option to do this for you, then you'll need to mount the appropriate filesystem(s), chroot to them, edit your lilo.conf file and change the boot= line (should be the first line) to /dev/hda rather than /dev/hdaX, and then run /sbin/lilo to put the changes into effect.
Oh, any thoughts? Okay, use jglen490's first idea--put the boot loader in the MBR and get on with life. I'm not sure where you got the advice to not put is there, but I think at worst, you will find the community split on the best way to do it. The explanation I was given was to put it in the MBR, unless you want to have a system that boots from a floppy or are using another boot loader (such as System Commander). In other words, the MBR is the default location unless you have a compelling reason to not do so.
I have one computer that has Windows 2000 and Red Hat 8.0. The boot loader is Grub and it is in the MBR. I did not have to alter any Windows .ini files. Grub handles everything just fine.
So, my thoughts are that it is a lot simpler than you're making it!
I have the same setup, Win2K and RH 8. Two different HD, Win2K on one and RH 8 on the other. Problem, after install of RH no boot at all. Had to use Win2K CD to fix MBR. Worked with LILO after reading post here and now get "LI" that's it. Prior to working with LILO & after fixing the MBR I was able to boot to Win2K.
So, now that I'm close (?) getting "LI" what now? Am I failing to save the LILO to the MBR and if so how do I do that?
Here is my LILO as seen from the KDE Control Center / System / Boot Manager (LILO);
boot="/dev/hdb"
prompt
timeout="50"
message=/boot/message
root=/dev/hda2
linear
vga="791"
i just finished getting XP and Redhat 7.2 to dual boot on my box. my problem ended up being that i did not create a boot label for my windows partition ( or drive in my case ). as soon as i put a boot label in everything was fine!
the boot label is asked whe you are asked what loader to use. or just once you get into your loader instal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.