• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

MAke Redhat 7.3 boot from MBR, How ?

kmthien

Senior member
Hi folks,

I have installed Win2K and RedHat 7.3 in the same HDD. I have selected to boot RedHat 7.3 from first boot sector when installing it. Hence, I need to insert my floppy disk everytime I need to boot RedHat, or else it will boot into Win2K. Is it possible to make RedHat to boot from MBR using LILO or GRUB ? Please guide me, Thanks !

regards,
kmthien
 
in /etc/lilo.conf you need the boot line to read "boot=/dev/hda" without the quotes, it probably says something different. Also, this would be if you are booting from the first IDE hard disk, it would be like /dev/sda if it were scsi. Also, man lilo.conf is your friend. Don't forget you need to be root to edit this file and run lilo after you save the file.
 
Hi,

I don't even has LILO now bcoz I have choosen to boot from 1st boot sector ! My MBR is taken over by Win2K ! So what should I do now ?

kmthien
 
Hi,

So how do I insert LILO/GRUB into MBR so that I got a GUI to choose which OS to boot when I power-on my PC ?? Thanks !

kmthien
 
It sounds like you need to do some reading to figure out what you're doing. When you've done that, tell us what you've tried or don't understand. And take more than 3 lines to do it, please...
 
Hi,

1) Installed Win2K successfully
2) Installed RedHat 7.3 and select to boot from boot sector, also successful.
3) Everytime I need to boot into RedHat 7.3, I need to insert the RedHat bootdisk then I can go inti RedHat OS. Else, will boot into Win2K directly.
4) But now, I regret very much. I want the Redhat Grub loader / LILO to be in MBR. So next time I can select to boot into Win2K / RedHat 7.3 without inserting the RedHat boot disk. This means I wanna RedHat GRUB loader/LILO to take over the MBR.
5) How can I accomplish this task ?
6) Pls help, Thank you !

:: This should more than 3 lines !!

regards,
kmthien
 
I'd suggest loading Grub, assuming you have it installed in your redhat and that you running and single IDE drive, then boot to your floppy and get in linux... then run grub (type grub). then at the grub prompt type:
root(hd0,0)
setup(hd0)
quit

then you need to make that grub.conf (after making it link it to menu.lst), so use gedit, pico, vi or whatever and make it like the following (I cant tell you exactly cause I dont know how you partitioned your drive), so change the root(hd0,Y)'s to you correct partitions, and change hda2 to your root partition for redhat


default 0
timeout 30

title=Redhat
root (hd0,0)
kernel /boot/bzImage root=/dev/hda2

title=Windows
root (hd0,5)
chainloader +1

 
Back
Top