- Timestamp:
- Jul 1, 2006, 11:52:01 PM (18 years ago)
- Children:
- 6ea30c8
- Parents:
- b18d234
- Location:
- boot/x86
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/x86/grub-build.xml
rb18d234 rf1fd69a 54 54 xpointer="xpointer(//*[@os='f'])"/> 55 55 56 <screen os="ab"><userinput>make DESTDIR=${ LFS} install57 mkdir -v ${ LFS}/boot/grub58 cp -v ${ LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>56 <screen os="ab"><userinput>make DESTDIR=${CLFS} install 57 mkdir -v ${CLFS}/boot/grub 58 cp -v ${CLFS}/usr/lib/grub/i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen> 59 59 60 60 <para os="ac">The <filename class="directory">i386-pc</filename> directory … … 62 62 ones for different file systems. Review the files available and copy 63 63 the appropriate ones to the <filename 64 class="directory">${ LFS}/boot/grub</filename> directory. Most users will64 class="directory">${CLFS}/boot/grub</filename> directory. Most users will 65 65 copy the <filename>e2fs_stage1_5</filename> and/or 66 66 <filename>reiserfs_stage1_5</filename> files.</para> -
boot/x86/grub.xml
rb18d234 rf1fd69a 24 24 xpointer="xpointer(//*[@os='c'])"/> 25 25 26 <screen os="d"><userinput>dd if=${ LFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=127 dd if=${ LFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1</userinput></screen>26 <screen os="d"><userinput>dd if=${CLFS}/boot/grub/stage1 of=/dev/fd0 bs=512 count=1 27 dd if=${CLFS}/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1</userinput></screen> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 64 64 65 65 <para os="n">If all went well, GRUB will have reported finding its files 66 in <filename class="directory">${ LFS}/boot/grub</filename>. That's66 in <filename class="directory">${CLFS}/boot/grub</filename>. That's 67 67 all there is to it. Quit the <command>grub</command> shell:</para> 68 68 … … 75 75 xpointer="xpointer(//*[@os='p'])"/> 76 76 77 <screen><userinput>cat > ${ LFS}/boot/grub/menu.lst << "EOF"77 <screen><userinput>cat > ${CLFS}/boot/grub/menu.lst << "EOF" 78 78 <literal># Begin /boot/grub/menu.lst 79 79 … … 90 90 title CLFS &version; 91 91 root (hd0,3) 92 kernel /boot/ lfskernel-&linux-version; root=/dev/hda4</literal>92 kernel /boot/clfskernel-&linux-version; root=/dev/hda4</literal> 93 93 EOF</userinput></screen> 94 94 … … 97 97 xpointer="xpointer(//*[@os='q'])"/> 98 98 99 <screen os="r"><userinput>cat >> ${ LFS}/boot/grub/menu.lst << "EOF"99 <screen os="r"><userinput>cat >> ${CLFS}/boot/grub/menu.lst << "EOF" 100 100 <literal>title Red Hat 101 101 root (hd0,2) -
boot/x86/kernel.xml
rb18d234 rf1fd69a 72 72 73 73 <para os="af">If the use of kernel modules can't be avoided, an 74 <filename>${ LFS}/etc/modprobe.conf</filename> file may be needed.74 <filename>${CLFS}/etc/modprobe.conf</filename> file may be needed. 75 75 Information pertaining to modules and kernel configuration is 76 76 located in the kernel documentation in the <filename … … 92 92 93 93 <screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \ 94 INSTALL_MOD_PATH=${ LFS} modules_install</userinput></screen>94 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen> 95 95 96 96 <para os="u">After kernel compilation is complete, additional steps are 97 97 required to complete the installation. Some files need to be copied to 98 the <filename class="directory">${ LFS}/boot</filename> directory.</para>98 the <filename class="directory">${CLFS}/boot</filename> directory.</para> 99 99 100 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 102 102 xpointer="xpointer(//*[@os='v'])"/> 103 103 104 <screen><userinput>cp -v arch/i386/boot/bzImage ${ LFS}/boot/lfskernel-&linux-version;</userinput></screen>104 <screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen> 105 105 106 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 108 108 xpointer="xpointer(//*[@os='w'])"/> 109 109 110 <screen os="w1"><userinput>cp -v System.map ${ LFS}/boot/System.map-&linux-version;</userinput></screen>110 <screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen> 111 111 112 112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 114 114 xpointer="xpointer(//*[@os='x'])"/> 115 115 116 <screen os="x1"><userinput>cp -v .config ${ LFS}/boot/config-&linux-version;</userinput></screen>116 <screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen> 117 117 118 118 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.