LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-20-2011, 11:30 AM   #1
AndrewJM
LQ Newbie
 
Registered: Jun 2011
Distribution: LFS svn BLFS svn
Posts: 16

Rep: Reputation: Disabled
LFS6.8 won't boot


My new build of LFS 6.8 stops during the boot process. The last two messages are:

[ 2.789656] sd 2:0:0:0 Attached scsi generic sg4 type 0
[ 2.799125] sd 2:0:0:0 [sdc] Attached SCSI removable disk

I have no true SCSI devices on this system.

After these messages I can't CTL-ALT-DEL to reboot - only a power off works.

Are there any traces that I can use to determine why this happens? My inittab is directly from the book and my FSTAB looks correct too.

Thanks
 
Old 06-20-2011, 01:35 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,730

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
Sata & pata devices pretend to be scsi, to answer that bit.

Grub finds the kernel, which is loaded, boots, mounts the root drive as specified by root= on the command line, and runs /sbin/init, which runs all your startup files in order. How far do you get? What's the last things to run successfully?
 
Old 06-20-2011, 02:04 PM   #3
AndrewJM
LQ Newbie
 
Registered: Jun 2011
Distribution: LFS svn BLFS svn
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
How far do you get? What's the last things to run successfully?
I don't know how to tell how far it got - there are no daemons being loaded yet, I have no access to anything, ALT-F2 does nothing. Are there any traces I could do?

Looking at an old /var/log/kern.log from a previous build (there isn't one generated for this one) it seems the next message I would expect is "Adding 8191996K swap on /dev/sdb3"
 
Old 06-21-2011, 03:57 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 15,730

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
Your kernel is hanging.

Is there a swap drive in /etc/fstab? It's also mounting all non root partitions around then, which depends on the order in your fstab. Have you run mkswap on the swap? Anything silly in fstab?
 
Old 06-21-2011, 09:58 AM   #5
AndrewJM
LQ Newbie
 
Registered: Jun 2011
Distribution: LFS svn BLFS svn
Posts: 16

Original Poster
Rep: Reputation: Disabled
My host system (probably HDD failure) has crashed - this is an old PC that was ready for the scrapheap (sorry, I mean recycling) so I'm not surprised. I am marking this as solved.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS6.8 and BLFS6.3 vmsda Linux From Scratch 3 04-06-2011 08:21 AM
Can't get LFS6.7 to boot PJB3589 Linux From Scratch 6 02-02-2011 10:04 AM
can't get perl to compile for lfs6.5 deathalele Linux - Software 1 10-23-2009 06:02 PM
After Installation Slackware Won't Boot & Lilo won't install nikiiliev Slackware - Installation 6 03-04-2006 01:24 AM
Some help please with chaper 8.3 of LFS6.0. DrRock Linux From Scratch 1 12-29-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration