Changeset dc64755
- Timestamp:
- Jul 11, 2006, 10:28:53 AM (18 years ago)
- Children:
- e28d682b
- Parents:
- a9b8538
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/x86_64-64/bin86.xml
ra9b8538 rdc64755 23 23 <title>Installation of Bin86</title> 24 24 25 <para os="a">We are building bin86 so that we can compile lilo.25 <para os="a">We are building Bin86 so that we can compile Lilo. 26 26 Both <command>as86</command> and <command>ld86</command> need to 27 27 run on the host system to assemble x86_64 code. We cannot … … 45 45 46 46 <para os="e">Install the assembler and linker where they will be on 47 the PATH when we build lilo, using prefixes to show that their47 the PATH when we build Lilo, using prefixes to show that their 48 48 output is not for a native system.</para> 49 49 -
boot/x86_64-64/bootloaders.xml
ra9b8538 rdc64755 12 12 13 13 <para>On x86 and x86_64 (multilib) architectures, the preferred 14 bootloader is G rub. Unfortunately, Grub doesn"t work on x86_6414 bootloader is GRUB. Unfortunately, GRUB doesn't work on x86_64 15 15 Pure64 - the stage2 files can be correctly built as 32-bit, but the 16 grub shell is a 64-bit program, and tries to execute some of the17 stage2 routines - this results in a segmentation fault. Therefore,18 in the final system we use Lilo as the bootloader.16 <command>grub</command> shell is a 64-bit program, and tries to 17 execute some of the stage2 routines - this results in a segmentation 18 fault. Therefore, in the final system we use Lilo as the bootloader. 19 19 </para> 20 20 21 <para>If you already have a bootloader, such as G rub, installed on21 <para>If you already have a bootloader, such as GRUB, installed on 22 22 the system then you should use that to make your new kernel bootable. 23 23 </para> -
boot/x86_64-64/lilo-build.xml
ra9b8538 rdc64755 23 23 <title>Installation of Lilo</title> 24 24 25 <para os="a">The following patch forces lilo to use our cross-compiler25 <para os="a">The following patch forces Lilo to use our cross-compiler 26 26 (except for a couple of utilities which run during the compile), 27 27 and to look for as86 and ld86 under the names by which we installed -
boot/x86_64-64/lilo.xml
ra9b8538 rdc64755 18 18 <para os="a">You are nearly ready to boot to the new temporary system. 19 19 One of the last things to do is to ensure that the system can be booted. 20 The instructions below apply only to x86_64 machines on which lilo is going21 to be installed. Information on using a pre-installed G rubon machines20 The instructions below apply only to x86_64 machines on which Lilo is going 21 to be installed. Information on using a pre-installed GRUB on machines 22 22 currently running as x86 or x86_64 multilib should be available in the 23 23 usual resource-specific locations for those architectures. If you have 24 installed an x86 version of lilo, these instructions should be modified24 installed an x86 version of Lilo, these instructions should be modified 25 25 to refer to the <command>lilo</command> and <command>keytab-lilo.pl 26 26 </command> commands you installed on the host system.</para> … … 31 31 32 32 <para os="c">If you have multiple systems on your machine using a different 33 bootloader such as grub, you may prefer to use that instead - consult the33 bootloader such as GRUB, you may prefer to use that instead - consult the 34 34 appropriate documentation. The rest of this section assumes you are going 35 to use lilo.</para>35 to use Lilo.</para> 36 36 37 37 <para os="d">Earlier, we compiled and installed the Lilo boot loader software … … 42 42 dvdrtools) as a test and as a backup.</para> 43 43 44 <para os="e">Normally, you interact with lilo by using the cursor and enter44 <para os="e">Normally, you interact with Lilo by using the cursor and enter 45 45 keys to select from the available option(s), but sometimes it is necessary to 46 46 add other boot options, such as e.g. 'init=/bin/bash' to debug boot failures. 47 47 The more your keyboard layout differs from the US qwerty layout, the harder 48 it will be to type boot options unless lilo knows about your keyboard layout.48 it will be to type boot options unless Lilo knows about your keyboard layout. 49 49 So, we will create a key table for Lilo (.ktl) file - at one point in the 50 50 documentation these are referred to as .klt files, which may be a typo, but -
bootable/x86_64-64/lilo.xml
ra9b8538 rdc64755 18 18 <para os="a">Your shiny new CLFS system is almost complete. One of the 19 19 last things to do is to ensure that the system can be properly 20 booted. The instructions below apply only to computers using lilo,20 booted. The instructions below apply only to computers using Lilo, 21 21 which in the context of this book means x86_64 Pure64 systems. 22 22 Information on <quote>boot loading</quote> for other architectures … … 29 29 30 30 <para os="c">If you have multiple systems on your machine using a 31 different bootloader such as G rub, you may prefer to use that31 different bootloader such as GRUB, you may prefer to use that 32 32 instead - consult the appropriate documentation. The rest of 33 33 this section assumes you are going to use Lilo.</para> … … 40 40 loopback block device support in the kernel).</para> 41 41 42 <para os="e">Normally, you interact with lilo by using the cursor42 <para os="e">Normally, you interact with Lilo by using the cursor 43 43 and <literal>enter</literal> keys to select from the available 44 44 option(s), but sometimes it is necessary to add other boot 45 45 options, such as e.g. 'init=/bin/bash' to debug boot failures. 46 46 The more your keyboard layout differs from the US qwerty layout, 47 the harder it becomes to type boot options unless lilo knows47 the harder it becomes to type boot options unless Lilo knows 48 48 about your keyboard layout. So, we will create a key table for 49 49 Lilo (.ktl) file - at one point in the documentation these are … … 117 117 <note os='o'> 118 118 <para>People who have been used to GRUB need to be aware that 119 lilo works differently - in particular, you cannot edit the120 available choices as you can in the grub shell, and lilo records121 the block addresses of the kernels into the boot blocks each time122 /sbin/lilo is run. This means that when you compile a new kernel,123 you have to add it to /etc/lilo.conf and rerun /sbin/lilo. It124 also means that if you recompile an existing kernel and save it125 to the same name you still have to rerun /sbin/lilo in case it now126 occupies different blocks on the filesystem.</para>119 Lilo works differently - in particular, you cannot edit the 120 available choices as you can in the <command>grub</command> shell, 121 and Lilo records the block addresses of the kernels into the boot 122 blocks each time /sbin/lilo is run. This means that when you 123 compile a new kernel, you have to add it to /etc/lilo.conf and 124 rerun /sbin/lilo. It also means that if you recompile an existing 125 kernel and save it to the same name you still have to rerun /sbin/lilo 126 in case it now occupies different blocks on the filesystem.</para> 127 127 </note> 128 128 129 129 <para os="p">If you are running multiple systems on this box and 130 using lilo, it is a good idea to ensure that each system is running131 the same version of lilo, otherwise an old version may not be able130 using Lilo, it is a good idea to ensure that each system is running 131 the same version of Lilo, otherwise an old version may not be able 132 132 to overwrite the bootloader from a newer version. You will also 133 133 need to ensure that the copies of /etc/lilo.conf on each system are -
final-system/x86_64-64/bin86.xml
ra9b8538 rdc64755 26 26 <title>Installation of Bin86</title> 27 27 28 <para os="a">We are building bin86 because it is required to29 compile lilo, and at the moment no other bootloader builds and runs28 <para os="a">We are building Bin86 because it is required to 29 compile Lilo, and at the moment no other bootloader builds and runs 30 30 on a pure64 system. If your machine has multiple systems (i.e. x86 31 31 or multilib) you may prefer to use the bootloader from those 32 systems, such as grub.</para>32 systems, such as GRUB.</para> 33 33 34 <para os="p1">This patch updates bin86 to compile on x86_64:</para>34 <para os="p1">This patch updates Bin86 to compile on x86_64:</para> 35 35 36 36 <screen os="p2"><userinput>patch -Np1 -i ../&bin86-x86_64-patch;</userinput></screen> -
final-system/x86_64-64/lilo.xml
ra9b8538 rdc64755 19 19 <para os="a">The Lilo package contains the Linux Loader, a bootloader.</para> 20 20 21 <para os="b">We have chosen to use lilo because at the moment no other21 <para os="b">We have chosen to use Lilo because at the moment no other 22 22 bootloader builds and runs on a pure64 system. If your machine has 23 23 multiple systems (i.e. x86 or multilib) you may prefer to use the 24 bootloader from the other system, such as grub.</para>24 bootloader from the other system, such as GRUB.</para> 25 25 26 26 </sect2> … … 40 40 <para>At the end of the installation the make install process will 41 41 print a message stating that /sbin/lilo has to be executed to 42 complete the update. Don "t do this as it has no use. The43 /etc/lilo.conf isn "t present yet. We will complete the44 installation of lilo in chapter 12.</para>42 complete the update. Don't do this as it has no use. The 43 /etc/lilo.conf isn't present yet. We will complete the 44 installation of Lilo in chapter 12.</para> 45 45 46 46 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.