Find the answer to your Linux question:
Results 1 to 5 of 5
hey, i installed redhat 9 on my comp, on a different hdd to windows, and then used the lilo boot loader, during the RH9 install process...and that screwed my boot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    3

    LILO Boot AFTER install??


    hey, i installed redhat 9 on my comp, on a different hdd to windows, and then used the lilo boot loader, during the RH9 install process...and that screwed my boot so i couldnt get back to windows. now this was a problem, coz then i didnt really care for linux much and could boot off floppy, but i needed windows. but now i dont really care for windows much any more and was wondering how i would go about setting up LILO when linux is already installed??

    ne help is much appreciated. thnx, Justin

  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    boot into linux (you can do that with the boot floppy right?) you will need to have an apropriate /etc/lilo.conf file something simmilar to this one from the gentoo documentation:




    Code:
    boot=/dev/hda             # Install LILO in the MBR
    prompt                    # Give the user the chance to select another section
    timeout=50                # Wait 5 (five) seconds before booting the default section
    default=gentoo            # When the timeout has passed, boot the "gentoo" section
    # Only if you use framebuffer. Otherwise remove the following line:
    vga=788                   # Framebuffer setting. Adjust to your own will
    
    # For non-genkernel users
    image=/boot/kernel-2.4.25-gentoo
      label=gentoo            # Name we give to this section
      read-only               # Start with a read-only root. Do not alter!
      root=/dev/hda3          # Location of the root filesystem
    
    # For genkernel users
    image=/boot/kernel-2.4.25-gentoo
      label=gentoo
      read-only
      root=/dev/ram0
      append="init=/linuxrc real_root=/dev/hda3"
      initrd=/boot/initrd-2.4.25-gentoo
    
    # The next two lines are only if you dualboot with a Windows system.
    # In this case, Windows is hosted on /dev/hda6.
    other=/dev/hda6
      label=windows

  3. #3
    Just Joined!
    Join Date
    May 2004
    Posts
    3
    do u just create that file. coz that file isnt there...

    like create the lilo.conf and put the stuff u posted to me in it?

  4. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    Redhat probably has some graphical bootloader config program. I have never used redhat so i couldnt help you there im afraid.

  5. #5
    Just Joined!
    Join Date
    Jun 2004
    Posts
    1
    i have a s-ata drive. had problems installing rehat on that, and went to slackware instead. its been ages since ive used redhat, but try typing "liloconfig" in the terminal, or even in the console. i used the redhat "gui" lilo config program and had booting problems. i dont remember the program name. but if memory serves its in the control panel. sorry i cant be more help. hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •