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.
ok suicidaleggroll, when i try that i get "mount: only root can do that" even though i am root user. ugh. i use "su" command to log in as root through terminal and i get "/root/Desktop/zeldatp.iso: No such file or directory"
EDIT: when i attempt to log in as root from login screen by typing "root" instead of my username, i then type my password and it says "System Administrator is not allowed to log in from this screen" otherwise i'm pretty sure my username is root user though i was the first user name
Last edited by fearthepenguin; 06-01-2013 at 05:26 PM.
ok suicidaleggroll, when i try that i get "mount: only root can do that" even though i am root user.
Apparently you're not. What distro are you using?
Quote:
Originally Posted by fearthepenguin
i use "su" command to log in as root through terminal and i get "/root/Desktop/zeldatp.iso: No such file or directory"
Now you're root. In the command I gave "~" is a shortcut to the current user's home directory. Now that you're root, "~/Desktop" is pointing to root's desktop, but that's not where the file lives.
Open a terminal, and type "pwd". That's where your home is. Now cd to Desktop and run "pwd" again, that's your desktop. If you run "ls" you should see your iso file. Now su to root and run "pwd" again. Notice you've changed directories, you're now in root's home. If you cd to Desktop, you'll be sitting in root's desktop, which is not where your file is. Just give mount the full path to the iso file, it's probably "/home/user/Desktop/zeldatp.iso", replacing "user" with whatever your username is (the one who's desktop the file is on).
Quote:
Originally Posted by fearthepenguin
EDIT: when i attempt to log in as root from login screen by typing "root" instead of my username, i then type my password and it says "System Administrator is not allowed to log in from this screen"
That's good, you should never log into the DE as root. It's an incredible security risk. I'm glad to see that more and more distros are blocking people from doing it.
Quote:
Originally Posted by fearthepenguin
otherwise i'm pretty sure my username is root user though i was the first user name
What? "root" is a user, a special user that exists on all Linux systems and has the power of god. The first user that is created during installation is no more special than any other user that is created, it is not root. Only root is root. If you open a terminal and type "whoami", it will tell you your user name. If this does not say "root", then you're not root.
Last edited by suicidaleggroll; 06-01-2013 at 05:36 PM.
NOTE: Download this ISO and use a compatible emulator to play. New? Read our tutorial!
» Recommended emulator: Dolphin (Windows) | Dolphin (Mac)
» You need to extract this ISO using: 7-Zip (Windows) | The Unarchiver (Mac)
So, this is not a Linux .iso. It is intented for windows or mac users to use the emulator at indicated in the instructions, or to open the archive with the win or mac archive tool listed.
suicidaleggroll, i put in terminal "mount -o loop ~/home/owen/Desktop/zeldatp.iso /mnt" and my result was "/root/home/owen/Desktop/zeldatp.iso: No such file or directory" though i must admit, you've been the most help thus far
suicidaleggroll, i put in terminal "mount -o loop ~/home/owen/Desktop/zeldatp.iso /mnt" and my result was "/root/home/owen/Desktop/zeldatp.iso: No such file or directory" though i must admit, you've been the most help thus far
Close, but get rid of the "~". "~" is a shortcut to the current user's home directory. If you're currently logged in as owen, then "~" is a shortcut for "/home/owen". If, however, you're currently logged in as root (which you are), then "~" is a shortcut for "/root". This is why when you put "~/home/owen/Desktop/zeldatp.iso" it came back with "/root/home/owen/Desktop/zeldatp.iso". Since the file does not live in /root, then leave off ~. Everything else you have is fine.
"mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"
Make sure you are the same user, in which user's Desktop directory your file exist and then run
Code:
cd ~/Desktop
If "whoami" command shows any other user, instead of the user where your file is kept, then first login to that user using
Code:
su that_username
cd ~/Desktop
make sure whether your file is exist.
Code:
ls -l zeldatp.iso
if exist, then mount
Code:
sudo mount -o loop zeldatp.iso /mnt
or if you already login as root
Code:
mount -o loop zeldatp.iso /mnt
ls /mnt
Or first you search for that file to make sure the path.
Code:
find /root/ /home -type f -name "zeldatp.iso"
Note down the file's full path and then mount it.
Code:
sudo mount -o loop /full/path/of/zeldatp.iso /mnt
or
mount -o loop /full/path/of/zeldatp.iso /mnt
ls /mnt
You can use the below command to become root user
Code:
sudo su
You can run the above commad only if you are allowed for sudo. Here you have to provide your password instead of root to become root. If you have already set root password, then you can also run "su" command to become root
Code:
su
provide the root user's password
Please post the output of below command, from this below command you can make sure that what type of file it is.
If it is really an ISO file and if you are not sure whether that file is in root user's desktop or normal user's desktop then you can try this single command which will search for your file in both(/root & /home) directories, mount it and list it's contents,
Code:
find /root /home -type f -name "zeldatp.iso" -exec mount -o loop {} /mnt \; && ls -l /mnt/
or
find /root /home -type f -name "zeldatp.iso" -exec mount -o loop -t iso9660 {} /mnt \; && ls -l /mnt/
Last edited by mandyapenguin; 06-01-2013 at 09:23 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.