Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
-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
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
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).
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*
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?
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.