LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-28-2004, 12:36 PM   #1
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
LILO not Booting new KERNEL


I have Lilo on slack 9.1. Its installed on the Root (hda5). & i use the the NT Loader to load the LILO Prompt.

I have compiled my kernel 2.6 & made an entry in the LILO.conf. Then I ran Lilo once & it gave me a msg
# added Linux *
DOS
new2.6

"new2.6 was the newer entry
Though it gave me the msg i still cant see any changes made to the LILO prompt in actuall.

No matter wot i do in my lilo.conf the Changes Dont Reflect on the LILO prompt.

Tell me what possibly can be Wrong

Thx
 
Old 04-28-2004, 12:41 PM   #2
JimmyJ
LQ Newbie
 
Registered: Jun 2003
Location: Maine
Distribution: Slackware 10
Posts: 24

Rep: Reputation: 15
Can you post your lilo.conf and the output of "ls -al /boot/" ? Did you have this problem with the 2.4.22 kernel? Have you been able to successfully boot both partitions in the past?
 
Old 04-28-2004, 12:43 PM   #3
mako747
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 92

Rep: Reputation: 15
Without seeing the config it appears that you have added the new kernel and also left the old one in there.
 
Old 04-28-2004, 12:52 PM   #4
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda5
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal

#other = /dev/hda1
# label = DOS
#table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins

image = /boot/vmlinuz-acpi-2.4.22
root = /dev/hda5
label = Linux
read-only

image = /boot/2.6kern
root = /dev/hda5
label = neKernel
read-only


# Linux bootable partition config ends
--------------------------------------------------------------
U can see the "DOS" Portion Commented out on it. but to my Surprise it is Still Visible on the Prompt
when i run Lilo it Gives me

root@scavan1:~# lilo
Added Linux *
Added neKernel
---------------------------------
yeah i added the new Kernel & also left the Older one as an Option to LOAD if the New One Fails with a PAnic. nothing new in that====
 
Old 04-28-2004, 12:54 PM   #5
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
the Point is no matter i do to my LILO.conf -- when i Run Lilo the Msg says Added but it never gets Reflected to the Original Boot Record of LILO
 
Old 04-28-2004, 01:17 PM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
The lilo.conf that you listed, what is the full path for it? I wonder if you have 2 of them in different spots or varied names.

I just noticed you referring to LILO.conf. Lilo reads /etc/lilo.conf not /etc/LILO.conf.

Last edited by ringwraith; 04-28-2004 at 01:18 PM.
 
Old 04-28-2004, 01:21 PM   #7
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
lol -- i dont Disagree to ur assumption .. it Can be Possible.. this is the /etc/lilo.conf
 
Old 04-28-2004, 01:29 PM   #8
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Could the windows boot loader be loading a partition other than /dev/hda5. Do you have any other linux distros? I never have used the windows boot loader so can not help with that.
 
Old 04-28-2004, 01:36 PM   #9
JimmyJ
LQ Newbie
 
Registered: Jun 2003
Location: Maine
Distribution: Slackware 10
Posts: 24

Rep: Reputation: 15
And I know it may be nitpicking, but you *are* running /sbin/lilo and not just lilo, right? Not sure if it matters ... I've always used /sbin/lilo and not had any problems .... just my $.02
 
Old 04-28-2004, 01:51 PM   #10
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
lilo & /sbin/lilo is just exactly the smae. Still i have tried both-- just checked that there is no Place on My Slack where there is a lilo.conf other than the ONE /etc/lilo.conf
 
Old 04-28-2004, 01:56 PM   #11
JimmyJ
LQ Newbie
 
Registered: Jun 2003
Location: Maine
Distribution: Slackware 10
Posts: 24

Rep: Reputation: 15
Can I see the soft links in /boot? Just gimme a "ls -al /boot/" and I'll be happy.
 
Old 04-28-2004, 01:58 PM   #12
moronikos
LQ Newbie
 
Registered: May 2002
Location: Tulsa, Oklahoma, USA
Distribution: SUSE, ubuntu
Posts: 21

Rep: Reputation: 15
After running lilo did you make a 512 byte file and copy it to your windows partition and make sure the NT boot.ini file is pointing to the right file?

e.g.

# to copy file
dd if=/dev/hda5 of=/root/boot.lnx bs=512 count=1

#copy file to floppy
mcopy /root/boot.lnx a:

# then do the windows stuff


I've had better luck setting lilo.conf to boot from floppy, then copying the first 512 bytes from /dev/fd0, but it ought to work either way.
 
Old 04-28-2004, 02:41 PM   #13
mehargags
Member
 
Registered: Jul 2002
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
u Caught me there RIGHT my Freind -- the thing just dint Strike into my mind..
yeah i have to Rip the 512 bytes of the Boot sector again-- everytime i update LILO since im not using thge LILO image to boot & not the Actual lilo

Thx alot for Closing this Thread
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! severe booting/kernel problems!! lilo sucks!! darksmiley Linux - General 17 07-03-2004 10:27 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
booting using good kernel if its not installed with lilo h_lina_k Linux - Newbie 2 02-16-2004 05:26 PM
LILO: LILO lost upon booting. Nevchift Mandriva 3 09-16-2003 07:21 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM

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

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