LinuxQuestions.org
Help answer threads with 0 replies.
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 09-21-2010, 01:10 AM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
LFS boot issue


Okay roughly 17 hours later finished the LFS. I think my problem is how I compiled my kernel. When I boot my system it loads the kernel and then it gets to a point where is says it can't mount the NFS. The request a floppy with a prompt to press enter.

Could this be my kernel compile. If not where should I start trouble shooting. I didn't get any logs yet since the system has booted enough.

Last edited by jmc1987; 09-22-2010 at 02:40 AM.
 
Old 09-21-2010, 09:40 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

A few questions:

1) Which partition did you use for LFS and for swap (Example: /dev/sda1 and /dev/sda2),
2) What FS did you use to build LFS on. A linux related one like ext2/3/4 or reiser?
3) What does your /etc/fstab file look like?
4) What does you grub menu file look like (/boot/grub/grub.cfg).

Also, which LFS did you build: LFS 6.6 stable?
 
Old 09-22-2010, 12:43 AM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
/dev/sdb2 is / ext3 files system
/dev/sda2 is swap swap

fstab
Code:
# Begin /etc/fstab

# file system  mount-point  type   options         dump  fsck
#                                                        order

/dev/sdb2       /            ext3   defaults        1     1
/dev/sda2       swap         swap   pri=1           0     0
proc            /proc        proc   defaults        0     0
sysfs           /sys         sysfs  defaults        0     0
devpts          /dev/pts     devpts gid=4,mode=620  0     0
shm             /dev/shm     tmpfs  defaults        0     0
# End /etc/fstab
Just like the book

I am actually using LFS 6.3 Live CD and the sources that come with it. And if everything goes well I'll spend the time downloading and verifying each package since im on dialup.

Anyways just to note I did solve my boot issue for now. I took a slackware kernel config and used it to compile my kernel and I booted into the system. Now the only issue I have i get a warning

Quote:
Interface eth0 doesn't exist. [ WARN ]
I think this might have something to do with udev. How ever Im sure if I learn how to compile my kernel the rightway and not load it as a module it might just work.

and for grup I am using grub 1 off of ubuntu

Make a Linux system sure is alot of work.

Last edited by jmc1987; 09-22-2010 at 12:47 AM.
 
Old 09-22-2010, 12:58 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Glad to see you got your boot problem fixed.
Quote:
Interface eth0 doesn't exist. [ WARN ]
This most often tells you that the (correct) network driver wasn't found/initialized. Have a look at your Ubuntu/Slackware boot messages and look for eth. Select that driver and recompile the kernel to include it.

This might help looking: dmesg | grep -i eth. Something like this should appear:
Quote:
dmesg | grep -i eth
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
The bold line is what you are after, the driver name is in italics.

Hope this helps.
 
Old 09-22-2010, 02:39 AM   #5
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
Since my original issue is solved I am marking this thread I'll make a new thread if I can't resolve my network issue.

Just to recap
Boot Issue Resolved by recompiling kernel with the correct options
 
Old 09-22-2010, 04:09 PM   #6
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Original Poster
Rep: Reputation: 119Reputation: 119
Just an another update.

I decided to start fresh and rebuild my temp system tool chain and rebuild the LFS still using a slackware config file but my system boots up and has access to the network now.

I think some of my previous issues were being to tired and getting sloppy with the commands.
 
  


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
Horrible ordeal trying to boot LFS. Tried older version - won't boot either Lyle Linux From Scratch 9 05-20-2010 08:56 PM
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 03:22 AM
LFS can not boot slim.chen Linux From Scratch 1 07-24-2009 06:42 AM
LFS with Linux Live, KDE color issue FLLinux Linux From Scratch 2 10-18-2008 11:26 AM
lfs first boot slack-penguin Linux From Scratch 7 06-15-2002 07:22 AM

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

All times are GMT -5. The time now is 06:20 PM.

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