Using Knoppix

i want to know how i can access files on my hard drive using knoppix, the files are locked, the folders being my home account and the root folder. the distro on the hard drive is fedora core 3 the reason i need to do this is my system died,...




Topic Options
#150340 - 11/16/04 03:10 AM Using Knoppix
SoulNothing Offline
enthusiast

Registered: 02/24/04
Posts: 309
i want to know how i can access files on my hard drive using knoppix, the files are locked, the folders being my home account and the root folder.

the distro on the hard drive is fedora core 3

the reason i need to do this is my system died, while using up2date it unexpectadly rebooted and now it cant boot up, any kernel i choose i had a total of five in case anything happened, just reboots the system so basically i press enter on say kernel selection 2.6.9 it reboots the computer for any kernel

so is there anyway to fix that with knoppix (i already tried upgrading my system)
knoppix version 3.6

so the two questions are
1. how do i get to locked folders i.e. /home/nothing and /root the hard drive mounts fine just cant get to it.

Top
Advertisement
#150353 - 11/16/04 08:23 AM Re: Using Knoppix
blackpage Offline
member

Registered: 03/23/04
Posts: 120
Gidday SoulNothing

Right, I hope I understood you correctly ... if you can mount the drive fine then it is probably a permission issue. One of the few things when not even root can't go into a directory is when the permission of the folder is set to "000", which stands for a clear "Go away!", even for root.

To solve this you will need to boot Knoppix, become root (I think you just need to type "su" or "sudo" in Knoppix-console), mount the disk in r/w-mode, and then "chmod" the folders in question. Something like this ...

Code:
dude@box # chmod ug+rw -R /root
or
dude@box # chmod 700 -R /root


I dunno what happened with your machine but maybe the occasional incantation of a "chown" might be necessary to restore things as they were.

hope this helps

Top
#150355 - 11/16/04 08:33 AM Re: Using Knoppix
Dapper Dan Offline
Pooh-Bah

Registered: 09/27/03
Posts: 1703
Loc: The Sovereign state of South C...
I usually just go as root...

mount /dev/hda5 /mnt/hda5

cd /mnt/hda5

...and you're in.

Top
#150360 - 11/16/04 12:09 PM Re: Using Knoppix
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2866
Loc: Albany, NY
...and yet another answer from the Knoppix faq;

Q: What is the root password?
A: There is none; all passwords are locked by default. You can set it by going Knoppix Menu->Root Shell and typing "passwd", then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>--F2 to get at the text console with already opened root shell.


Of course, this applies if you are using the LiveCD.

Top
#150366 - 11/16/04 03:41 PM Re: Using Knoppix
SoulNothing Offline
enthusiast

Registered: 02/24/04
Posts: 309
thanks that did it

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
What version of Linux is this?
by DxxLinux
Yesterday at 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Thank you for your help
by guaiguai
12/11/09 07:29 AM
What the problem is?
by guaiguai
12/11/09 05:09 AM
Need an database for Dictionary
by shaanspecial
12/09/09 10:19 AM
Who's Online
2 Registered (Merries007, Philipp), 168 Guests and 45 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91325 Members
24 Forums
58850 Topics
189361 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22