HI Grail<div><br></div><div>I didn't quite get you there. Among the two routes to initially set up the system - "7 - If you're going to boot" and "8 - If you're going to chroot", I chose 7. So at the end of it I was on the assumption that I should boot up the initial/temporary system using the basic kernel I've built in step 7.10.</div>

<div><br></div><div>Or do you happen to say I could happen to proceed with steps in chapters 9, 10 and above where I get to build the actual packages and tools for my system right from my host machine (without a chroot) ?</div>

<div><br></div><div>Sorry if this question sounds silly, but I happen to be lost here.</div><div><br></div><div>Thanks.</div><div><br></div><div>-Ash</div><div><br><div class="gmail_quote">On Sun, Jul 3, 2011 at 4:39 PM, Grail Dane <span dir="ltr"><<a href="mailto:grail69@hotmail.com">grail69@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div><div dir="ltr">
Hi Ash<div><br></div><div>As you have only completed part of the solution I am not sure why you thought you would be able to boot the system??</div><div><br></div><div>Regards</div><div>grail</div><div><div><hr>From: <a href="mailto:ash25.icon@gmail.com" target="_blank">ash25.icon@gmail.com</a><br>

Date: Fri, 1 Jul 2011 11:15:54 -0700<br>To: <a href="mailto:clfs-support@lists.cross-lfs.org" target="_blank">clfs-support@lists.cross-lfs.org</a><br>Subject: [Clfs-support] CLFS - Unable to login on the first bootup<div>

<div></div><div class="h5"><br><br>Hi<div><br></div><div>I'm following CLFS: Version GIT-20110622-x86_64-Multilib</div><div><br></div><div>I'm using openSUSE 11.4 as the host machine to build the cross-to and other basic tools for the minimal CLFS system booting.</div>



<div><br></div><div>This is the minimalistic system refered in Chapter 7 "If You Are Going to Boot" and not the final CLFS system.</div><div><br></div><div>I got through with the steps mentioned in chapters 1-7 without any errors.</div>



<div><br></div><div>When I finally went to boot the system I initially got an unable to mount root fs error. It said tried ext2, ext3, ntfs and stuff (but didn't mention ext4). Then I realized I had not compiled ext4 into the kernel but just as a module. I rebuild the kernel separately once again and I had success in getting past this error.</div>



<div><br></div><div>But it was complaining about spawning /sbin/agetty and so did not get any login prompt. I booted into my host machine and noticed that /sbin didn't contain agetty, instead it was present in /tools/sbin but according to the steps in chapter 7.6, it the lines look as below:</div>



<div>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600</div><div><br></div><div>So either util-linux didn't install them to the proper location (should it have been ${CLFS} instead of /tools ?) or I missed some detail/step.</div>



<div><br></div><div>I tried modifying the /etc/inittab to use /tools/sbin/agetty instead of /sbin/agetty, and now I get a login prompt but entering username as root does not login into the system. :( It doesn't print any error messages but waits for roughly 30 seconds and again displays the login prompt.</div>



<div><br></div><div>I also copied the line from /etc/shadow on my host machine for the user root into ${CLFS}/etc/shadow. I even created an empty ${CLFS}/etc/gshadow. But still the same behaviour. </div><div><br></div><div>



Any help here would be appreciated. Let me know if I need to post any additional logs or even my kernel's .config file. Thanks.</div><div><br></div><div>-Ash</div>
<br></div></div>_______________________________________________
Clfs-support mailing list
<a href="mailto:Clfs-support@lists.cross-lfs.org" target="_blank">Clfs-support@lists.cross-lfs.org</a>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a></div></div>                                       </div></div>
<br>_______________________________________________<br>
Clfs-support mailing list<br>
<a href="mailto:Clfs-support@lists.cross-lfs.org">Clfs-support@lists.cross-lfs.org</a><br>
<a href="http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org" target="_blank">http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org</a><br>
<br></blockquote></div><br></div>