View previous topic :: View next topic |
Author |
Message |
scap1784 Apprentice
Joined: 25 Dec 2002 Posts: 225
|
Posted: Sun Jul 04, 2004 4:13 am Post subject: Lilo: Setup length exceeds 31 maximum; ... |
|
|
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 |
|
|
uppe n00b
Joined: 04 Jul 2004 Posts: 18 Location: Sweden
|
Posted: Sun Jul 04, 2004 4:40 am Post subject: |
|
|
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..
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 |
|
|
scap1784 Apprentice
Joined: 25 Dec 2002 Posts: 225
|
Posted: Sun Jul 04, 2004 4:52 am Post subject: |
|
|
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 |
|
|
scap1784 Apprentice
Joined: 25 Dec 2002 Posts: 225
|
Posted: Sun Jul 04, 2004 5:58 pm Post subject: |
|
|
I tried grub once more and all I get is a nice blank black screen... |
|
Back to top |
|
|
|