LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-14-2002, 02:44 PM   #1
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Rep: Reputation: 15
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
 
Old 04-14-2002, 09:17 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 04-15-2002, 02:05 AM   #3
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
Ok thanks I'll try this.
 
Old 04-15-2002, 01:15 PM   #4
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 04-15-2002, 01:31 PM   #5
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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 ?
 
Old 04-15-2002, 02:44 PM   #6
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
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?
 
Old 04-15-2002, 03:10 PM   #7
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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?
 
Old 04-15-2002, 03:18 PM   #8
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
unknow interface: no such device
Setting Up default gateway [Failed]
Siocaddrt: No such device
 
Old 04-15-2002, 03:34 PM   #9
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 04-15-2002, 03:47 PM   #10
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
ok thanks and how do i add it?
 
Old 04-15-2002, 03:57 PM   #11
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by jnsc
ok thanks and how do i add it?
Add what ? The driver to the kernel or the insmod command?
 
Old 04-15-2002, 04:10 PM   #12
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
what is better?
 
Old 04-15-2002, 09:26 PM   #13
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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
 
Old 04-16-2002, 02:04 AM   #14
jnsc
LQ Newbie
 
Registered: Apr 2002
Posts: 24

Original Poster
Rep: Reputation: 15
ok thanks for all. I'll try this.
 
  


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
make bzImage BattleAxe_19 Linux - General 4 09-15-2004 03:15 PM
make bzImage BattleAxe_19 Linux - Newbie 4 09-15-2004 09:16 AM
bzImage!!! BattleAxe_19 Linux - General 2 12-22-2003 09:57 AM
bzImage is too small tecknojunky Linux - General 1 05-03-2003 08:35 AM
bzImage.. help unmada Linux - Software 2 06-13-2002 11:59 PM

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

All times are GMT -5. The time now is 07:31 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