LILO Issues
I just installed RH9.0
and Selected LILO as Boot Loader, But selected my Dos Partition to boot by default How do i change this to ask which one to load instead?? Thanks, Stephen |
Edit your lilo.conf file in /etc and remove the default line in there.
After making the changes, run /sbin/lilo and it should write the changes made. Then a simple reboot should do the trick. |
How do i boot into linux tho?? i cant seem to load it at all... where can i make a boot disc, or can i use the 1st cd or what?
|
Boot into the first Red Hat cd, and type
linux rescue check out this site for more info: http://www.redhat.com/docs/manuals/l...mode-boot.html |
I'm kind of having the same problem.
I installed RH 9 from the 3 isos last night (I had a prior mandrake 9.0 install on my machine). Since I wanted to remove the mandrake install completely, I selected "Remove all linux partitions" during the install. Also, when it prompted me that GRUB would be installed by default, I changed it to LILO. Then I let the install continue until finished. I chose the Personal Desktop install. I have a couple of months experience on mandrake but other than that I'm pretty much a linux noob. Problem is, that after the install finished and it told me to remove any CDs and floppies and reboot - well, it won't reboot (from the HD at least). It DOES reboot fine with the boot floopy I created at the end of the install. I just wonder why it won't boot into LILO from the hard drive. trickykid - do your answers for gtxboyracer apply to my situation also? thanks in advance |
Where did you install LILO to, during the install?
|
I don't know. I thought that when it created the partitions (or re-used the old ones from mandrake) that it would put LILO whereever necessary. I don't remember entering anything for that... :confused:
how can I tell now? It seems to be working ok (once I boot from the boot floppy). |
Boot from the floppy
open a terminal su root password cat /etc/lilo.conf if you scroll up to the top you'll see a line boot=...................... post this line or all of your lilo.conf if you want and we'll tell you were its installed - sometimes people have peoblems if LILO is installed on a partition - its often best just to have it installed in the MBR |
oh yeah - when you mentioned MBR I remembered that was what I chose. Here's the file you asked for:
prompt timeout=50 default=linux boot=/dev/hda map=/boot/map install=/boot/boot.b message=/boot/message linear image=/boot/vmlinuz-2.4.20-8 label=linux initrd=/boot/initrd-2.4.20-8.img read-only append="hdc=ide-scsi root=LABEL=/" other=/dev/hda5 optional label=DOS |
boot=/dev/hda - yep LILO's installed in the MBR
You could try this as your entry for Windows: other=/dev/hda5 table=/dev/hda label="DOS" To open lilo.conf up do su root password gedit /etc/lilo.conf After youve made the changes, save the file then as root user again type /sbin/lilo to make the changes take effect then make sure your BIOS is set to boot from the hard drive and try booting from it. (worth a try) |
I don't have windows on this box. I admit it formerly was a dual-boot win98 and mandrake, but when I re-installed mandrake 9.0 I had the installer re-partition over my windows. Therefor, when all was done, all I had was mandrake 9.0. Then a couple of days ago I installed RH 9 over my mandrake install and chose to "remove all linux partitions". Then after RH installed, it wouldn't boot from the HD - even though my prior mandrake did boot OK.
I'm not much on disk partitioning, so I may have not done it right during my mandrake install. I think I told it to make: / swap /home /share the first 3 as ext3 and the "share" as vfat (I was intending to network my win2000 box to this box). BIOS is set for floppy first, hdd0 second, and CD third. I tried it some other ways too - originally it was CD first, floppy second and HD third. Wouldn't boot from HD either way. |
swap should be Linux swap(hex code no. 82)
Are you getting any errors? Or is it just hanging without anything loaded/ing? Do you have a boot disk to get into Linux? If you do, maybe you have to reinstall LILO....:scratch: |
thanks r_jensen. Yes I made a boot floppy during the install process. That boots OK. In fact, thats the only way I can get into rh linux.
That actual error I am getting when trying to boot from hard drive is: Boot from ATAPI CD-ROM: Failure Like I said, if I put in the boot floppy and re-boot, I get into my system fine, and everything seems to work great. thanks |
All times are GMT -5. The time now is 08:36 AM. |