Linux - NewbieThis 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!
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.
I'm trying to install Win2K and Red Hat 7.3 on physically seperate drives. I have a 60 GB as my primary, on which I installed Win2k. I then installed Linux on a 10 GB secondary, and chose LILO as the boot loader. When I booted up, only linux was a possiblity.
edit your /etc/lilo.conf to have windows as choice to boot from. also after editing lilo, run it to make the changes:
/sbin/lilo
#a sample for making your lilo entry to boot windows
other=/dev/hda1
table=/dev/hda
label=win
#you can make your label whatever you want.. i tend to use something short like win or dos and your other=/dev/hda1 should point to the actual device in which your case if its the primary drive, you probably can just use other=/dev/hda1
I tried what you suggested, but I'm still having problems. When I added that, 'win' was an option on LILO, but when I selected it all it did was go black for a second, then go back to LILO. Here is what lilo.conf is right now:
Not sure why it would go blank then back to lilo like that with no errors. Are you sure hda1 is the exact location of w2k ?
Boot into linux and try this:
fdisk -l /dev/hda
and see if you can tell if your w2k partition is listed as hda1...
This means to install lilo in the boot sector of /dev/hda1. Now /dev/hda1 is supposed to be your w2k partition.
So, not only do you have lilo in the mbr of /dev/hda, but also in the boot sector of /dev/hda1.
When you boot up, the lilo in the mbr of /dev/hda shows up first. Selecting w2k causes lilo to load the boot sector of /dev/hda1 and run the lilo that is installed there. I believe that's why you are not getting w2k. Your boot sector of /dev/hda1 is going to have to be fixed and you would have to change the line to:
boot=/dev/hda
That's the way it looks to me. Does anyone else see something different?
<edit> I thought of one other possibility, Lilo is installed in the boot sector of /dev/hda1 and the partition /dev/hda1 is set as active. When booting up, the lilo in the boot sector of /dev/hda1 is run and you get a prompt. When you select w2k, lilo loads the boot sector from /dev/hda1 and you end up at the lilo prompt again.</edit>
When I first installed it, I put lilo on the mbr, and I guess it put it on hda1 (thats where win2k was for sure, btw)
And while I was waiting for responses on this thread, I reinstalled redhat on hda (2-8), and that didnt work, and when i reinstalled it back on hdb, i did what you suggested and it worked
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.