Linux Project – Day 3

With the project going to third day, what we did is pretty much from Chapter 2 in the LFS book.

image

In virtualized environment, this is far more easier. Run the VirtualBox Manager and add another virtual harddisk to it before we booted up the Fedora 13 / any other host that you prefer.

image

image

Added another new disk under the SATA Controller with 5GB of size, calling it LFS.vdi. Boot up the VM and configure our partition for the build.

image

Create partition as usual, I use the whole 5GB space for the LFS, without any swap or different partition. Once partition is done, format it with new file system. I used ext3

mke2fs -jv /dev/sdb1

image

image

When view with the Disk Utility provided by Fedora itself, the whole 5.4GB has been utilized as a single partition with ext3 file system. This will be the LFS build environment.

After the partition and file system setup, we need to mount it to be useable.

export LFS=/mnt/lfs

mkdir -pv $LFS

mount -v -t ext3 /dev/sdb1 $LFS

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

Advertisements