Jedediah Klusman wrote:
KK trying to install LFS using live cd. Heres my question, I want my final LFS distro to have this directory/partition structure
hda1 /
hda2 SWAP
hda3 /var
hda4 ext
hda5 /home
hda6 /usr

However from reading the book it tills me to mount my lfs partition to /mnt/lfs, and dosn't mention using multiple partitions much. So im at a loss. Im afraid that ill finish the build and have my entire dirctory structure like this
/mnt/lfs
/mnt/lfs/var
/mnt/lfs/home
/mnt/lfs/usr

I want it to have the same directory structure like other distros, also it says to set the swap, i do a fdisk and make the partition for hda2, change type to 82, exit and then run mkswap /dev/hda2. it works, but doesn't say i should format, books says i should if this is a clean install. how do i format it?



Hello there,

Couple of points that may help you out on this.

The book explains about mounting the partitions for your LFS install and actually gives examples,

/dev/hda /mnt/lfs

Then it mentions about having seperate file systems on different

eg:

/dev/hda3 /mnt/lfs/var
/dev/hdb2 /mnt/lfs/boor

etc etc,

so you can actually layout your disk pretty much exactly as you want.

With your reference to formating, I'm actually not sure what your asking there, the book tells you to create a file system of your choice on the disks you're using, and also shows you how to make the swap partition, so I'm not too sure on what your actually asking.

Have another read of the books disk layout section, and see if it makes more sense on a second read.

Matt.





--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 16/09/2005

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to