Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, I have a SATA disk with a Linux kernel and LILO boot loader. Will it boot properly if I plug it into a UEFI machine? If not, what needs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128

    LILO on UEFI machines


    Hi,

    I have a SATA disk with a Linux kernel and LILO boot loader. Will it boot properly if I plug it into a UEFI machine? If not, what needs to be changed? The boot loader?

    Thanks.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    I've never run a UEFI machine so don't know much about them, but the Arch wiki has an article that might provide some info you can use:

    https://wiki.archlinux.org/index.php/UEFI

    Maybe some UEFI machine owners will chime in with some tips.
    oz

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,633
    Mostly Apple systems are UEFI devices, but some newer PC's also support the UEFI style bios. I'm not sure that LILO supports the enhanced firmware interface, so you may be SOL. Probably you would need to install grub or grub2 as a boot loader. In any case, you can try. The worst that would likely happen is that it will do nothing.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    I've tried it. Just get a blinking cursor and nothing else.

    There's elilo but I haven't tried it before...might try it, but wondering if it'll be compatible with both BIOS and EFI/UEFI systems...

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,633
    Well, the initial part of the boot loader is in the first sector of the disc, along with the partition table. It is hardware-specific binary code that normally sets some registers and then calls a BIOS/UEFI interrupt to load in memory the actual boot code in the boot partition (or whatever, depending upon the boot loader), and then jumps there. I have written custom boot loaders, but that was about 25 years ago... In any case, the principle is the same. However, the instructions for a UEFI system and a BIOS system are very different. The question is whether or not there is enough room in the first 512 bytes of the disc to hold the partition table AND the boot code if it is going to support both BIOS and UEFI systems. Don't know. Haven't needed to go there...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    128
    Well, ideally I would need this drive to boot in both types of systems. It's works sort of like a "Live-CD" except it's a hard drive. It used to use a BIOS independent boot loader called nuni, which should work in all systems, however it doesn't have SATA support and has been obsolete for a while...

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,633
    Quote Originally Posted by galapogos View Post
    Well, ideally I would need this drive to boot in both types of systems. It's works sort of like a "Live-CD" except it's a hard drive. It used to use a BIOS independent boot loader called nuni, which should work in all systems, however it doesn't have SATA support and has been obsolete for a while...
    I know grub can deal with UEFI systems. Don't know if it can deal with either UEFI or BIOS systems dynamically, but you could try that.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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