Sorry but I really don't understand this and it is needlessly complicated.
Just mount /dev/hdaX on /mnt/lfs, /dev/hdaY as swap and follow the book.
Quote:
/mnt/lfs is a mounting point, and is indeed on RAM. After boot I mount the partition of the real disk, so /mnt/lfs/home is not on RAM but on disk. everything I change on /mnt/lfs is saved on disk, because I mounted this disk at /mnt/lfs.
|
I probably misunderstand, but there seems to be a contradiction here:
- /mnt/lfs is a mounting point, and is indeed on RAM
vs
- everything I change on /mnt/lfs is saved on disk, because I mounted this disk at /mnt/lfs
Which one is true? I assume the first one because of this: /mnt/lfs/home is not on RAM but on disk
Quote:
If I change a file on /usr , after next boot it will be lost because /usr is on RAM.
|
???
/usr -> is part of the cd not /mnt/lfs (the lfs build).
Like I said before, /mn/lfs is where your future lfs system is build (_not_ /mn/lfs/home!!)......