glfs/multimedia/cdwriteutils/udftools/udftools-kernel-inst.xml
Larry Lawrence 8604d92fe9 Chapter 13, again
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1251 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-10-01 00:45:19 +00:00

45 lines
1.6 KiB
XML

<sect2>
<title>Installation of the kernel patch</title>
<para>Install the kernel patch by running the following commands from
the kernel source directory:</para>
<screen><userinput><command>patch -Np1 -i ../packet-2.4.20.patch</command></userinput></screen>
<para>In the kernel configuration, check your setting with those listed
here:</para>
<screen>Block devices
Packet writing on CD/DVD media: Y or M
File Systems
UDF filesystems support (read only): Y
UDF write support (DANGEROUS) Y</screen>
<para>If necessary, recompile the kernel with
<screen><userinput><command>make CC=/opt/gcc-2.95.3/bin/gcc dep &amp;&amp;
make CC=/opt/gcc-2.95.3/bin/gcc bzImage &amp;&amp;
make CC=/opt/gcc-2.95.3/bin/gcc modules &amp;&amp;
make CC=/opt/gcc-2.95.3/bin/gcc modules_install</command></userinput></screen>
</para>
<para>
Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and
<filename>/usr/src/linux/System.map</filename> to
<filename class="directory">/boot</filename>. If you utilize
<application>LILO</application> edit <filename>/etc/lilo.conf</filename>
appropriately and run <command>lilo</command>.
</para>
<para>If you build packet writer as a module, add the following to
<filename>/etc/modules.conf</filename>:
<screen><userinput>alias block-major-97 pktcdvd</userinput></screen></para>
<para>Finally, create the packet driver device nodes in <filename
class="directory">/dev</filename>, add one node for every
<acronym>CD</acronym>-<acronym>RW</acronym> drive you
want to support:</para>
<screen><userinput><command>mknod /dev/pktcdvd0 b97 0
mknod /dev/pktcdvd1 b 97 1</command></userinput></screen>
</sect2>