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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-14-2002, 02:44 PM
|
#1
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Rep:
|
bzimage
Hello,
I'm trying to get an LFS distrib runnig. I just have a problem.
I'm at Chapter 8. Making the LFS system bootable on page Installing linux-2.4.18
And this is my problem on this page is written: Note: the arch/i386/boot/bzImage path may vary on different platforms.
I'm runnig a Mandrake 8.1 in the /boot directory I only have lilo-graphic lilo-menu lilo-text lilo is linked to lilo-graphic and boot.b is linked to lilo-graphic/boot.b i d'ont have any bzimage file. What file should I use boot.b or another?
Thanks
|
|
|
04-14-2002, 09:17 PM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Re: bzimage
Quote:
Originally posted by jnsc
Hello,
I'm trying to get an LFS distrib runnig. I just have a problem.
I'm at Chapter 8. Making the LFS system bootable on page Installing linux-2.4.18
And this is my problem on this page is written: Note: the arch/i386/boot/bzImage path may vary on different platforms.
I'm runnig a Mandrake 8.1 in the /boot directory I only have lilo-graphic lilo-menu lilo-text lilo is linked to lilo-graphic and boot.b is linked to lilo-graphic/boot.b i d'ont have any bzimage file. What file should I use boot.b or another?
Thanks
|
Those are totally different files. At this point don't concern yourself with what is in /boot. We're compiling a kernel so you definitely have to get the bzImage from /usr/src/linux. The exact path varies per platform like the book says. It could be /usr/src/linux/arch/i386/boot/bzImage or in /usr/src/linux/alpha/boot and so on.
|
|
|
04-15-2002, 02:05 AM
|
#3
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
Ok thanks I'll try this.
|
|
|
04-15-2002, 01:15 PM
|
#4
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
Hello,
In my /usr/src/linux-2.4.8/arch/i386/boot/ i only have : bootsect.S install.sh Makefile setup.S video.S Compressed/head.S Compressed/Makefile Compressed/misc.c tools/build.c
I searched all my harddisk for the bzimage file and I could find it.
If anyone has a sollution.
Thanks
|
|
|
04-15-2002, 01:31 PM
|
#5
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by jnsc
Hello,
In my /usr/src/linux-2.4.8/arch/i386/boot/ i only have : bootsect.S install.sh Makefile setup.S video.S Compressed/head.S Compressed/Makefile Compressed/misc.c tools/build.c
I searched all my harddisk for the bzimage file and I could find it.
If anyone has a sollution.
Thanks
|
Did you run "make bzImage" from within /usr/src/linux-2.4.8 ?
|
|
|
04-15-2002, 02:44 PM
|
#6
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
Thanks for all I now started my LFS system and I'got an error message. (eth0) etc/rc.d/rc3.d/S20network which exited whith a return value of 7.
did I something wrong during the eth confuguration? how can i change it? by remaking the eth step of the lfs book?
|
|
|
04-15-2002, 03:10 PM
|
#7
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by jnsc
Thanks for all I now started my LFS system and I'got an error message. (eth0) etc/rc.d/rc3.d/S20network which exited whith a return value of 7.
did I something wrong during the eth confuguration? how can i change it? by remaking the eth step of the lfs book?
|
Were there any other messages, such as an error message from 'ifconfig' before you saw the "exited with return value of 7" message?
|
|
|
04-15-2002, 03:18 PM
|
#8
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
unknow interface: no such device
Setting Up default gateway [Failed]
Siocaddrt: No such device
|
|
|
04-15-2002, 03:34 PM
|
#9
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by jnsc
unknow interface: no such device
Setting Up default gateway [Failed]
Siocaddrt: No such device
|
This means the kernel doesn't know about eth0. It means that the driver for your network card was not compiled into the kernel (or you selected the wrong driver).
If you compiled it as a module, you need to "insmod" it before you run the network script. You can add the insmod commadn to the network script if you like.
|
|
|
04-15-2002, 03:47 PM
|
#10
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
ok thanks and how do i add it?
|
|
|
04-15-2002, 03:57 PM
|
#11
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by jnsc
ok thanks and how do i add it?
|
Add what ? The driver to the kernel or the insmod command?
|
|
|
04-15-2002, 04:10 PM
|
#12
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
what is better?
|
|
|
04-15-2002, 09:26 PM
|
#13
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by jnsc
what is better?
|
Neither. Whatever is most convenient for you.
if you want it in the kernel, just select the proper driver.
If you want a module and need to add an insmod command, here's how it can be done:
#!/bin/bash
# Begin $rc_base/init.d/network - Network Control Script
# Based on ethnet script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
source /etc/sysconfig/rc
source $rc_functions
source /etc/sysconfig/network
case "$1" in
start)
insmod network_card_driver_here
and the rest of the network script as normal
|
|
|
04-16-2002, 02:04 AM
|
#14
|
LQ Newbie
Registered: Apr 2002
Posts: 24
Original Poster
Rep:
|
ok thanks for all. I'll try this.
|
|
|
All times are GMT -5. The time now is 07:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|