LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-03-2004, 12:20 AM   #1
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Rep: Reputation: 30
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, 06:38 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
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, 10:35 AM   #3
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
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, 02:54 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

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

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

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

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

Rep: Reputation: 47
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, 12:58 PM   #8
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

Original Poster
Rep: Reputation: 30
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, 02: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, 02:19 PM   #10
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 216

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


Reply


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


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration