LILO new parameters reveal

xiaoxiao2021-03-06  49

LILO is the most common startup tool in the world of Linux. However, early Lilo has some difficult defects, and its interface is too simple, so people do crunch with gorgeous System Commander or other startup tools. So how is LILO now over time? What I want to say is that with the continuous improvement of Lilo, the current Lilo has become a beautiful and moving white swan from a ugly duckling. Let's take Lilo's most famous top 1024 cylindrical installation defects. In the past few years, if you have a big hard drive, and unfortunately install other systems, such as Windows 98. Moreover, all spaces of the top 1024 cylinders. Then you will feel that LILO is simply an impossible task. Such a defect is not the fault of LILO itself. The key is that the BIOS of the motherboard is not good for the big hard disk, which can only identify the space in the top 1024 on the hard disk. LILO is starting when the computer is started. At this stage, it can only position the hard disk space through the BIOS. This is also why experienced people tend to say, install Linux, must pay attention to put the root partition before 1024 cylinders. With the common development of software and hardware, the current BIOS has been supported for large capacity IDE hard drives, and there is no restriction on 1024. Similarly, the latest LILO also allows the startup file to be placed anywhere in the big hard drive. The key is to use a linear parameter or update a little LBA32 parameter. LBA32 uses a logical block address, and linear is used by linear sectors. Both are through the BIOS, convert the logical address into a CHS physical address. LBA32 is a relatively new parameter, not mentioned in many books that introduce Linux. But in the latest LILO documentation, it is recommended to use this parameter when using the hard drive after 1998. In addition to supporting big hard drives, I also noticed users who are very picky to interface in the new version of Lilo. Friends who like Linux may have been noticed, and now the release version of Linux, such as Redhat, SUSE, MANDRAKE, provides LILO of graphics. What we see is no longer monotonous LILO characters, but a beautiful pattern. And we can choose the system you want to start with the cursor keys. Before before, these are all modified by the publisher. But now, we can do it yourself. Because in the new version of Lilo, the parameters regarding the startup background image settings are provided, and Bitmap is just a shortcomings, so that no one is mentioned online. Want to get a beautiful start-up cover, you need to use the following parameters. Bitmap = INS64.BMP # INS64.BMP is the BMP file name used as the cover, as long as it is a BMP file that complies with Windows or OS2 format, BMP-Table = 21, 287p, 2, 4, 175p # boot the location of the menu, and layout BMP -colors = 6,9,0; 15,9,0 # Start menu color and other attributes BMP-TIMER = 73, 29; 12, 8, 0 # timer color and location install = / boot / boot-bmp. B # Indicates the graphical support function startup program file here, I am a slight explanation. BMP-TABLE refers to some location properties about the startup menu. 21 represents an X-axis coordinate (in a single unit, a total of 80 columns), 287p is Y-axis coordinate (P = Pixel, representing the 287th point, total 464 points), 2 and 4 indicate each menu item displayed, respectively. How many columns and how many lines are respectively, that is, it is determined that there is a wide line and high. BMP-Colors refers to the color properties when the startup menu is displayed. Divided into two parts, separated by a semicolon.

The front part is the foreground color, background color, and shadow color; the rear section also means that these three types of colors, but the different is dedicated to display the selected menu item. BMP-TIMER refers to the relevant parameters of the countdown timer that beats on the screen. It also divides two parts, separated by a semicolon. The front portion is position, 73 and 29 represent x, y coordinates, respectively. The rear portion is the color properties, indicating the foreground color, background color, and shadow color. The Install parameters are also important, and boot-bmp.b here is a binary for system startup. There is a support code for the BMP image. Lacking this, the image is also displayed. Since LILO is relatively late for BMP, the general Linux distribution version is not supported by BMP-TABLE. The solution is to download the latest source code and manually compile. The method is also very simple, that is, after downloading the original code of LILO-22.0, use the SH QuickInst command to generate the required files. Copy these files to / boot, follow the above mentioned by the lilo.conf file. Then perform LILO. If there is no error, then you can restart it, enjoy your own unique launch screen. Reprinted very linux

转载请注明原文地址:https://www.9cbs.com/read-116073.html

New Post(0)