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.
friends i am new here and posting my first question here.
i want to know that is there any possibility to dual boot my machine with any two versions of redhat linux like win98 and win2k dual booting?
i have tried something and i want to tell you.
1. i installed win98 on /dev/hda1
2. i installed redhat linux 7.0 on /dev/hda5,6,7 (lilo on mbr) and lilo configured it self with win98.
that time i had two option linux and dos(dos = windows) .
3.then i installed redhat linux to dev/hda8,9,10 (lilo on mbr)
but it configured itself with dos and no previous versionwas there.
You need to edit your /etc/lilo.conf file and add your other linux image to it. usually by default it won't configure 2 different linux images.
and always run /sbin/lilo after making changes so it writes it to the MBR...
Use the other= way to boot the first installation of linux.
First, you're going to have to fix a problem. When you installed the second version of red hat, it wrote into the mbr where the first installation wrote its lilo. You need to fix that by writing lilo into the root ' / ' partition of the first linux installation.
Get out your red hat install cdrom disk and boot up with it. When you get the prompt enter: linux root=/dev/hda?. Replace the ? with the correct root ' / ' partition number. It will be 5, 6, or 7. If you don't remember which one it is, try them one at a time until it boots. When it boots up, remember what number worked.
Next, edit your /etc/lilo.conf file. Change the boot=/dev/hda to boot=/dev/hda?. Replace the ? with the number that you used to boot up linux. Then make sure your /etc/lilo.conf file has all the correct information in it and then run /sbin/lilo.
Now reboot without the cdrom disk and select linux. Edit your /etc/lilo.conf by adding these lines to it:
other=/dev/hda?
label= First linux install
Replace the ? with the number that booted up the first linux installation and run /sbin/lilo. Then reboot and see if you can select the first linux installation and that it boots up.
but it did not worked. because /dev/hda6 was not mounted.
so it gave the error (when i typed "lilo") that "no such diractory". then i mounted that ext2 partition in "/mnt"
through
mount -t ext2 /dev/hda6 /mnt/
and it worked for me and now i am running three redhat7.0 redhat 7.3 and dos(win98).
so thats my little story for doing this appreciate my work because i am a newbie in linux.
and one thing we cant dual boot when we install redhat 7.3 first and 7.0 later because 7.0 kernal does not support ext3. so we cannot mount it . and the MBR will have that time the lilo of 7.0 on it not 7.3.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.