<div dir="ltr">On Mon, Aug 11, 2014 at 6:45 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr">I started over. I am now at the section where we remove the 'I have no name!' prompt. The instructions are to start a new shell. Well.... I guess that is okay but the way I am doing this is:<br>
<div class="gmail_quote"><div dir="ltr">I have two computers. One I am building LFS on and the other I am building LFS from via ssh. SO I start a new shell and ssh into the LFS computer. Then I do the steps in 6.2.2 and 6.2.3 but my user is still th user I ssh(ed) with. I don't know what to say. I guess I could just not start the new shell and then su when I need to issue a command as root. I hope this is enough info to tell me what to do.<br clear="all">
<div><div><div><div>:-)~MIKE~(-:</div>
</div></div></div></div>
</div><br></div>
</div></div></blockquote></div><br></div><div class="gmail_extra">Uh ohhhhh...... the power went on the LFS machine and so I need to restart LFS at chapter 6. I did as the book instructs and do the steps at 6.2.2 and 6.2.3 but realized $LFS wasn't set. What am I doing wrong? What else do I need to do to restart LFS? <br>
<br></div><div class="gmail_extra">This is what I've done:<br><br></div><div class="gmail_extra"> <section 6.2.2><br></div><div class="gmail_extra">root@debian:/home/mike# mount -v --bind /dev $LFS/dev<br>/dev on /dev type none (rw,bind)<br>
</div><div class="gmail_extra"> <section 6.2.3><br></div><div class="gmail_extra">root@debian:/home/mike# mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620<br>devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br>
root@debian:/home/mike# mount -vt proc proc $LFS/proc<br>mount: proc already mounted<br>root@debian:/home/mike# mount -vt sysfs sysfs $LFS/sys<br>mount: sysfs already mounted or /sys busy<br>mount: according to mtab, sysfs is already mounted on /sys<br>
root@debian:/home/mike# mount -vt tmpfs tmpfs $LFS/run<br>tmpfs on /run type tmpfs (rw)<br><br></div><div class="gmail_extra"> then I verified $LFS wasn't set<br><br>root@debian:/home/mike# echo $LFS<br><br></div><div class="gmail_extra">
then I set $LFS<br><br></div><div class="gmail_extra">root@debian:/home/mike# export LFS=/mnt/lfs<br><br></div><div class="gmail_extra"> then I redid 6.3.3<br> <br>root@debian:/home/mike# mount -v --bind /dev $LFS/dev<br>
mount: mount point /mnt/lfs/dev does not exist<br>root@debian:/home/mike# mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620<br>mount: mount point /mnt/lfs/dev/pts does not exist<br>root@debian:/home/mike# mount -vt proc proc $LFS/proc<br>
mount: mount point /mnt/lfs/proc does not exist<br>root@debian:/home/mike# mount -vt sysfs sysfs $LFS/sys<br>mount: mount point /mnt/lfs/sys does not exist<br>root@debian:/home/mike# mount -vt tmpfs tmpfs $LFS/run<br>mount: mount point /mnt/lfs/run does not exist<br>
root@debian:/home/mike# <br><br></div><div class="gmail_extra"> then I realized I had to mount the LFS partition (mount /dev/sda6 /mnt/lfs) for $LFS to work. I'm so happy I figured that out on my own! But still I do not know about starting the new shell thing..... I know.... do I need to redo section 6.4? One more thing, now after I open the new shell and ssh to the LFS machine:<br>
<br>bmike1@CQ57-1:~$ ssh <a href="mailto:mike@192.168.0.14">mike@192.168.0.14</a><br>ssh_exchange_identification: read: Connection reset by peer<br>bmike1@CQ57-1:~$ ssh <a href="mailto:root@192.168.0.14">root@192.168.0.14</a><br>
ssh_exchange_identification: read: Connection reset by peer<br>bmike1@CQ57-1:~$ <br><br></div><div class="gmail_extra">why is it doing this?<br></div></div>