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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
As a new Linux user, I find myself stuck more or less right out of the box. I hope this isn't overly verbose, but the forum says to post as much detail as possible!
I'm trying to make my wireless LAN card work, and as part of the instructions I've been given I need to set up my WindowsXP partition (I guess 'mount' is the appropriate term) such that I can get the drivers on to the Linux partition.
I have an ubuntu distro.
I log on as me (randall), not as root, because from what I've read it's not a good idea for somebody who doesn't know what they're doing to log on as root, as they can cause all kinds of damage. I don't even know how to log in as root, although I suppose I could figure it out.
The first thing to do on my list of instructions is to make a directory in /mnt called /win so I have a place to mount the Windows partition.
I opened a Terminal session from the GNOME menu, and got this prompt:
I changed to the root of my file system (I think) by typing 'cd /', and got this prompt:
I then did 'ls -alt' and saw that there is a directory called mnt. Next I typed the exact command given in my instructions, so before I hit Enter the command line said:
I tried moving around to various places within my directory tree and using mkdir, but always got some variation of that same error message.
It seems trivially simple that I don't have permission to make directories in my own structure, but that just seems odd. From within GNOME, I went to System -> Administration -> Users & Groups, entered my password, and got a box that listed 'randall' as a user. When I clicked on Properties I got a box with a series of items, and all but something have to do with access to tape drives were checked, including one that says 'Executing system administration tasks'.
So, it seems that randall is set up as a sysadmin, and surely one of those can create a directory, right? I'm stumped. As I said earlier, I'd rather not log in as root if I don't have to, because it seems as likely as not I'll break something. Of course, if I do break something I guess the good news I haven't really done anything with Linux yet and can re-install the whole thing from CD without losing any data.
And enter your password. Only root can mount stuff, and only root can make directories outside a home directory ( There are exceptions but this is generally so ). "sudo" enables you as a user to pretend to be root for a specific command. If you type "sudo su" then you become root, until you type "exit"
You need to be root sometimes to do important stuff.