LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-01-2005, 10:58 AM   #1
Gyope
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Rep: Reputation: 0
Can't log in the second time


I installed Linux Slackware 10.1, and the first time it booted nice, no problems i loged on as root installed the sound drivers, got into kde with startx, then i loged out, and when i tried to boot another time in linux i got something like:
"You have some filesystem with errors. Force check" or something and i waited to check... then it prints something like:
"Press control+d to restart or enter the password", if i enter the password i have no acces with user root. I installed it twice. Do you know why is this happening? I'm a noob... this is my first linux ever.
I will really apreciate if you answer.
Bye.
 
Old 06-02-2005, 04:31 AM   #2
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
That means you have screwed-up your hard disk (don't be afraid, though, there is a way out.)

Enter the root password 'for maintenance' when asked.

Then use cfdisk to check your root partition.
See
Code:
cfdisk --help
and
Code:
man cfdisk
for more info.
 
Old 06-02-2005, 04:54 AM   #3
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
OOPS! I meant fsck (file system check) instead of cfdisk there. Sorry!
 
Old 06-02-2005, 11:58 AM   #4
Gyope
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Ok i'm a total noob so i would greatly apreciate if you could tell me what to do...
I mean after i type those commands what other commands do i have to type?
Why did i screwed up my hard disk?
I really apreciate your answers.
 
Old 06-02-2005, 03:22 PM   #5
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
When it asks for password, type it. Then type :

e2fsck -v -y /dev/hda1

replace /dev/hda1 with the name of your root partition.

After the command returns, type reboot, the next time everything should be OK. (NOTE: this works if you have ext2 or ext3 fs only)
 
Old 06-03-2005, 02:33 AM   #6
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
Well, it is not so hard to screw up a hard disk.
A power failure, the accidental hit of the RESET button etc. can lead to a corrupted sector on the hdd.
I once got into the same mess while trying to install a initrd kernel image on my good 'ol Woody.
 
Old 06-04-2005, 02:02 AM   #7
Gyope
LQ Newbie
 
Registered: Jun 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot. The 3rd time i installed slackware i chosed ext 3 and everything seems to be in working order. I will keep that in mind.. what you have written.
Many thanks.
Bye.
 
Old 06-04-2005, 04:41 AM   #8
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
EXT3 is better, but it isn't fail-safe, just like any other FS. It's just able to correct itself by itself , and is easier to mantain.
EXT3 = Future!
 
Old 06-05-2005, 05:24 AM   #9
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
While ext3 is better the same thing can happen with it. The solution is the same as above. Every 20 mounts (or so) the partition will be checked for errors (this number can be changed with tune2fs) and often something like this happens.
 
Old 06-21-2005, 06:18 AM   #10
exit3219
Member
 
Registered: May 2005
Location: Moldova
Distribution: Kubuntu
Posts: 199

Rep: Reputation: 30
EXT3 gets scanned much faster than EXT2, as it has a journal.
 
  


Reply



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
Can't log into SAMBA at first time xstefanox Linux - Networking 2 01-16-2006 04:41 AM
how to log into gnome twice at same time? PhenuxRizing Linux - General 6 09-12-2004 04:29 PM
how to get the time in the log ? cccc Programming 0 02-25-2004 05:58 PM
Time Of Deletion Log? XAGXAGUL Linux - General 3 07-12-2003 10:24 AM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

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

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