LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   linux single user mode and lilo installed failed (https://www.linuxquestions.org/questions/slackware-14/linux-single-user-mode-and-lilo-installed-failed-120452/)

ckamheng 11-27-2003 09:34 AM

linux single user mode and lilo installed failed
 
i just installed Slackware linux 9.1.
My lilo was failed to install.
i installed the boot loader into the superblock of my linux partition which is /dev/hda3.
i have created a boot disk to boot into my linux partition.
when i try to enter single user mode at boot time by typing "linux single",
it prompted "boot image was not found"
Does anyone have any idea how to fix my problem?

I try to run liloconfig with auto mode to reinstall the lilo but it failed again.
Then i tried the expert mode. After i have gone through all the setting,
i press Enter to install the lilo but a dialog show up to prompt that lilo was installing.
But this dialog box won't disappear and i stilll can type my other command at the command
prompt.
At last i give up.

Can anyone tell me how can i login as single user while booting in?
i was told that i failed to enter single user mode because my lilo was failed.
Does it true?
So how can i install my lilo back and enter the single user mode?
Please: i always forget my root password!

Thanks for help.

Tinkster 11-27-2003 01:06 PM

If you're trying to recover your system,
try the following steps.

Code:

1. boot from your slackware CD
2. when it prompts you for the kernel, do
  bare.i root=/dev/<your root partition id> noinitrd ro
  where            ^----------------------^ this will be
  something like hda1
3. once booted, remount root (/) red-writable
  mount -o remount,rw /
4. change your root password
5. while there try to run lilo manually, and
  tell us the error message? :)


Cheers,
Tink


All times are GMT -5. The time now is 07:36 AM.