LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-24-2004, 06:33 PM   #16
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65

There seems to also be some continuing confusion on the initrd business. The Slackware 2.6.7 kernel that came with 10.0 has no filesystems compiled in other than ext2. So I assume the elegin was following Pat's instructions which were IF you had another filesystem then you had to mkinitrd and add the line to lilo. So if that is what he did, he absolutely has to have the line in lilo. The kernel can not boot without it.
 
Old 08-24-2004, 06:48 PM   #17
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by ringwraith
Try commenting out or removing the change-rules and reset lines. You are telling lilo that you want the defaults removed that you are going to make your own rules, but then you don't make any.
i bet that's it. i was thinking about taking that line out when i pasted his lilo.conf from above, but seeing the "dangerous" there made me scared to.

regarding initrd: i installed slack 10 using reiserfs and the default kernel, and booted lilo without having/needing initrd. are you saying running mkintrd itself creates the need for initrd? i guess i don't get the initrd thing (which is probably why i don't use it ).
 
Old 08-24-2004, 07:01 PM   #18
elegin
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I removed change-rule and reset and I still get the same error.

If I uninstall lilo i might as well install grub. I only want to do that as the last option.
 
Old 08-24-2004, 08:31 PM   #19
aeNeo
Member
 
Registered: Jul 2004
Distribution: Slackware 10.0
Posts: 57

Rep: Reputation: 15
elegin, run "fdisk -l" as root, and give us the output, please.
 
Old 08-24-2004, 09:26 PM   #20
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
synaptical, if you are booting the 2.6.7 kernel that comes in testing on disc 3, then you should have to use an initrd to boot.
ftp://ftp.slackware.at/slackware-10..../README.initrd
 
Old 08-24-2004, 09:36 PM   #21
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Think I finally figured it out. This was in your after section cited:

vmlinuz -> System.map-ide-2.4.26

Don't look like a bootable kernel to me. You need to change that symlink to point vmlinuz to the kernel you want to boot.
 
Old 08-24-2004, 10:40 PM   #22
elegin
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I can't boot to the new kernel becuase I can't make changes to Lilo.conf without lilo give me the error.



fdisk -l

Disk /dev/hda: 30.7 GB, 30750031872 bytes
255 heads, 63 sectors/track, 3738 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3484 27985198+ 83 Linux
/dev/hda2 3485 3738 2040255 82 Linux swap
 
Old 08-24-2004, 10:44 PM   #23
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
elegin- did you check the symlink that I listed above. In your original post you show that as the after link in /boot. That would be incorrect you need to delete that link and create a new one point vmlinuz to the 2.4.26 kernel.
 
Old 08-25-2004, 10:48 AM   #24
elegin
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
SOVLED

ringwraith

You were right. I had created wrong symlink.
I am glad that is solved.
Now when someone googles that error they should see this thread and look at their symlinks.

Thank you ringwraith.
 
Old 08-25-2004, 12:15 PM   #25
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by ringwraith
synaptical, if you are booting the 2.6.7 kernel that comes in testing on disc 3, then you should have to use an initrd to boot.
ftp://ftp.slackware.at/slackware-10..../README.initrd
my mistake -- i compiled 2.6.7 myself come to think of it, so that must be the reason. i just installed it on roommate's machine to test and haven't messed around with it much. thanks for the info -- now i'll know never to use the slack 10 2.6.7 kernel to avoid all the initrd nastiness.
 
Old 09-10-2007, 12:14 AM   #26
just_for_fun
LQ Newbie
 
Registered: Feb 2007
Location: vienna
Distribution: Debian etch,Debian sarge
Posts: 17

Rep: Reputation: 0
Hi elegin!
I had the same problem and solved it by taking the bzImage instead of the vmlinux.bin for my image.It seems that the alert:
Fatal:setup length exceeds 31 maximum....
refers to the image size.

Good Luck,
jff
 
  


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
Slackware 10.2 lilo error ding Slackware 15 09-30-2005 09:56 PM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
LILO LinuxEBDA error to /usr/bin/gdm error true_atlantis Slackware 0 04-28-2004 01:31 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
Lilo Error?? (slackware) JohnG27 Linux - Software 3 09-18-2001 12:57 AM

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

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