On Thu, Jul 21, 2011 at 3:36 PM, Tony Hartzell <[email protected]> wrote:
> Bruce,
>  /bin/sh => bash
> inittab is identical to the one in lfs-bootscripts
> deleted rc.d & sysconfig then 'make install' lfs-bootscripts
> how do I check for terminal drivers in kernel?
> As for output, below is all the output on-screen when it hangs...before that
> it goes by too fast to read
>
> Registering the dns_resolver key type
> Using IPI No-Shortcut mode
> registered taskstats version 1
>   Magic number: 3:446:336
> tty tty57: hash matches
> input: AT Translated Set 2 keyboard........../input2
> input: ImExPS/2 Generic Explorer Mouse...../input 3
> md: Waiting for all devices to be avalable before autodetect
> md: If you don't use raid, use raid=noautodetect
> md: Autodetecting RAID arrays
> md: Scanned 0 and added 0 devices.
> md: autorun ...
> md: ... autorun done
> EXT3-fs: barriers not enabled
> kjournald starting. Commit interval
> EXT3-fs (hda2): mounted filesystem with writeback data mode
> VFS: Mounted root (ext3 filesystem) readonly on device 3:2
> Freeing unused kernel memory: 380k freed
> Write protecting the kernel text: 4476k
> Write protecting the kernel read-only data: 1784k
> stty used greatest stack depth: 6012 bytes left
> rc used greatest stack depth: 5828 bytes left
>>
>> It sounds like agetty is not being run.  It's also possible that you
>> don't have the terminal drivers installed in the kernel.  What does
>> /etc/inittab look like?
>>
>> Did you create the /bin/sh link?
>>
>> Do you get any other output, e.g. "Mounting kernel-based file systems:"
>> What is the content of /etc/sysconfig?
>>
>> I don't know what the rc.0, rc.1, etc files are in your rc.d directory
>> are.  They are not a part of LFS.
>>
>> Try removing all files/directories in /etc/rc.d and /etc/sysconfig and
>> reinstalling those from the bootscripts tarball.
>>
>> > There don't appear to be any logs generated yet.
>> > Also, the contents of rc.d's subdirectories seem a bit sparse
>>
>> Yes, that it intentional.  Those are all you need to get a basic system
>> like LFS up.  There are more added in BLFS depending on what you install.
>>
>> > Thanks,
>> > Tony Hartzell
>> > P.S. Is there a web page that describes the boot process before the log
>> > files are opened?
>>
>> I have an ongoing project to revise the boot process description in the
>> book.  I'll be making some substantial changes to the book in this area
>> in the next few weeks.
>>
>>   -- Bruce
>> --
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page

well, to bypass the bootscripts you could use

root=/bin/bash, which gives you a bash prompt.

it'll tell you if it got that far or not.

-- 
Nathan Coulson (conathan)
------
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to