LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-23-2001, 03:01 PM   #1
nothlit
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Rep: Reputation: 0
Question where is boot image?


I am as new a newbie as one can get, although I consider myself experienced enough to at least know what I'm doing.

I installed RedHat 7.2 earlier today, 2.4.7 kernel. I went and downloaded the 2.4.15 kernel later and followed the instructions to unpack and prepare it. I did the following steps:

make menuconfig
make dep
make bzImage
make modules
make modules_install

Then I went to linux/arch/i386/boot to find the boot image, but to my surprise there is not a bzImage there. There is a "compressed" directory, a "tools" directory, and five other files: bootsect.S, install.sh, Makefile, setup.S, and video.S.

So the big question is, where's my boot image? I did absolutely nothing out of the ordinary with this compilation, so it should be in the default location, right?
 
Old 11-23-2001, 04:18 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
it really really must be there.. if not you've just plain gone wrong somewhere. try running updatedb and tehn try 'locate bzImage'. You might have set it to compile for an alternative architecture i guess... but if you had no errors from 'make bzImage' it must be tehre!
 
Old 11-23-2001, 08:42 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Actually, I had that happen to me once. Went through the whole shpeel and to my surprise after make bzlilo, no new kernel! Hmm, searched everywhere but never found. No new System.map or anytink. I ended up starting over with make mrproper and ended up getting the image I wanted. That's all I can say about my experience.
 
Old 11-23-2001, 09:00 PM   #4
nothlit
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Original Poster
Rep: Reputation: 0
I discovered my mistake. I was doing all the making under /usr/src and that's a no-no apparently. I moved the stuff elsewhere and it worked fine.

Now I have another problem...I have the bzImage, and I copied it to the /boot directory and renamed it vmlinuz-2.4.15 and added a new section into grub.conf, but upon reboot I get an error "file not found" when trying to boot that kernel. Do I need to do more than simply move-and-rename the bzImage? I haven't seen any instructions outlining a different procedure...
 
Old 11-23-2001, 09:16 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I have no idear about using grub, i use lilo, and after make modules_install I do a make bzlilo which does "everything" for me. All I have to do is reboot, wait and pray.
When you rename the file and move it, just make sure it goes into the exact same dir as the original and adjust yer grub accordingly. There should have been a System.map made rebuilding the kernel of which the system needs to boot. The new one should be in /usr/src/whatever dir you used. Copy that over also.
 
Old 11-23-2001, 10:06 PM   #6
nothlit
LQ Newbie
 
Registered: Nov 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Okey dokey, I've gotten as far as to be able to boot my new kernel, but it is unable to detect my mouse, and when it doesn't seem to be able to start the X server, or even the X configuration program.

This is definitely a learn-as-I-go experience. I always seem to notice my mistakes after I post here asking about them, and then I feel stupid. But hey...
 
Old 11-24-2001, 12:27 AM   #7
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Learn as you go is the only way! As far as X configuring, what command did you use? xf86setup, xf86config? The latter is the best way in my mind since it doesn't require X to run, especially if X isn't starting. =) What type of mouse are you using? If USB and USB drivers aren't loading then it won't see nor load it on boot. Do you get an error message of any type or just nothing?
If you can go to your /dev directory, look to see if there is a mouse device there. If not, that's a good cause for no mouse. May have to tweak the new kernel a little to get things goin' smooth. I can't count how many times i've reconfigured my stupid kernels to get things just right. I'm a little tired so if i have just rambled on, sorry.
 
Old 11-24-2001, 02:48 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
you'd possibly be best to start off using the config from your existing kernel, which should be /boot/Config-2.4.xxx

using a 'make xconfig' load that file and then go through and customize it, removing the rubbish.
 
Old 11-25-2001, 03:27 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You'd be better off not using 2.4.15 at all untill you patch it to 2.4.16-pre1......
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
Adding boot image to Ultimate Boot CD ZaphyR Linux - General 7 01-20-2005 03:08 PM
Boot Image marsques Slackware 14 12-12-2004 02:33 PM
Setting X boot image, and loading image untwisted Linux - General 2 03-09-2004 07:40 PM
Image at boot Mega Man X Linux - General 4 05-11-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration