LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Lilo configure issues (http://www.linuxquestions.org/questions/linux-general-1/lilo-configure-issues-415506/)

madogfreeman 02-14-2006 08:41 PM

Lilo configure issues
 
i am running a system that has manrdiva 2006, winxp, and Extreme gaming (Debian)
when i boot i get the options
"linux"
"linux-nofb"
"windows"
"failsafe"
to allow the booting to my debian distro
i changed lilo config to this
Code:

look down for the right lilo.conf
but for some reason when i boot i still get the

"linux"
"linux-nofb" or somthing like that
"windows"
"failsafe"

options

what am i doing wrong

baldwonder 02-14-2006 08:53 PM

After you changed the lilo.conf file, did you run /sbin/lilo as root to activate the changes?

madogfreeman 02-14-2006 09:39 PM

ok i messed up here is the correct lilo.conf file
Code:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
image=/boot/vmlinuz
message=/boot/message
        label="linux"
        root=/dev/hdb6
        initrd=/boot/initrd.img
        append="resume=/dev/hdb1 splash=silent"
        vga=788
other=/dev/hdb3
        label="x-gaming"
        table=/dev/hdb3
other=/dev/hda1
        label="windows"
        table=/dev/hda

running lilo in knosole as root gives back this

{root@129 sbin}# lilo
Added linux
Warning: First sector of /dev/hdb3 doesn't have a valid boot signature
Fatal: Partition entry not found

i switched windows and x-gaming to see if the windows was failing but both the Warning and the Fatal come from x-gaming

thnx BTW

madogfreeman 02-14-2006 09:53 PM

mood: powerful
why: i fixed it my self
how:
(in mandriva)
well first i mounted the debian to /debian
then changed lilo.conf
Code:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz
        label="linux"
        root=/dev/hdb6
        initrd=/boot/initrd.img
        append="resume=/dev/hdb1 splash=silent"
        vga=788
image=/debian/boot/vmlinuz
        label="x-gaming"
        root=/dev/hdb3
        initrd=/debian/boot/initrd.img
        append="resume=/dev/hdb1 splash=silent"
        vga=788
other=/dev/hda1
        label="windows"
        table=/dev/hda

lines 19-24 are what i changed and did so on a simple hunch

i have not tested it yet but if it works i will right back

madogfreeman 02-14-2006 10:39 PM

yep i worked like a charm

if anyone wants a better how-to
just ask


All times are GMT -5. The time now is 05:06 PM.