Jump to content

LILO config


aze
 Share

Recommended Posts

Hi all! I'm trying to set lilo to non-graphical boot (text only)

But it isn't installed at MBR because I'm using another boot loader (www.xosl.org).

So lilo is installed at hda9. The problem is when I apply the cfg.:

# drakconf

EMBED

parent XID	27263420

mcc pid	2815

EMBED

XID : 27263419

CCPID :  2815

no bootloader on MBR, trying partitions!

Added linux *

Added linux-nonfb

Added failsafe

Added windows

Added floppy

then it don't proceed. I waited for 5 minutes but it don't finished configuring lilo.

Where the lilo config file and what changes should I do to make it not GUI boot?

thank you!

Link to comment
Share on other sites

never tried,

but check in /boot for a directory called 'boot-text':

 ls -d /boot/*/

/boot/grub//  /boot/lilo-graphic//  /boot/lilo-text//

/boot/lilo//  /boot/lilo-menu//

 

in that directory must be a file named boot.b, which I imagine that is the one that should go on the 'install=' option

 

I suggest you to try on your /etc/lilo.conf:

 

install=/boot/boot-text/boot.b

message=/boot/boot-text/message

 

save the changes and run /sbin/lilo

 

(from a close question at club-nihil)

Link to comment
Share on other sites

aru: I tried what you said but don't worked :(

 

cannonfodder: Thinking better xosl is unnecessary. I'd like to make lilo the mbr bootloader (replace xosl). Ho do I do that? But before doing this I need know how to solve the problem I describe before. Every change I make using mdk control center it don't aplly my settings.

 

Thank you!

Link to comment
Share on other sites

xosl is the multiple bootloader isnt it? i remember reading a link to a story wherein one guy installed around 30+ operating systems in one pc using that. the number is from the top of my head but the link was to a tech news site.

 

you could try passing init=3 to the append option of the lilo stanza. :)

 

but what do you exactly mean by a text-only boot? aru said something thats new to me so im curious. :grin:

 

ciao!

Link to comment
Share on other sites

you could try passing init=3 to the append option of the lilo stanza.

I understood nothing

 

but what do you exactly mean by a text-only boot? aru said something thats new to me so im curious.

I mean I want no graphical LILO just text - no gui boot

Link to comment
Share on other sites

but what do you exactly mean by a text-only boot? aru said something thats new to me so im curious. :grin:

ciao!

 

Hi ramfree, first answer in this board :twisted:

 

AFAIK lilo can do three types of interactive boot (of course there is one non-interactive).

- Text boot (similar to what you'll see if you press ESC at the LILO graphical screen)

- Menu boot ( which is a *prety* text menu )

- Graphical boot, which is what mandrake runs by default

Link to comment
Share on other sites

HI!

I added the line "init=3" at /etc/lilo.conf but nothing changed.

By the way how do I set lilo to mbr (currently lilo is at hda9)?

 

/etc/lilo.conf

boot=/dev/hda9

map=/boot/map

vga=normal

init=3

default=linux

keytable=/boot/us-latin1.klt

nowarn

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label=linux

root=/dev/hda9

initrd=/boot/initrd.img

append="quiet devfs=mount hdd=ide-scsi"

vga=788

read-only

image=/boot/vmlinuz

label=linux-nonfb

root=/dev/hda9

initrd=/boot/initrd.img

append="devfs=mount hdd=ide-scsi"

read-only

image=/boot/vmlinuz

label=failsafe

root=/dev/hda9

initrd=/boot/initrd.img

append="failsafe devfs=nomount hdd=ide-scsi"

read-only

other=/dev/hda1

label=windows

table=/dev/hda

other=/dev/fd0

label=floppy

unsafe

 

I thought you could that in the mandrake control center under "Boot"

That was my first try but it don't write the configurations. It take a long time and not end the operation.

 

Thanks for helping guys!

Link to comment
Share on other sites

IMHO "boot=" should point to /dev/hda (where is the MBR) and /dev/hda9 is for the "root=" parameter, where is the linux partiton. Also, IMHO, init=3 should go to the append= section of a given image. But pointing lilo to the MBR means that you'll overwrite your current boot loader

 

I don't understand what do you mean with non GUI, Are you talking about lilo stuff? or are you talking about login in text mode instead of XDM (gdm, kdm...). If the last is true, the only thing you'll need to do is to edit your /etc/inittab and replace:

id:5:initdefault:

with

id:3:initdefault:

 

I'm a bit confused about what you are trying to do :?

Link to comment
Share on other sites

Sorry by the inconvenience.

I'm Brazilian and I don't speak english so well. Maybe I couldn't explain myself.

The point is I have XOSL as multiOS bootloader (xosl call for lilo to boot mdk9). So I changed my mind and I want to lilo became the booloader but I don't know how to do this.

The other problem is I don't want lilo in graphical mode when just boot. yes I want graphical dektops/login but not graphical boot loading. Thats it!

Link to comment
Share on other sites

OK, this is how your /etc/lilo.conf should be:

boot=/dev/hda

compact # faster, but won't work on all systems, so if unsure, remove it.

map=/boot/map

vga=normal

default=linux

keytable=/boot/us-latin1.klt

install=/boot/boot-text/boot.b  # CHECK THAT THIS FILE EXISTS

message=/boot/boot-text/message # CHECK THAT THIS FILE EXISTS

prompt   # For the text prompt 

timeout = 100 # Time before starting the default image (10 seconds)

image=/boot/vmlinuz  # See that I have removed the vga=???

label=linux

root=/dev/hda9

initrd=/boot/initrd.img

append="quiet devfs=mount hdd=ide-scsi"

read-only

image=/boot/vmlinuz

label=failsafe

root=/dev/hda9

initrd=/boot/initrd.img

append="failsafe devfs=nomount hdd=ide-scsi"

read-only

other=/dev/hda1

label=windows

table=/dev/hda

other=/dev/fd0

label=floppy

unsafe

 

Now run

/sbin/lilo -vt

And if NO error is reported run:

 

/sbin/lilo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...