major problems, everything segmentation faults!
ok, I did something really, really stupid. I was having trouble accessing some programs, so I chmodded the usr/bin folder to 755. I got a few more error in what I was trying to do, so I tried to chmod it back to 644. That didnt work, so I modded it to 777, now everything segmentation faults!! I cant connect to the internet, I cant remotely connect to the computer, I cant do anything!! I cant use any commands, chmod, chown, everything faults when i try to use it. Is there any hope, or am I just screwed?
|
Try booting from the Slackware CD 1 or any other Live CD, mount your partition and chmod the dir back, it may work that way.
|
having trouble mounting the partition, trying to use /mnt gives me permission denied, am I doing this wrong?
|
Do you get permission denied when trying to mount the partition from a bootable CD or are you tring to mount it while you are booted in the broken system ? You should be booted with a rescue cd or smth, like Slax, Slackware CD 1, Knoppix, etc... and make sure the directory where you want to mount the partition exists. Lets say you want to mount /dev/hda1 (presuming this is your slackware / partition, you can just change hda1 to hda2, or hdc1 etc.. whatever your / partition is) on /mnt/slackware ( maybe you're trying to mount it straight on /mnt ? i don't think that's possible and maybe that's why u get permission denied). So make sure you have /mnt/slackware (mkdir /mnt/slackware). Now mount the partition with the command
Code:
mount -t reiserfs /dev/hda1 /mnt/slackware Code:
chmod 644 /mnt/slackware/usr/bin |
ok, I got this when I tried to mount the drive:
mount: wrong fstype, bad option, bad superblock on /dev/hda1, or too many mounted file systems |
Is /dev/hda1 your Slackware / partition ?
Did you use the right FS type ? Do you already had it mounted when you tried ? Did you really used a BOOT CD ? And if so what did you use ? Please give more details, maybe step by step of everything you do untill you get that error ! |
ok, I used my Slackware cd1, it booted up on the cd just fine. I made the /mnt/slackware directory, then changed to that directory. I typed mount -t reiserfs /dev/hda1 /mnt/slackware. I am almost sure it is hda1, it is possible I am wrong, how would I check to be sure?
|
try fdisk -l it should list you partitions. of you could do a df -h
|
thanks, that helped. Ok, it is hda1.
|
Is the file system type (fs type) reiserfs ? Are you sure ? Did you cd to /mnt/slackware before mounting it ? Maybe that could affect the mounting process. Just boot into the Slack CD 1, login as root, and do the following:
Quote:
Quote:
Quote:
|
Sorry to be such a newb, but how would I check the file system type?
|
Well, when booted into the Slackware system you could do a
Quote:
Quote:
|
ok, it was ext2, everything seemed to work out as far as that step goes. I rebooted, but I am still getting segmentation fault when I type chmod, chown, ls, and who know what else. Perhaps those files had different permissions? or maybe the bin folder itself had one permission set, while the files had another? I know the files were 644, cause I tried changing a few of them seperately to see if that was causing the original problem I had, which was not being able to run some of the files in bin. Also, I still cannot connect to the computer, so I guess we are back at square one. Thanks for the help so far, though.
|
What if I did a repair? Or tried to install Slackware over the top of my current installation?
|
Well... it looks like you did a chmod -R on the directory ? Well, yeah I think now it's the time to actually reinstall the system over the one you have, without formatting the partitions, if that doesn't work either, be sure to save your personal data, configuration files you may want to keep, etc.. you know what you need for a backup, reinstall the system and format the partitions ( if you have a separate /home partition mount it do not format it, just the others should be formatted).
|
All times are GMT -5. The time now is 01:21 PM. |