LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2004, 10:22 PM   #1
kilikk
LQ Newbie
 
Registered: Dec 2004
Location: Minnesota
Distribution: Ubuntu/Fedora Core
Posts: 12

Rep: Reputation: 0
Angry Knoppix-->Getting places in root


I'm frustrated!
I boot up knoppix (CD booted, nothing on the HD) and its all fine and dandy, go into the root thing...and I keep trying to get into /mnt/hd1/WINDOWS/system32/config (for undisclosed reasons), but I can't!

How do I get in?
all I can get is something like:
knoppix[knoppix]# Its something like that

and I think it has to do with the
'cd' command but I don't know how to use it or root...

HELP PLEASE!
~thanks~

-Kilikk
 
Old 12-02-2004, 11:07 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to use google and search for articles on basic Unix or linux commands. I think the command you need to type into the console is

cd /mnt/hd1/WINDOWS/system32/config
 
Old 12-03-2004, 12:18 AM   #3
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
suggest you get a book

If you do not know something as basic as cd (change directory) you really are new to Linux. I suggest you get a book to help you get started. This has made a tremendous difference for me. You don't even have to buy one since there are lots of good free ones available from www.tldp.org. Look under the longer books/guides section. Intro-to-linux is a very good one.

good luck.
Scott
 
Old 12-03-2004, 04:29 PM   #4
kilikk
LQ Newbie
 
Registered: Dec 2004
Location: Minnesota
Distribution: Ubuntu/Fedora Core
Posts: 12

Original Poster
Rep: Reputation: 0
yeah, I knew that err, most of that, I realized what I was doing wrong...
its not /mnt/hd1 <--which is what I was doing, I for got the "a"

Oh well , there is supposed to be a file in there and it isn't, is there a somthing I can put in to see everything within' the directory?
 
Old 12-03-2004, 04:39 PM   #5
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
try ls

ls will list all files in a directory

-l will option will list file properties and permissions
-a will list hidden . (dot) files
-h will present info in a 'human readable' form (mb instead of kbs, for ex.).

So,

ls -alh /mnt/dir/name

will tell you just about everything you could want to know about the contents of /name

To determine file types try,

file /mnt/dir/name/file_name

cd is for changing working directories:

cd /new/working/directory

mkdir is for creating new directories

mkdir /new/directory

Cheers,
Scott
 
Old 12-03-2004, 04:46 PM   #6
kilikk
LQ Newbie
 
Registered: Dec 2004
Location: Minnesota
Distribution: Ubuntu/Fedora Core
Posts: 12

Original Poster
Rep: Reputation: 0
well, yeah i tried that, i hit ls (like it says in the example I have here) and it doesn't show anything, it just goes like this
knopprootyp[config]# ls
knopprootyp[config]#

its not exactly like that...*laugh* I don't remember exactly, but it doesn't show anything. I -know- theres a file in there! --sam-- its not there though!
The broken
 
Old 12-03-2004, 04:58 PM   #7
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
ls -a ?

if ls -a doesn't show you the file, then I don't know what to say; maybe it's not in there.

The only other thing I can think of is that Linux is not properly reading the file system. For instance, it cannot read ntfs (used on Win2000 and WinXP). But it can read vfat, and if you can navigate to .../config/ then it should be reading it fine.

To check what type of file system you have (or Linux thinks you have) type simply

hdparm /dev/hda

with no options. This should give you a list of information about your drive and filesystem.

May I ask what the file is and what you need it for? Sounds like you're looking for a Windows file, but why when you have Linux installed.

One other workaround I can think of would quickly setting up Samba and accessing ...config/ from a Windows machine on the same network (if your machine is on a network).
 
Old 12-03-2004, 05:11 PM   #8
kilikk
LQ Newbie
 
Registered: Dec 2004
Location: Minnesota
Distribution: Ubuntu/Fedora Core
Posts: 12

Original Poster
Rep: Reputation: 0
Ok ok, that makes sense, I have ntsf on.
Its my windows computer (I'm on my most precious mac right now), I went on vacation and forgot the password, and i know how to get it using linux, its the the...I don't remember the technical term for it, but its a boot up CD with linux on it. I pop it in and turn on the computer and it starts without installing anything on the HD, gawd, I should remember what its called...*mumble*
 
Old 12-03-2004, 05:25 PM   #9
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
Live eval?

So you're trying to retrieve your password file, then?

Hmmm, not sure what you can do. I've heard of Linux utilities you can get to read ntfs, but don't know how if you could install them using a Live Eval cd. Maybe you could since the Live Eval presumably uses a virtual file system which it creates in RAM. You'd need to have internet access to do the search and download the file, or you'd need to download the utility on your MAC, burn it to a CD or move it across a network, and then insall it, if the Live Eval would let you.

To mount a cd:
mount -t iso9660 /dev/hdc

might be
mount ... /dev/hdd

depending on your configuration.

Either way, sounds like a pretty challenging situation. Are your personal Windows files all backed up on your MAC? If so, you might just reinstall Windows (or better yet, switch to Linux :-) ).

Even if you can access this password file, won't it be encrypted?
 
Old 12-03-2004, 09:18 PM   #10
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
If your trying to get into your windows comp. and you forgot your password, just boot into safemode, get into your admin account and change the password and your in with your new password.
 
Old 12-04-2004, 12:20 AM   #11
kilikk
LQ Newbie
 
Registered: Dec 2004
Location: Minnesota
Distribution: Ubuntu/Fedora Core
Posts: 12

Original Poster
Rep: Reputation: 0
I've got the encryption thing covered...I think. My friend has a friend....
Anyways, yes I can install things using a live cd, I just have to do some....tweaking, and I have to install them every single time I start it up...Oh well.

No i didn't back up my harddrive on my mac... -stupid me-
there better be an NTFS reader, if not, i can always use NT password for Linux, the problem is finding a copy online, cause i think its not legal...
 
  


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
root login in Knoppix bvsciguy Linux - Newbie 8 05-09-2005 09:39 PM
Knoppix problem as root AmdMhz Linux - Security 1 10-18-2004 04:57 PM
what's root password for Knoppix Nereus7 Linux - General 5 03-07-2004 12:39 AM
Knoppix : root heartagram Debian 1 11-13-2003 08:53 AM
root password for knoppix ampex189 Linux - Newbie 4 08-15-2003 02:38 AM


All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration