Changes between Initial Version and Version 1 of file_systems/jfs


Ignore:
Timestamp:
Apr 23, 2006, 7:33:41 PM (19 years ago)
Author:
Jim Gifford
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_systems/jfs

    v1 v1  
     1== JFS ==
     2
     3JFS is IBM's Jouraled File System
     4
     5- Cross Compile -
     6Change BUILDXX to your architecture (32,64)
     7
     8CC="${CC} ${BUILDXX}" ./configure --prefix=/tools --host=${LFS_TARGET} && [[BR]]
     9make && [[BR]]
     10make install [[BR]]
     11
     12- Final System Compile -
     13
     14./configure --prefix=/usr --sbindir=/sbin && [[BR]]
     15make && [[BR]]
     16make install && [[BR]]
     17ln -sf /sbin/jfs_fsck /sbin/fsck.jfs && [[BR]]
     18ln -sf /sbin/jfs_mkfs /sbin/mkfs.jfs [[BR]]
     19
     20- Grub Changes -
     21Change the following line [[BR]]
     22cp -v /usr/lib/grub/{architecture}-pc/stage{1,2} /boot/grub [[BR]]
     23to [[BR]]
     24cp -v /usr/lib/grub/{architecture}-pc/* /boot/grub [[BR]]
     25
     26- Kernel Configuration -
     27
     28Make 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
     32jfs is labeled the label used for the jfs file system. [[BR]]
     33Example: [[BR]]
     34/dev/hda2       /               jfs     defaults                1       1