Page 1 of 2

[SOLVED] I can't mount from Devices.

Posted: 26. Jul 2012, 01:04
by Advice Pro
From Devices, I selected 'Install Guest Additions' and nothing happened. I then did mount /dev/scd0 /media/cdrom and failed, so I repeated that process twice and still the same results.

Re: I can't mount from Devices.

Posted: 26. Jul 2012, 01:15
by Perryg
? /dev/scd0 ?

Maybe you really meant /dev/sr0

Re: I can't mount from Devices.

Posted: 5. Aug 2012, 03:52
by Advice Pro
Sorry, mispelling.

Re: I can't mount from Devices.

Posted: 5. Aug 2012, 04:04
by Y E T I
I'm going out on a limb here but did you create the mount point "/media/cdrom"?
Where did you ever come up with your user name?

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 17:55
by Advice Pro
I changed the mount to:

Code: Select all

mount /dev/sr0 /media/cdrom
And got:

Code: Select all

mount: only root can do that
But I am root, root@ubuntu.

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 18:06
by Perryg
This really isn't a VirtualBox issue, but more about how to actually use the command line to mount the CD drive. Since the reply you received was that only root could do this you can't be root.

Type man mount in a terminal to get help on how to use mount
Hint: use sudo?

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 18:16
by Advice Pro

Code: Select all

root@ubuntu:-$ sudo mount /dev/srO /media/cdrom
mount: block device /dev/srO is write-protected, mounting read-only
mount: /dev/srO already mounted or /media/cdrom busy
mount: according to mtab, /dev/srO is already mounted on /media/cdrom

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 18:19
by Perryg
OK so what is the problem?

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 18:34
by Advice Pro

Code: Select all

luis@ubuntu:-$ sudo sh ./VBoxLinuxAdditions-x86.run
sh: Can't open ./VBoxLinuxAdditions-x86.run
luis@ubuntu:~$ sudo sh ./VboxLinuxAdditions.run
sh: Can't open ./VboxLinuxAdditions.run

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 18:38
by Perryg
Type ls and post the results here.

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 19:39
by Advice Pro
ls output: Desktop

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 19:58
by Perryg
First: If you are wanting to know the files in a directory you need to be in the directory to see them or ls with the absolute path. The same goes for commands.

So here are the commands to see what you are looking for.

In a terminal type the following:

cd /media/cdrom
then you can type ls to see the files. You should see VBoxLinuxAdditions.run if so type the following:
sudo ./VBoxLinuxAdditions.run

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 20:17
by Advice Pro
Perryg wrote: You should see VBoxLinuxAdditions.run
It's not there.

Input:

Code: Select all

luis@ubuntu: /media/cdrom ls
Output:

Code: Select all

gengradd.dll   0S2          Readme.txt       vboxmouse.sys
libc063.dll    readme.txt   VBoxGuest.sys   VBoxService.exe

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 20:27
by Perryg
I see you don't know your Linux commands very well. Save this link for reference http://www.oreillynet.com/linux/cmd/

The command is ls (lower case L & S)
it should go at the front of the command if you are using the absolute path.
ls /media/cdrom

Re: I can't mount from Devices.

Posted: 6. Aug 2012, 22:12
by Advice Pro
Sorry, just a typo in that post and I'll change it now.