Hi freegianghu and kjordan,
Tks for your advice.
Now I got my problem solved. As freegianghu mentioned;
Must run following commands before 'exit' chroot;
# umount /dev/pts
# umount /dev/shm
# umount /dev
Then after 'exit' chroot "umount /mnt/lfs" worked without problem/printout
Previously I made a mistake running them after exiting chroot environment, always complaining "device not mounted"
Quote:
And after chroot:
Code:
# umount $LFS/dev/shm
# umount $LFS/dev/pts
# umount $LFS/dev
# umount $LFS/proc
# umount $LFS/sys
# umount $LFS
|
I tried again. Entered chroot environment and ran;
# umount /dev/pts
# umount /dev/shm
# umount /dev
All no printout
Exited chroot and then ran;
# umount $LFS/dev/shm
Code:
umount: /mnt/lfs/dev/shm: not found
]# umount $LFS/dev/pt
Code:
umount: /mnt/lfs/dev/pts: not found
# umount $LFS/dev
Code:
umount: /mnt/lfs/dev: not mounted
# umount $LFS/proc
Code:
umount: /mnt/lfs/proc: not mounted
# umount $LFS/sys
Code:
umount: /mnt/lfs/sys: not mounted
# umount /mnt/lfs
No printout.
Would it be they are not necessary?
B.R.
satimis