Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo: Setup length exceeds 31 maximum; ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
scap1784
Apprentice
Apprentice


Joined: 25 Dec 2002
Posts: 225

PostPosted: Sun Jul 04, 2004 4:13 am    Post subject: Lilo: Setup length exceeds 31 maximum; ... Reply with quote

Well I am trying to get a new kernel going and I can't figure out this error...

Do this mean my kernel is too big ??!??
Code:

omni linux # lilo
Warning: The boot sector and map file are on different disks.
Added Gentoo
Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader


If not here is my /etc/lilo.conf

Code:

#
# Start LILO global section
#


lba32

boot = /dev/hde
map = /boot/System.map-2.6.7-ck1


install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
                              # do not need boot-{text,menu,bmp}.b in
                              # /boot, as they are linked into the lilo
                              # binary.

menu-scheme=Wb
prompt
timeout=150
delay = 50
vga = 791
default = 2.6.7

#
# End LILO global section
#

#
# Linux bootable partition config begins
#
image = /boot/kernel-2.6.7-ck1
        root = /dev/hdh3
        #root = /devices/discs/disc0/part3
        label = Gentoo
        read-only # read-only for checking
#
# Linux bootable partition config ends
#

image = /boot/kernel-2.6.7-ck2
        root = /dev/hdh3
        label = 2.6.7
        read-only
Back to top
View user's profile Send private message
uppe
n00b
n00b


Joined: 04 Jul 2004
Posts: 18
Location: Sweden

PostPosted: Sun Jul 04, 2004 4:40 am    Post subject: Reply with quote

I never was personally fond of lilo. grub is alot more simple to use, and it has never failed me.

If you MUST use lilo for some particular reason, go on doing it. Otherwise..
Code:
emerge -av grub


after that, you set up grub in a few simple steps.
Code:
grub
root (hd4,0)          (assuming boot is hde1, otherwise change this)
setup (hd4)           (Install GRUB in the MBR of hde)
quit                  (Exit the GRUB shell)

mount /dev/hde1 /boot
nano -w /boot/grub/grub.conf

this is how your grub.conf should be looking like:

Code:
default 1
timeout 150
splashimage=(hd4,0)/grub/splash.xpm.gz       (comment this one out if you don't like it)
title=Gentoo
root(hd4,0)
kernel /kernel-2.6.7-ck1 root=/dev/hdh3 vga=791

title=2.6.7
root(hd4,0)
kernel /kernel-2.6.7-ck2 root=/dev/hdh3 vga=791


done!
reboot and see if this works :)

also, if i've misread your lilo.conf, do not use the .conf i wrote for you. edit it for yourself! instructions can be found in the gentoo installation handbook under "Installing the bootloader".

- Uppe
Back to top
View user's profile Send private message
scap1784
Apprentice
Apprentice


Joined: 25 Dec 2002
Posts: 225

PostPosted: Sun Jul 04, 2004 4:52 am    Post subject: Reply with quote

I have tried grub and have never gotten it to work with my raid controller... Prolly was just me but I have a abit kt-7 raid so if anyone has it working on that let me know.

- scap
Back to top
View user's profile Send private message
scap1784
Apprentice
Apprentice


Joined: 25 Dec 2002
Posts: 225

PostPosted: Sun Jul 04, 2004 5:58 pm    Post subject: Reply with quote

I tried grub once more and all I get is a nice blank black screen...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum