Changeset 5a9404bb
- Timestamp:
- 05/13/2005 06:26:44 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 22c910a7
- Parents:
- 0ec75653
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/ext3.xml
r0ec75653 r5a9404bb 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE chapterPUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 4 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> … … 7 7 8 8 <sect1 id="postlfs-filesystems-ext3"> 9 <sect1info> 10 <othername>$LastChangedBy$</othername> 11 <date>$Date$</date> 12 </sect1info> 13 <?dbhtml filename="ext3.html"?> 14 <title>Ext3</title> 9 <?dbhtml filename="ext3.html"?> 15 10 16 <para>Ext3 is a journaling file system that is an extension to the ext2 17 file system. It is backward compatible with ext2 and the conversion from ext2 18 to ext3 is trivial.</para> 11 <sect1info> 12 <othername>$LastChangedBy$</othername> 13 <date>$Date$</date> 14 </sect1info> 19 15 20 <para>You don't need to install anything to use ext3, all the required 21 packages are available with a bare <acronym>LFS</acronym> system.</para> 16 <title>Ext3</title> 22 17 23 <para>When building the kernel, ensure that you have compiled in ext3 24 support. If you want your root partition to be ext3, then compile the ext3 25 support in the kernel, else you may compile it as a module. Recompile the 26 kernel if needed.</para> 18 <para>Ext3 is a journaling file system that is an extension to the ext2 19 file system. It is backward compatible with ext2 and the conversion from 20 ext2 to ext3 is trivial.</para> 27 21 28 <para>Edit your <filename>/etc/fstab</filename>. For each partition that you 29 want to convert into ext3, edit the entry so that it looks similar to the 30 following line.</para> 22 <para>You don't need to install anything to use ext3, all the required 23 packages are available with a bare LFS system.</para> 31 24 32 <screen>/dev/hd<replaceable>XX</replaceable> /mnt_point ext3 defaults 1 0</screen> 25 <para>When building the kernel, ensure that you have compiled in ext3 26 support. If you want your root partition to be ext3, then compile the ext3 27 support in the kernel, else you may compile it as a module. Recompile the 28 kernel if needed.</para> 33 29 34 <para>In the above line, replace 35 <filename>/dev/hd<replaceable>XX</replaceable></filename> by the 36 partition (e.g., <filename>/dev/hda2</filename>), 37 <filename class="directory">/mnt_point</filename> by the mount point (e.g., 38 <filename class="directory">/home</filename>). The <option>0</option> in the 39 last field ensures that the partition will not be checked for 40 consistency during the boot process by the <command>checkfs</command> script. 41 You may replace the <option>ext3</option> fs type in the above by 42 <option>auto</option> if you want to ensure that the partition is mounted 43 if you accidentally skip enabling the ext3 support in the kernel.</para> 30 <para>Edit your <filename>/etc/fstab</filename>. For each partition that you 31 want to convert into ext3, edit the entry so that it looks similar to the 32 following line.</para> 44 33 45 <para>For each partition that you have converted to ext3 in <filename> 46 /etc/fstab</filename>, enable the journal for the partition by running the 47 following command.</para> 34 <screen><literal>/dev/hd<replaceable>[XX]</replaceable> /mnt_point ext3 defaults 1 0</literal></screen> 48 35 49 <screen><userinput role='root'><command>tune2fs -j /dev/hd<replaceable>XX</replaceable></command></userinput></screen> 36 <para>In the above line, replace 37 <filename>/dev/hd<replaceable>[XX]</replaceable></filename> by the 38 partition (e.g., <filename>/dev/hda2</filename>), 39 <filename class="directory">/mnt_point</filename> by the mount point (e.g., 40 <filename class="directory">/home</filename>). The <option>0</option> in the 41 last field ensures that the partition will not be checked for 42 consistency during the boot process by the <command>checkfs</command> script. 43 You may replace the <option>ext3</option> fs type in the above by 44 <option>auto</option> if you want to ensure that the partition is mounted 45 if you accidentally skip enabling the ext3 support in the kernel.</para> 50 46 51 <para>Remount the concerned partitions, or simply reboot if you have 52 recompiled the kernel to enable ext3 support.</para> 47 <para>For each partition that you have converted to ext3 in <filename> 48 /etc/fstab</filename>, enable the journal for the partition by running the 49 following command.</para> 53 50 54 <para>More information is available at <ulink 55 url="http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html"/>. This 56 informaion is still relevant to the 2.6 kernels.</para> 51 <screen role="root"><userinput>tune2fs -j /dev/hd<replaceable>[XX]</replaceable></userinput></screen> 52 53 <para>Remount the concerned partitions, or simply reboot if you have 54 recompiled the kernel to enable ext3 support.</para> 55 56 <para>More information is available at <ulink 57 url="http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html"/>. This 58 informaion is still relevant to the 2.6 kernels.</para> 57 59 58 60 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.