- Timestamp:
- Sep 22, 2006, 8:30:38 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8953f24
- Parents:
- 5921622
- Location:
- BOOK/boot
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/changingowner.xml
r5921622 r040521bc 11 11 <title>Changing Ownership</title> 12 12 13 <para os="a">Currently, the <filename class="directory">$ CLFS</filename>13 <para os="a">Currently, the <filename class="directory">${CLFS}</filename> 14 14 directory and all of its subdirectories are owned by the user 15 15 <systemitem class="username">clfs</systemitem>, a user that exists only 16 on the host system. For security reasons, the $ CLFSroot directory and16 on the host system. For security reasons, the ${CLFS} root directory and 17 17 all of it subdirectories should be owned by 18 18 <systemitem class="username">root</systemitem>. Change the ownership 19 for $ CLFSand its subdirectories by running this command:</para>19 for ${CLFS} and its subdirectories by running this command:</para> 20 20 21 21 <screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen> -
BOOK/boot/common/devices.xml
r5921622 r040521bc 21 21 <para>The commands in the remainder of the book should be run as 22 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that $ CLFSis set as23 double-check that ${CLFS} is set as 24 24 <systemitem class="username">root</systemitem>.</para> 25 25 </note> -
BOOK/boot/common/introduction.xml
r5921622 r040521bc 17 17 <para>There are a few additional packages that will need to be 18 18 installed to allow you to boot the minimal system. Some of these 19 packages will be installed onto theroot or in /usr on the CLFS20 partition ($ CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the19 packages will be installed onto root or in /usr on the CLFS 20 partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the 21 21 "DESTDIR" option with make. This will require the 22 22 <systemitem class="username">clfs</systemitem> user to have write access to 23 the rest of the $CLFS partition, so you will need to temporarily change the24 ownership of $ CLFSto the <systemitem class="username">clfs</systemitem> user.23 the rest of the CLFS partition, so you will need to temporarily change the 24 ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user. 25 25 Run the following command as <systemitem 26 26 class="username">root</systemitem>:</para> 27 27 28 <screen><userinput>chown -v clfs $ CLFS</userinput></screen>28 <screen><userinput>chown -v clfs ${CLFS}</userinput></screen> 29 29 30 30 </sect1> -
BOOK/boot/mips64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/mips64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/multilib/udev.xml
r5921622 r040521bc 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}"\30 udevdir=/dev</userinput></screen>29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" \ 30 LD="${CC} ${BUILD64}"</userinput></screen> 31 31 32 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/sparc64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/sparc64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/x86/grub-build.xml
r5921622 r040521bc 56 56 <screen os="ab"><userinput>make DESTDIR=${CLFS} install 57 57 mkdir -v ${CLFS}/boot/grub 58 cp -v ${CLFS}/usr/lib/grub/ i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>58 cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen> 59 59 60 <para os="ac">The <filename class="directory">i386-pc</filename> directory 61 contains a number of <filename>*stage1_5</filename> files, different 62 ones for different file systems. Review the files available and copy 63 the appropriate ones to the <filename 60 <para os="ac">The directory in 61 <filename class="directory">${CLFS}/usr/lib/grub</filename> (its name 62 depends on your arch) contains a number of <filename>*stage1_5</filename> 63 files, different ones for different file systems. Review the files 64 available and copy the appropriate ones to the <filename 64 65 class="directory">${CLFS}/boot/grub</filename> directory. Most users will 65 66 copy the <filename>e2fs_stage1_5</filename> and/or -
BOOK/boot/x86_64-64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our build variables into our new system so that 14 when we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD64=\""${BUILD64}\"" >> ${CLFS}/root/.bash_profile</userinput></screen> -
BOOK/boot/x86_64/flags.xml
r5921622 r040521bc 11 11 <title>Build Flags</title> 12 12 13 <para>We will need to copy our BUILD Variables into our new system. So when 14 we boot-up they will be there:</para> 13 <para>We will need to copy our build variables into our new system:</para> 15 14 16 15 <screen><userinput>echo export BUILD32=\""${BUILD32}\"" >> ${CLFS}/root/.bash_profile -
BOOK/boot/x86_64/grub-build.xml
r5921622 r040521bc 62 62 xpointer="xpointer(//*[@os='f'])"/> 63 63 64 <screen os="ab"><userinput>make DESTDIR=${CLFS} install 65 mkdir -v ${CLFS}/boot/grub 66 cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../x86/grub-build.xml" 66 xpointer="xpointer(//*[@os='ab'])"/> 67 67 68 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../ ../final-system/x86_64/grub.xml"70 xpointer="xpointer(//*[@os=' i'])"/>69 href="../x86/grub-build.xml" 70 xpointer="xpointer(//*[@os='ac'])"/> 71 71 72 <para os="j">The <filename class="directory">x86_64-pc</filename>73 directory contains a number of <filename>*stage1_5</filename>74 files, different ones for different file systems. Review the files75 available and copy the appropriate ones to the <filename76 class="directory">${CLFS}/boot/grub</filename> directory. Most77 users will copy the <filename>e2fs_stage1_5</filename> and/or78 <filename>reiserfs_stage1_5</filename> files.</para>79 72 80 73 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.