Troubles after bad linux shutdown

Discussion regarding the installation and configuration of Linux distributions.
sakbar
Naik
Posts: 88
Joined: Wed Aug 07, 2002 8:00 pm
Location: Lahore
Contact:

Troubles after bad linux shutdown

Postby sakbar » Sat Aug 30, 2003 2:45 am

i shutdown my linux box from gnome .. but due to no response .. switched using ctrl+alt+f1 & used shutdown -n now

anyway after killing some process i got bash prompt again & my machine hanged & had to switch powr off.

Now i have problem when i shift to text mode , when i log as root i get message that system shutting down on date/time above incident happend & i get my prompt.

But when i access my box using non root users it shows the same message & doesn't allow me to login. Any idea to kill this problem ?

TIA
SHAKEEL

Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe
Contact:

Postby Faraz.Fazil » Sat Aug 30, 2003 6:18 am

Ok do this:

Start linux in single user mode.

To do that in lilo type linux 1 (or what ever parameters you have on your box)

To do that thru grub add the -s paramater after the kernel line

Once you start as single mode, type passwd

It will ask you for a new root password.
Enter a new root password and note it down.

It will update the password and will say "All tokens updated successfully"

Then run the fsck tool to fix any fs errors.

Reboot and login with root , with the new password.


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 1 guest