LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-08-2004, 03:56 AM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
2.6.7 kernel won't boot


fedora core 2 kernel 2.4.22-1.2115, i downloaded 2.6.7 kernel compiled with no problem, vmlinuz-2.6.7 is at /boot grub.conf is automatically changed as well. but when i start the system on new kernel, the screen truns into pitch black nothing else, no error, nothing.
I then made a new soft link System.map to System.map-2.6.7, tried , still same problem.
I thoguht the make install after all these make modules, make modules_install will give me dual boot, but sth went wrong, i compiled again still same result.
anyone done dual boot kernels on fedora can give me some instructions please
 
Old 07-08-2004, 04:22 AM   #2
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
I did the following to compile my kernel:

$ make oldconfig
$ make menuconfig (and configure whatever I want and remove things that I don't want)
$ make all
$ make modules_install
$ make install
 
Old 07-12-2004, 03:24 AM   #3
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
ok i did all these, and after reboot, the screen didn't show anything. no message at all, ctl alt del didn't work.i had to reset box.
 
Old 07-12-2004, 08:49 AM   #4
garretwp
Member
 
Registered: Jan 2004
Posts: 46

Rep: Reputation: 15
I to was having trouble compiling the 2.6.7 kernel in fedora core 2. I went to do make xconfig picked what i wanted and didnt want. I than compiled using the rest of the commands and when i went to boot the new kernel it would freeze and not go any further than saying loading swap partition. So i than recompiled the kernel with the default selected and just changed my processor type and added firewire support. I than did the rest of the commands and rebooted the machine to load the new kernel. Everything worked with the defualts, only issue is that my module folder is a whopping 310 megs and not 39 megs as my reg. kernel was. If anyone has any suggestions please help us out.

Garrett
 
Old 07-12-2004, 10:16 AM   #5
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Kernel updates

I've messed around compiling and recomiling the kernel a bunch of times. My suggestion, for what it's worth, is to get the latest FEDORA kernel from Red Hat (source too). They are in RPM format, and all you have to do is install them like this:

RPM -ivh [kernel name].rpm

I would recommend you do not use:

RPM -Uvh

The "U" means "Upgrade" as opposed to the "i" which means "install". You want to keep your old kernel in case there are problems with the new one. Generally speaking though, if you use kernel upgrades from Red Hat as opposed to vanilla kernels built and compiled by you, then you won't have any problems.

If you're just wanting to tinker and learn, then by all means do what you're doing. It is very "trial and error" type work though, and you will likely break things.

 
Old 07-13-2004, 02:28 AM   #6
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
i need source , coz i need to patch it up with epia patch on my epia board.
i changed processor type from nehemian to c3 still same problem , on boot, nothing shows.
 
Old 07-13-2004, 08:29 AM   #7
otis2003
Member
 
Registered: Nov 2003
Location: PEI, CANADA
Distribution: Ubuntu/Fedora/Gentoo
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by taoweijia
i need source , coz i need to patch it up with epia patch on my epia board.
i changed processor type from nehemian to c3 still same problem , on boot, nothing shows.
Are you using a Red Hat kernel or just a generic kernel from kernel.org?

Red Hat kernels are optimized and work better on a Red Hat system. If you are running Fedora Core 2, then I suggest only using 2.6.x kernels from Red Hat for Fedora Core 2.
 
Old 07-13-2004, 02:53 PM   #8
FXRS
Member
 
Registered: Jun 2003
Posts: 144

Rep: Reputation: 15
You need to go into your /boot/grub/grub.conf and change your "root=LABEL=/" to "root=(where your / is).
You can find out where your / is by doing a "fdisk -l".

Here is what mine looks like.

title Fedora Core (2.6.7)
root (hd0,0)
kernel /vmlinuz-2.6.7 ro root=/dev/hda3 rhgb quiet
initrd /initrd-2.6.7.img

FX
 
Old 07-23-2004, 03:11 PM   #9
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Hi, Im having the same problem, has anyone found a solution?
 
Old 08-10-2004, 09:03 PM   #10
six6
Member
 
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Rep: Reputation: 16
Are you guys remembering to "/sbin/mkinitrd /boot/initrd-2.6.7.img 2.6.7"?

Secondly, make sure you're doing stuff in the right order, etc. Here is a good guide for that.

Finally (and most likely), those of you not being able to boot have deselected some important option in the configuration for your kernel. Do like garretwp and start with the default fedora configurations (found in "/usr/src/linux-kernel-version/configs/"). Copy one of these to your new kernel source directory as .config, then when you go through the configuration the first time, only change a few things that you're *sure* about. If it works, go through a second compile and select less. And so on. Good luck.
 
Old 08-13-2004, 05:18 AM   #11
blimbo
LQ Newbie
 
Registered: Jul 2003
Location: London
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
I just made the jump to 2.6.7 without any hitches.

I did a few other things in addition to what was listed above, e.g. making a few symoblic links and running mkinitrd.

I followed this guide:

http://www.geocities.com/rlcomp_1999/kernel.html
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 06:05 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 07:49 AM
Kernel Compile Boot Loader? boot disk? SPMcRuube Linux - Newbie 3 12-03-2002 07:02 PM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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