浏览 1569 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-01-24
setup machine(only for vm)
1. create vm machine
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 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |