source: postlfs/filesystems/ext3.xml@ 009b52f

10.0 10.1 11.0 11.1 6.0 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 gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/test-20220226
Last change on this file since 009b52f was 009b52f, checked in by Larry Lawrence <larry@…>, 19 years ago

errors caught reading pdf, chapters 5,6,7 & 8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1222 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[f45b1953]1<sect1 id="postlfs-filesystems-ext3">
2<?dbhtml filename="ext3.html" dir="postlfs"?>
3<title>Ext3</title>
4
[69bc513]5<para>Ext3 is a journaling filesystem that is an extension to the ext2
[c88227e]6filesystem. It is backward compatible with ext2 and the conversion from ext2
7to ext3 is trivial.</para>
8
9<para>You don't need to install anything to use ext3, all the required
[f7b26fb]10packages are available with a bare <acronym>LFS</acronym> system.</para>
[c88227e]11
12<para>When building the kernel, ensure that you have compiled in ext3
13support. If you want your root partition to be ext3, then compile the ext3
14support in the kernel, else you may compile it as a module. Recompile the
15kernel if needed.</para>
16
[f7b26fb]17<para>Edit your <filename>/etc/fstab</filename>. For each partition that you
18want to convert into ext3, edit the entry so that it looks similar to the
19following line.</para>
[c88227e]20
[009b52f]21<screen>/dev/hd<replaceable>XX</replaceable> /mnt_point ext3 defaults 1 0</screen>
[c88227e]22
[009b52f]23<para>In the above line, replace
24<filename>/dev/hd<replaceable>XX</replaceable></filename> by the
[f7b26fb]25partition (e.g. <filename>/dev/hda2</filename>), <filename class="directory">
26/mnt_point</filename> by the mount point (e.g. <filename>/home</filename>). The
270 in the last field ensures that the partition will not be checked for
28consistency during bootup by the checkfs script. You may replace the ext3 fs
29type in the above by auto if you want to ensure that the partition is mounted
30if you accidentally skip enabling the ext3 support in the kernel.</para>
31
32<para>For each partition that you have converted to ext3 in <filename>
33/etc/fstab</filename>, enable the journal for the partition by running the
34following command.</para>
35
[009b52f]36<screen><userinput><command>tune2fs -j /dev/hd<replaceable>XX</replaceable></command></userinput></screen>
[c88227e]37
38<para>Remount the concerned partitions, or simply reboot if you have
39recompiled the kernel to enable ext3 support.</para>
40
41<para>More information is available at <ulink
42url="http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html"/></para>
[f45b1953]43
44</sect1>
Note: See TracBrowser for help on using the repository browser.