Konsole Terminal Program for Newbies

First off, please bear with me if the answer to this seems obvious since this is my first time using linux. I’ve been trying to mount and run several iso files on my computer (games and movies) the following way:

I open the Terminal program and type the following:

mount -o loop -t iso9660 file_name.iso /media

where file_name is the name of the particular iso im trying to mount at the time, I get this as a reply:

mount: only root can do that

so my question is this, how do I get root privileges in the terminal program so that I can mount the .iso files?

On Tue, 15 Jul 2008 02:36:04 GMT
gross5cd <gross5cd@no-mx.forums.opensuse.org> wrote:

>
> First off, please bear with me if the answer to this seems obvious
> since this is my first time using linux. I’ve been trying to mount
> and run several iso files on my computer (games and movies) the
> following way:
>
> I open the Terminal program and type the following:
>
> mount -o loop -t iso9660 -file_name-.iso /media
>
> where -file_name- is the name of the particular iso im trying to mount
> at the time, I get this as a reply:
>
> mount: only root can do that
>
> so my question is this, how do I get root privileges in the terminal
> program so that I can mount the .iso files?
>
>
Hi
Use the sudo command, now if it can’t find a program you need to put
the entire path to is (mount should work ok though). Else use the su -
command. I always use the - as it will use roots environment.

As an aside, I wouldn’t use /media as other devices use this to create
sub directories under to mount too.
Use /media/somedirectory or /tmp/somedirectory (you will need to create)
or create a local directory under your user.


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10 SP2 i586 Kernel 2.6.16.60-0.23-default
up 1 day 0:03, 2 users, load average: 0.35, 0.29, 0.34
GPU GeForce Go 6600 TE/6200 TE Version: 173.14.09

Thread moved to Applications

su not sudo.