Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-25-2003, 08:43 PM   #1
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Rep: Reputation: 15
Unhappy trouble shutting down

ok, when i boot up to mandrake 9.1, it comes to a login screen. because i haven't made a new user account, i login as root. after a minute or so it goes to a gui login screen where i have to login as root again. after that it takes me to a colored screen, red i think, and from there i can access a menu by left-clicking with my mouse. in this menu there is no option for how to shut down, or how to get a command prompt. how can i either shut down or get a command prompt?

i do a hard restart by pressing the restart button on my tower, and when i reboot into linux, i get this message after typing "y" to check the integrity of my hard drive or sumthin like that. i get this message:

/dev/hda5: Inode 178912, i_blocks is 664, should be 8, FIXED

and there are a bunch more of these. what does this mean, how do i fix it, and would the problem go away if i shut down my computer properly? please help, i'm a noobie and i dont really know what i'm doing.

thanks in advance,

Old 12-25-2003, 09:28 PM   #2
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
what you did was you had corrupted your file system.
You might get it work after reboot several times. but the best thing to do was use your mandrake cd 1 in rescue mode to recover your corrupted file using "fsck".
you could just do a "man fsck" first before you use your rescue disc or just go to and read the man file about how "fsck" works.
The easiest way for a newbie was to reinstall, what you should do next time. If this happens, was press ctrl-alt-F1 to login as text mode and shutdown your system cleanly!
Old 12-25-2003, 09:46 PM   #3
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
also, please...if for no other reason, do it for me...I'm your friend...really I am...I want what's best for time you log in as root, type "adduser".

You say you get a menu.
There may be a menu item called "run"...this will allow you to enter commands such as "init 0" or "shutdown -h now"

tricky: If she's already in X, would ctrl-alt-f1 do anything?
Old 12-25-2003, 10:30 PM   #4
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
control+alt+f1 will usually give you some logging stuff for x, but not a login.

control+alt+f2 will give you a fresh login. control+alt+f7 will give back the x session. CAf3-CAf6 will also give you login cli's.

Edit: Also, im pretty sure that if you do go to log out, at least as root, one of your options will be to shut down. Either that, or there should be a shutdown option on the login screen after you log out. I havent used mandrake since 8.0.... but I doubt they would have removed thoes features.

Last edited by Kahless; 12-25-2003 at 10:39 PM.
Old 12-25-2003, 11:01 PM   #5
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
okay, in mandrake, the reason it is giving you a hard time logged in as root with the gui is because it is **bad** don't login as root with gui because you have the potential to to permanently damage your system

mandrake is discouraging your logging in as root, ticking you off on purpose, so it is not your fault and its not something wrong with your computer

what you should do, is go into a command prompt (ctrl alt f6 is always available), login as root, and then type adduser

just follow the instructions and all will be set

like said before, ctrl alt f7 will get you back into X
Old 12-26-2003, 11:20 AM   #6
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, i hadn't known about the ctrl+alt+F6 and F7 thing, that helps, thx. as for adding a user, that's where i'm having trouble. this is what happened, i logged in as root, and added a user, eeee. when i tried to delete the password for eeee because i didnt know what the password was, it didn't work. this is what was on the screen:

[root@localhost root]#passwd -d eeee
Removing password for user eeee
Segmentation fault (core dumped)

what does this mean, and was i doing something wrong? thanks, E
Old 02-19-2004, 03:17 PM   #7
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
as root, do

passwd eeee

it will prompt you to change the password... then you can put in whatever you want.

Hopefully that will work

Last edited by Kahless; 02-19-2004 at 03:19 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shutting down x? Shady195 Linux - Newbie 2 10-16-2005 08:14 PM
trouble shutting down rh9 linus johann Linux - Newbie 8 04-25-2005 10:22 AM
Shutting Down X Aljaber Slackware 8 11-09-2003 01:00 AM
Shutting Down....Help unwrittenlaw Linux - Newbie 4 09-26-2003 07:22 PM
Shutting down odin123 Linux - Hardware 1 09-27-2002 06:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration