1. We start from VMWare
2. Add a new disk in VMWare for our guest OS (Maybe you need restart your guest OS)
3. fdisk this new disk, one partition for root, one partition for swap
4. format our new partitions:
# mkfs -t ext4 /dev/sdb1
# mkswap /dev/sdb2
5. # mkdir /mnt/lfs
6. # mount /dev/sdb1 /mnt/lfs
7. #mkdir -p /mnt/lfs/sources
8. #chmod a+wt /mnt/lfs/sources
时间: 2024-11-05 11:29:50