How does the LILO works?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
cxsnew

How does the LILO works?

Post by cxsnew »

Hi,everybody,I have an confused question about LILO all the time since I research the Linux kernel,let me detail it:
1st,I don't know how many HD sectors which the LILO code holds.If /dev/hda2 is the Linux partition,then what's the function of the code in the 1st sector of this partition(Is it a part of LILO)?And which sector is the Setup.S?
2nd,I don't know the function of the integrated boot loader(IBT) include in the OS kernel image?And what's the ralation between the LILO and the IBT?
gtsphere

Re:How does the LILO works?

Post by gtsphere »

LILO is the LIunx LOader. It is a bootloader, which supports the booting of many different operating systems. Usally it is installed on the MBR, master boot record for the system to pick up LILO and then load linux or any other operating system on any disks. But you can install LILO on any partition. As for how large LILO is, it could possibly be 512 bytes, 1 sector or more. I'd say just search google for doc's on LILO, there are many.
Hope this helps.
-GT
Post Reply