Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: Base MCJ Filesystem   Print


Base Nav: next last All Tab 2 spacerspacer
The base MCJ filesystem is available here.

Run these commands:

mkfs.ext3 /dev/sda2
mount -t ext3 /dev/sda2 /lfs
cp ~/mcjrootfs-2.0.tar.bz2 /lfs
cd /lfs
ls
tar -xjpf mcjrootfs-2.0.tar.bz2
chroot /lfs




The output should look something like this:

root [ ~ ]# mkfs.ext3 /dev/sda2
mke2fs 1.40.2 (12-Jul-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2443200 inodes, 4885768 blocks
244288 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
150 block groups
32768 blocks per group, 32768 fragments per group
16288 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root [ ~ ]# mkdir /lfs
root [ ~ ]# mount -t ext3 /dev/sda2 /lfs
root [ ~ ]# cp ~/mcjrootfs-2.0.tar.bz2 /lfs
root [ ~ ]# cd /lfs
root [ /lfs ]# ls
fs  lost+found  mcjrootfs-2.0.tar.bz2
root [ /lfs ]# tar -xjpf mcjrootfs-2.0.tar.bz2
root [ /lfs ]# chroot /lfs
root:/# lilo
Warning: LBA32 addressing assumed
Warning: '/proc/partitions' does not exist, disk scan bypassed
Added linux *
2 warnings were issued.
root:/#


~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS