/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.
If I change a file on /usr , after next boot it will be lost because /usr is on RAM. I hope I explained myself. Do you see any problems with this? |
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 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:
/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!!)...... |
Quote:
|
druuna,
I do as you suggests. I only tried to explain why some things are lost when installing LFS from a live CD. If I never reboot, no script will be needed. I have tried to add a file to /usr and it worked, but after boot it is lost. A live CD starts the FS hierarchy from initrd, which is a RAM disk, but down on the hierarchy it is saved on disk, because I mounted my disk. I'm starting over from chapter 4. You have helped me allot. Thank you. Ariel |
All times are GMT -5. The time now is 06:18 AM. |