LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO quest... (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-quest-12638/)

da Perp 01-25-2002 04:20 AM

LILO quest...
 
how can i add a cdrom booting option to lilo?
i've tried
other=/dev/hdb and
other/dev/cdrom and
other /cdrom (that's my moint point)
each with a label CDROM.
after editing my lilo.conf i run lilo and i get a message
saying that lilo was unable to laod dev/cdrom with some mem adress specs. I dont have the exact errror message, because I post at this forum from work seeing as how I have no Internet @ home. But seeing as how advanced the members knowledge on this board is this shouldnt be a problem.

Second Problem:

How do I make LILO boot up graphically?
I now get ugly text mode menu, I want a nice graphical mode.
It said something about setting some kind of SVGA option in the kernel, but that was nowhere to be found.

Thanx in advance!

acid_kewpie 01-25-2002 04:24 AM

by the time lilo is reached, it is already booting on a hard disk. you boot from a cd by setting your bios to attempt to boot from cd first, before hard disk...

and you want the lio selection menu i presume? well paste your lilo.conf here.

da Perp 01-25-2002 04:29 AM

the whole idea is that i dont have to set the cdrom boot first option in the bios. I know it's possible to do in lilo, because if i have a kernel on another hdd, then it can boot that too...so as far as that goes...

And i feel really stupid but it's impossible for me to paste my lilo.conf here, because im @ work, on an MS NT box....

Aussie 01-25-2002 04:56 AM

Quote:

Originally posted by da Perp
the whole idea is that i dont have to set the cdrom boot first option in the bios. I know it's possible to do in lilo, because if i have a kernel on another hdd, then it can boot that too...so as far as that goes...
....not as far as I know....by the time you get to the boot loader the bios has already decided what device is going to be the boot device.
Quote:


And i feel really stupid but it's impossible for me to paste my lilo.conf here, because im @ work, on an MS NT box....

hahahahahaha...suffer...:p

da Perp 01-25-2002 08:14 AM

aussie, doo you know anything about the graphical login part? do I have to add a line to lilo.conf or something? I read somewhere that i have to specify some kind of svga boot option in the kernel, but seeing as i dont know how to set kernel bootparams....

and suffer i do indeed........that little dr. watson popup every 10 minutes gets to be quite annoying....

acid_kewpie 01-25-2002 08:43 AM

i presume it's just these two lines..

message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw

da Perp 01-25-2002 08:47 AM

aaah yes!!!! i have /boot/message
now, so all i need to add = -graphic.
thanx once again!!!!!!!

ugge 01-27-2002 06:20 AM

Quote:

Originally posted by da Perp
the whole idea is that i dont have to set the cdrom boot first option in the bios. I know it's possible to do in lilo, because if i have a kernel on another hdd, then it can boot that too...so as far as that goes...

And i feel really stupid but it's impossible for me to paste my lilo.conf here, because im @ work, on an MS NT box....

I haven't tried this but it should be possible.
LILO is a two part boot loader.
First let's explain how windows boot loader works, that is windows 2000 and NT.
On your your first hard disk is the master boot record(MBR), this contain the code to point out where to find the actual boot loader (ntloader).
Ntloader is located on one of your dos partitions and from there you load the system.

Lilo uses a somewhat different approach, it replaces the MBR with the first part of lilo, the part showing the menu.
When you choose a system to boot lilo gives the system a pointer where to find the system.
In the case when you choose to boot linux it points to your kernel image found in the /boot directory.

With all this said it would probably be possible to boot a cd-rom from within lilo if you have a valid kernel on your cd-rom.
I don't have clue of how this would be done though.


All times are GMT -5. The time now is 01:32 AM.