LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo and recovery mode (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-and-recovery-mode-749655/)

kofucii 08-23-2009 08:13 AM

Lilo and recovery mode
 
Hello,
I have slackware with lilo boot loader. Is there a way to add a recovery mode to Lilo such as ubuntu's recovery mode? I mean the system starts, when it comes to runlevel one, waits 1 min for password if you wish to enter runlevel one, and if password is not provided loads to runlevel 3 or 4?

b0uncer 08-27-2009 11:44 AM

By "recovery mode" you probably mean single-user mode. Did you already try

Code:

linux single
or

Code:

linux init=/bin/sh
at the LILO boot prompt? Here 'linux' would be the entry you usually boot (depending on how you named it)..it's been long since I used LILO, but I recall you could just add the runlevel number after the normal boot entry to get it boot that runlevel (1 for single-user mode etc.) or pass other options to the kernel..

Why won't you use GRUB? It's less a headache to configure..


All times are GMT -5. The time now is 01:16 PM.