aze Posted December 19, 2002 Report Share Posted December 19, 2002 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! Quote Link to comment Share on other sites More sharing options...
aru Posted December 19, 2002 Report Share Posted December 19, 2002 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) Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted December 19, 2002 Report Share Posted December 19, 2002 also try lilo -v for more verbose information. Out of curiousity, why do xosl and then do lilo? Quote Link to comment Share on other sites More sharing options...
aze Posted December 20, 2002 Author Report Share Posted December 20, 2002 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! Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted December 20, 2002 Report Share Posted December 20, 2002 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! Quote Link to comment Share on other sites More sharing options...
aze Posted December 20, 2002 Author Report Share Posted December 20, 2002 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 Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted December 20, 2002 Report Share Posted December 20, 2002 oh, so aru's post is what you want. what i meant in my post was adding init=3 in the append line in your lilo.cof so that it goes into run level 3 (which means you get a text login prompt after booting insted of a window manager which is runlevel 5). ciao! Quote Link to comment Share on other sites More sharing options...
aru Posted December 20, 2002 Report Share Posted December 20, 2002 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 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 Quote Link to comment Share on other sites More sharing options...
Guest mandrake123 Posted December 20, 2002 Report Share Posted December 20, 2002 I thought you could that in the mandrake control center under "Boot" Quote Link to comment Share on other sites More sharing options...
aze Posted December 21, 2002 Author Report Share Posted December 21, 2002 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/hda9map=/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! Quote Link to comment Share on other sites More sharing options...
aru Posted December 21, 2002 Report Share Posted December 21, 2002 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 :? Quote Link to comment Share on other sites More sharing options...
aze Posted December 21, 2002 Author Report Share Posted December 21, 2002 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! Quote Link to comment Share on other sites More sharing options...
aru Posted December 21, 2002 Report Share Posted December 21, 2002 I'm not good in english either :wink: Ok, then do what I told you about the "boot=" parameter. That should make lilo your boot loader. Then, any changes you make (as those I suggest in my former post) should work. Quote Link to comment Share on other sites More sharing options...
aze Posted December 22, 2002 Author Report Share Posted December 22, 2002 I just edited /etc/lilo.conf and set boot=/dev/hda but nothing changed. init=3 should go to the append= section of a given image I don't undertood this. :( Lilo still in graphical mode. Someone could help me please!? Quote Link to comment Share on other sites More sharing options...
aru Posted December 22, 2002 Report Share Posted December 22, 2002 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.