LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2005, 08:40 PM   #1
KerFork
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 0
Kernel will not boot


New to Linux, recently started using Red Hat; then I tried to do something I shouldn't have, and screwed the OS beyong repair. For various reasons, I decided to install Slackware instead of starting over with Red Hat (I know, dumb idea, newbies shouldn't try Slack...). By the way, I am currently connected on a Windows machine.
Every time I start the system without my LILO disk, or the installation CD, in the computer, the kernel gets as far as displaying the letters 'LI', and then it stops. I've tried everything-- read-only is in the lilo.config file, and the root filesystem is set as /dev/hda1. If anyone's ever experienced anything like this and could help out a simple newbie, thanks.
 
Old 05-13-2005, 09:01 PM   #2
Jaxn
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
This isn't a problem with the kernel. It's a problem with LILO.
It isn't installed/configured properly on your machine.

Not enough information to tell what it could be or give you a possible solution.
How does your /etc/lilo.conf look like?
How do you partition and use your disk(s)?
 
Old 05-15-2005, 09:09 AM   #3
KerFork
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
My hard disk is divided only into my Linux native partition and my 128MB swap partition (it's not an incredibly spacious drive).

Here it is, the /etc/lilo.conf file, save some of the comments:

#start LILO global section
boot = /dev/hda1
#compact
#delay = 5
vga = normal
#all commented out...
#End LILO global section
#Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda1
label = Linux
read-only
#Linux bootable partition config ends
 
Old 05-15-2005, 04:32 PM   #4
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
You can boot properly with the floppy? Then you should be able to do that, copy the lilo.conf from the floppy to /etc/lilo.conf, and then run /sbin/lilo to install to the MBR on /dev/hda. Do `lilo --help` or man lilo` for the exact syntax (I'm not on a Linux box just now).
 
Old 05-15-2005, 08:10 PM   #5
Jaxn
Member
 
Registered: Apr 2005
Location: Sweden
Distribution: Debian
Posts: 142

Rep: Reputation: 15
Hmmm, Shouldn't you tell that you should install lilo in /dev/hda?
And have you tried run /sbin/lilo (or is it /usr/sbin/lilo) as root?
 
Old 05-16-2005, 02:54 PM   #6
KerFork
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, I (think I) reinstalled lilo in /dev/hda. For posterity (i.e., those who might have similar problems in the future):

Opened /etc/lilo.conf and changed line:

boot=/dev/hda1

to:

boot=/dev/hda

and ran the

lilo

command.
Now if only I could get X working...

Last edited by KerFork; 05-16-2005 at 02:57 PM.
 
Old 05-17-2005, 02:48 AM   #7
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
As far as getting X up...I don't know what your problem is exactly...but if you can login, do that, and then type startx. This should bring up your default desktop environment if it installed without errors from the installation CD. If you would like to curcumvent this step in the future, you can edit your /etc/inittab file, changing the default runlevel from 3 to 4, given that you have configured your session manager.
 
Old 05-21-2005, 12:18 PM   #8
KerFork
LQ Newbie
 
Registered: May 2005
Posts: 6

Original Poster
Rep: Reputation: 0
It's all right, I got X working fine. Thanks anyway.
 
  


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


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