LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual boot Redhat 7.2 and Win2k (https://www.linuxquestions.org/questions/linux-software-2/dual-boot-redhat-7-2-and-win2k-13968/)

eduvall 02-10-2002 01:52 PM

Dual boot Redhat 7.2 and Win2k
 
I have a 800Mhz PIII with 256Mb RAM and a 20gig HD that I have partitioned in half and installed Win2k on the first half and Redhat 7.2 on the second. During the Linux installation, I loaded the Lilo to the MBR. I know I was warned against this, but it worked and I can now dual boot my system. The only thing that I don't like, is that the boot loader is now Redhat and I am given two options. One of booting into Win2k labeled as "DOS" and Linux. I want to change the label on Win2k from DOS to Win2k but don't know how to go about it. I looked at the boot.ini file and it was not written there. I then booted into Linux and looked at the lilo.conf file and changed the wording from DOS to Win2k but it had no effect. Maybe I should just leave it alone if it works. Any thoughts?

acid_kewpie 02-10-2002 01:57 PM

don't lean on me man if you can't afford the the ticket back in salt lake city
 
as root, edit /etc/lilo.conf change the relevant "label=" line and then run 'lilo' again. easy peasy! :D

eduvall 02-10-2002 03:03 PM

I did this already with no effect. Are the any other files that I need to edit? I am new to Linux and have a total of one day experience under my belt. I can't even get onto the internet in Linux yet. I guess that I am just messing around with stuff that I know nothing about but computers amaze me and I want to learn more.

acid_kewpie 02-10-2002 03:40 PM

stop. hammer time!
 
without souding nasty, if it didn't make any difference, you've not done it right. you did actually run 'lilo' as root after you edited the file yeah? i don' men rebooting. lilo is an exectuable program that will update your changes.

eduvall 02-10-2002 04:04 PM

OK here is what I did. I logged on as root. I went to /ect/lilo.conf right clicked the file and went to gedit. I made the changes and then saved the file. Then rebooted. What am I missing?

linuxcool 02-10-2002 05:57 PM

You have to run the program lilo after you save the file. This will make you changes take effect. Next, reboot and you should see win2k as an option.

eduvall 02-11-2002 10:13 PM

You will have to excuse me if I don't use the proper terminology. I now have two days of Linux under my belt and still fell dumb as a box of rocks. In Windows I can do almost everything and am a legend in my own mind. This is what my lilo file looks like:

prompt
timeout=50
default=DOS
boot=/dev/hde
map=/boot/map
install=/boot/message
lba32

image=/boot/vmlinuz-2.4.7-10
label=Linux
initrd=/boot/intrd-2.4.7-10.img
read-only
root=/dev/hde2
append="hdd=ide-scsi"

other=/dev/hde1
optional
label=Winnt

Now when I ran this from the terminal window, this is what I got:

[root@CT73246-C root]# lilo
Added Winnt
Added Linux
Fatal: No images have been defined.
[root@CT73246-C root]#

It still doesn't work. What am I doing wrong.

Signed frustrated!

linuxcool 02-11-2002 10:57 PM

Try changing this line default=DOS to either default=Linux or default=Winnt. Then run lilo again.

eduvall 02-11-2002 11:22 PM

That worked. Thank you very much.

linuxcool 02-11-2002 11:35 PM

You're welcome. :)


All times are GMT -5. The time now is 03:45 PM.