LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-25-2003, 09:10 PM   #1
lhoward
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Unhappy can't boot


hello
I am having problem booting my linux box
I just installed Slackware 9.1 and everything work great...as long as i use a kernel image from the slackware CD. but as soon as i compile my own kernel it won't boot.
I have looked everywhere on google and this site for anyone with an answer but no matter what i try, nothing works so i figured i would just ask.
when i turn on the computer i get this:

LILO 22.5.7.2 Loading Linux....................
BIOS data check successful

Then it doesnt do anything at all.

I have read many different solutions to this problem but none of them have worked, and it seems to only do this when i use my own kernel image. I think i am creating the kernel image the correct way by doing make xconfig first then i do make dep; make bzImage; make modules; make modules_install. i have also tried running make install after that but still no luck

has anyone out there somewhere had this problem and found a way to fix it? this is very frustrating

thank you for any help

--Leo Howard
 
Old 12-25-2003, 09:40 PM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Are you sure that you have lilo pointing to the right drive and parittion number for the root partition? And what solutions have you tried? Is this immediately after installing Slack; or did you recompile the kernel and then have this problem? Could you please be a little more specific........

-----------------------------------------
PS; If you ran 'make install', you will need to uncomment a line in one of the makefiles to point to the /boot directory (I forget which offhand), otherwise the new kernel image and System.map file will be placed in the root directory ( / ). You can place that kernel image and map file into the /boot directory yourself, though. I don't know if you'll need to run lilo again, but if you do, you'll have to chroot to the mounted partition (chroot <mount point> /bin/bash) and run lilo (or /sbin/lilo), after making sure that the lilo.conf file shows the correct root partition ( / ) and boot drive.

-----------------------------------------
PPS: I did have this problem once, a little while ago, but I forgot how I fixed it. I think it had to changing one of the framebuffer options when configuring the kernel and recompiling. And when recompiling, don't forget to run 'make clean'

Last edited by thegeekster; 12-25-2003 at 09:59 PM.
 
Old 12-25-2003, 09:58 PM   #3
lhoward
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
hello, thank you for your quick reply

i am only having this problem after i recompile the kernel
here is my /etc/lilo.conf file

####################
boot = /dev/hdc
message = /boot/boot_message.txt
vga = normal

image = /boot/vmlinuz
root = /dev/hdc1
label = Linux
read-only
####################

other solutions i have tried are running make install right after make modules_install,
i have tried append="noapic" in my lilo.conf
and i have tried configuring the kernel with very minimal settings

i am recompiling the kernel because i hope to use this computer as a router on my new home network i will be setting up soon and the default kernel does not have some options i need compiled into it.

i hope i have been a somewhat more specific,

thank you
--Leo Howard
 
Old 12-25-2003, 10:03 PM   #4
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Quote:
----------------------------------------
PPS: I did have this problem once, a little while ago, but I forgot how I fixed it. I think it had to changing one of the framebuffer options when configuring the kernel and recompiling. And when recompiling, don't forget to run 'make clean'
I added this to my reply above, but you already replied again.
 
Old 12-25-2003, 10:14 PM   #5
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Quote:
Originally posted by lhoward
... and the default kernel does not have some options i need compiled into it....
Sometimes certain options work better when buitlt in, other times they work better as modules. You might want to keep that in mind when configuring the kernel. The rule of thumb is make it a module if possible and keep the base kernel with minimal support.
 
Old 12-25-2003, 10:20 PM   #6
sharper
Member
 
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
Quote:
Originally posted by lhoward
hello, thank you for your quick reply

i am only having this problem after i recompile the kernel
here is my /etc/lilo.conf file

####################
boot = /dev/hdc
message = /boot/boot_message.txt
vga = normal

image = /boot/vmlinuz
root = /dev/hdc1
label = Linux
read-only
####################

In the first part of the lilo.conf, don't you need to specify a kernel image?

Also, if hdc is has several partitions (hdc1, hdc2, etc) I think you have to specify the partition like it is in the second part of the partition(hdc1).

Finally, is the image even going to show up on the lilo screen with no label?

I'm booting two kernels and my section of the lilo is
##############
image = /boot/vmlinz
root = /dev/hda2
label = Linux
read-only

image = /boot/vmlinuz.bak
root = /dev/hda2
label = Backup
read-only
#############
 
Old 12-25-2003, 10:41 PM   #7
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Other than the difference in the partition, his image section is identical to your first image section. And the global section looks okay, other than lilo is installed to hdc and not hda, but it still boots to the lilo startup screen.....
 
  


Reply



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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr SUSE / openSUSE 9 08-17-2005 12:57 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 05:29 AM

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

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