| | 1 | == JFS == |
| | 2 | |
| | 3 | JFS is IBM's Jouraled File System |
| | 4 | |
| | 5 | - Cross Compile - |
| | 6 | Change BUILDXX to your architecture (32,64) |
| | 7 | |
| | 8 | CC="${CC} ${BUILDXX}" ./configure --prefix=/tools --host=${LFS_TARGET} && [[BR]] |
| | 9 | make && [[BR]] |
| | 10 | make install [[BR]] |
| | 11 | |
| | 12 | - Final System Compile - |
| | 13 | |
| | 14 | ./configure --prefix=/usr --sbindir=/sbin && [[BR]] |
| | 15 | make && [[BR]] |
| | 16 | make install && [[BR]] |
| | 17 | ln -sf /sbin/jfs_fsck /sbin/fsck.jfs && [[BR]] |
| | 18 | ln -sf /sbin/jfs_mkfs /sbin/mkfs.jfs [[BR]] |
| | 19 | |
| | 20 | - Grub Changes - |
| | 21 | Change the following line [[BR]] |
| | 22 | cp -v /usr/lib/grub/{architecture}-pc/stage{1,2} /boot/grub [[BR]] |
| | 23 | to [[BR]] |
| | 24 | cp -v /usr/lib/grub/{architecture}-pc/* /boot/grub [[BR]] |
| | 25 | |
| | 26 | - Kernel Configuration - |
| | 27 | |
| | 28 | Make sure you select JFS. If it's going to be your root file system, make sure you build it into the kernel. Also select JFS Statistics, so jfs_fsck can give you valuable feedback when issues arise. |
| | 29 | |
| | 30 | - /etc/fstab - |
| | 31 | |
| | 32 | jfs is labeled the label used for the jfs file system. [[BR]] |
| | 33 | Example: [[BR]] |
| | 34 | /dev/hda2 / jfs defaults 1 1 |