LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-24-2004, 05:56 AM   #1
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
Resuce Linux system with knoppix


I am using Suse 8.2.
I was trying to change the permisions of a directory and I made a big mistake, I typed :-
chown <owner>:<group> /<directory> -R

as root and it seemed to change the permissions of everything.
Now I can not log on, the error message is in part:-
/proc not mounted, failed to mount read only system.
I can see everything using knoppix so I guess it should be possible to fix it, but how ??
 
Old 02-24-2004, 11:44 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Hehe, I did the same a couple of weeks ago.

You must feel very stupid. I did. But there is a solution.

You have to start small. First let yourself back into linux.

I use RedHat, so I won't give just the accurate solution, just the steps you must take to get in. There is a way that you can get into linux as a single user that has all the permissions. You have to check how for Suse. But it will have to do something with changing kernel parameters in boot loader.

This is what you should do:

At lilo prompt type boot image followed by 1. Should look like this:

linux 1

I hope this works. I don't use Suse, so you just have to try it to see.

Next thing is to change permissions back to what they should be and reboot. You will get error messages from files that have bad permissions and then change those as well. I myself still haven't fixed the X. But I'm getting to it slowly.

Well at least this will get you back into linux.
 
Old 02-25-2004, 05:32 AM   #3
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Original Poster
Rep: Reputation: 31
Unfortunately I do not have lilo I have grub.
But using knoppix I have half recovered my system.
There problems no sound, no kde and no internet.
When I try to log into kde I get :-
There was an error setting up interprocess communications for KDE.
The message returned by the system was :-
Could not read network communications list./home/david/.DCPServer_linux__10
Please check that the dcopserver program is running.
But I can use gnome.
 
Old 02-25-2004, 01:21 PM   #4
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Even better!

I have grub too. In the menu - I suppose you get to the grub menu - press 'a' I think, or the option that says kernel something. You should get a command line in which a command will also be written. Then type a space and "single". This means you should type " single". Be sure to type in the space. This will boot you in the single user mode and you will work from there.

Check this link out. It should give you all the info required. You will see which command "a" or "e" works for you in the grub menu list. Check the link below and use the information above to take this step, and you should be just fine.

http://www.redhat.com/docs/manuals/l...ng-single.html

Last edited by marghorp; 02-25-2004 at 01:24 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost root passwd and can't enter resuce mode musikalg Linux - Software 3 09-18-2005 08:33 AM
converting Knoppix into writeable system abrand888 Linux - Distributions 6 05-20-2005 09:28 AM
Knoppix to the resuce... Lleb_KCir LinuxQuestions.org Member Success Stories 8 04-22-2005 12:01 PM
runlevel 4 prob -- resuce!! KMcD Slackware 5 12-17-2004 08:38 AM
Attempting to move files while in resuce mode jdubchak Linux - Newbie 10 04-11-2003 05:43 AM


All times are GMT -5. The time now is 08:12 AM.

Main Menu
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