mount proc crashes
When I carried out the mounting of /proc near the beginning of chapter 6, it falls over with a 'segmentation fault' initally, and just hangs up completely the second time. I then reset the machine and tried again, after doing chroot, and it gives an error about "/etc/mstab~" (can't remember the exact words), recommending I use "-n". So I add "-n" to the mount command and it seems to do it OK.
I know I have seemingly carried out the mount successfully eventually, but I'm a little concerned about these problems that occured. |
You mount the $LFS /proc and $LFS devpts all before you enter the chroot enviroment. Doing it after would give you the /etc/fstab or /etc/mstab errors as you havnt created those files yet!
|
It depends which book you're following. LFS 5 mounts proc after chrooting but current CVS versions of the book do it before you chroot..
|
I just did what the book told me, which is to do after chroot. I'll try it before chroot in the future to see if it goes away now.
|
Yep, doing it before chroot seems to be clean now, and not needing -n.
|
All times are GMT -5. The time now is 09:50 AM. |