论坛首页 综合技术论坛

step by step -- get start

浏览 1569 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-01-24  
setup machine(only for vm)
1. create vm machine
  • at least, 3 gigabytes is necessary for vm if you are in first trip to lfs
  • 256M mem is enough if the vm is installed on sda; otherwise, 512M is better
2. boot order
set cd-rom driver to first order on boot list
3. reboot vm

option
use ssh to accomplish command issuing:
1. net-setup
by default, press Enter two times to acquire dynamic ip through dhcp
2. start sshd
/etc/rc.d/init.d/sshd start
passwd to set root password for sshd

new partition
1. create partition
by default, login as root user to run cfdisk to launch graphical interactive operation; new two partitions, one for swap and another for lfs building.
2. create file system
assume /dev/sda1 is first partition and /dev/sda2 is second one.
issues these commands to create file system on the partition:
mke2fs -jv /dev/sda2
mkswap /dev/sda1
swapon /dev/sda1

3. mount the partition
export LFS=/mnt/lfs
mkdir -pv $LFS
mount -v -t ext3 /dev/sda2 $LFS
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics