Originally Posted by
capink
Unfortunately I have been busy lately with not much time to improve the guide.
capink - I sure know what you are talking about concerning time. I've been there and have done that. A full plate.
I am going to keep plugging away at this and see what I can discover. I'll surely let you know if I find anything pertinent.
There is one thing that keeps running across my mind when I run through the routine. It involves the mounting and unmounting of /rootfs/proc, sys, and dev. I note there's only code for mounting dev and proc. Then it jumps right into chroot. There's no sys mount. Here's the code in that section:
Code:
sudo mount -o bind /dev/ ${WORK}/rootfs/dev
sudo mount -t proc proc ${WORK}/rootfs/proc
sudo chroot ${WORK}/rootfs /bin/bash
When unmounting the code is:
Code:
sudo umount ${WORK}/rootfs/proc
sudo umount ${WORK}/rootfs/sys
sudo umount ${WORK}/rootfs/dev
When doing umount for /rootfs/sys I always encounter a not mounted message.
I really don't know if this is meaningful but it makes me wonder why there's a umount line for /rootfs/sys but no sort of mount line. I'd try to mount sys but I have no idea what the correct syntex would be.
That's about the only glaring discripency I have seen so far and I don't even know if it is actually a discripency. I just thought it was worth mentioning.
Trapper
Bookmarks