LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2004, 11:20 PM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
Problems with corrupt files/logging in


Here goes:

I'm running Slackware 9.1 and have compiled my own 2.6 kernel. However, for some reason, I've started getting a lot of errors on my hard drive (I think they're related to my kernel, but I'm not sure). The errors have messed up a lot of packages on my system - real basic ones like uname, whereis.... and they seem to be random ones.

So I loaded up knoppix and the slack cd and used that to copy over the un-corrupted files so I can boot up normally again. This has worked so far, except that when I try to login (I'm not booting into X) it does the following:

Enter username:

[pause 5 secs]

Enter username:

[pause 5 secs]

and so on. I never get to say what my password is, and so I can't log in. Is there a package that's still corrupt? If so, which one? I'm going to back up all my stuff and reinstall once I can log in, or else use Knoppix as the last resort to bakup with, but it would be nice if I could do without knoppix.

Thanks in advance.
 
Old 06-03-2004, 05:38 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
No one can help you if you don't post your errors, I did an error in the past which breaked glibc package so I hadn't able to open tty, I copied libc-xx.so from /lib in CD to /lib in HD and /sbin/agetty from CD to HD, it worked by luck.
 
Old 06-03-2004, 09:35 AM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Well right now my most prominent error is that I can't log in... can't do much if I can't log in. Therefore I was wondering if there is/are package(s) relating to the login.
 
Old 06-03-2004, 01:54 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The packages are :
util-linux
shadow

and if it will fail, install the package :
glibc
 
Old 06-04-2004, 05:10 PM   #5
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Thanks, I'll try those and see how it goes.
 
Old 06-07-2004, 09:09 PM   #6
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Didn't manage to get it working, so I backed up, reformatted etc. Thanks anyways.
 
Old 06-08-2004, 07:44 AM   #7
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Probably would be best not to try to make changes to a Slackware installation with Knoppix in the future. Sometimes it is okay for a config file like X but not actual apps. Knoppix is a debian clone not Slackware.
 
Old 06-08-2004, 11:58 AM   #8
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
Well slackware packages are just zipped files with directions for where to put em - so I boot up knoppix, load the slack cd, and copy in the missing, individual files from packages. i suppose being able to run pkgtool would be nice, but I couldn't do that. I originally tried booting from slack cd #2 but getting it to read the 2nd cdrom wasn't working.

If you have a better idea, I'm up for it!
 
Old 06-08-2004, 01:17 PM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by Atmchicago
i suppose being able to run pkgtool would be nice, but I couldn't do that.
Don't see why not... couldn't you boot Knoppix, mount the Slack root partition, use the chroot command to switch to the Slack filetree, and then run pkgtool?
 
Old 06-08-2004, 01:19 PM   #10
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Original Poster
Rep: Reputation: 32
well I guess I could then. Didn't know about chroot. Learn every day
 
  


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
Help! Need to recover corrupt bzip2 files.. rhinomite Linux - General 3 02-15-2005 05:02 PM
Video files corrupt over ftp ixus_123 Linux - General 5 01-19-2005 05:14 PM
vfat mp3 player corrupt files cs-cam Linux - General 2 01-17-2005 03:17 AM
Samba and corrupt files Wordan Linux - Networking 4 11-05-2004 06:51 AM
Passwd files corrupt - I am locked out. Need Help!!! cloy Linux - Newbie 4 02-16-2001 04:25 PM

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

All times are GMT -5. The time now is 02:10 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