Hi,
I'm using ubuntu 10.04 as a guest on winxp.
I tried the following to get my cdrom mounted:
sudo mkdir /media/cdrom;
sudo mount /dev/cdrom/media/cdrom/
In response I got:
mount: can't find /dev/cdrom/media/cdrom/ in /etc/fstab or /etc/mtab
Does it have anything to do with the fact I use virtualbox?
Thanks.
problem mounting cdrom on ubuntu guest
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: problem mounting cdrom on ubuntu guest
Well this is just wrong. no ; after the first line and you need spaces between the mount and mount pointsudo mkdir /media/cdrom;
sudo mount /dev/cdrom/media/cdrom/
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
I also don't understand why you don't use the distributor created cdrom folder found in / unless you are trying to mount (2) different cd roms
mount /dev/cdrom /cdrom
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: problem mounting cdrom on ubuntu guest
A blank is missing between Device and Path.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- Posts: 7
- Joined: 23. Aug 2010, 02:45
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: problem mounting cdrom on ubuntu guest
The response I now get to the second line is:
mount: special device /dev/cdrom does not exist
mount: special device /dev/cdrom does not exist
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: problem mounting cdrom on ubuntu guest
Did you set the selection to the CD in the guest settings?
You can also do this by clicking on the device tab and selecting the CD in the CD/DVD section at the top left of the guests window.
You should read Chapter 5.8. CD/DVD drive operation in your VirtualBox users manual.
You can also do this by clicking on the device tab and selecting the CD in the CD/DVD section at the top left of the guests window.
You should read Chapter 5.8. CD/DVD drive operation in your VirtualBox users manual.
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: problem mounting cdrom on ubuntu guest
Use better "/dev/sr0" instead of /dev/cdrom".
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- Posts: 7
- Joined: 23. Aug 2010, 02:45
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: problem mounting cdrom on ubuntu guest
Well, I've lost the war with the linux terminal,but:
In my machine settings, I clicked storage, added host drive G (G is my cdrom drive in windows),selected IDE primary master and ticked passthrough.
Now when I insert a cd into my cdrom drive it simply appears on my ubuntu desktop, and I have access to the content.
Does it sound like I got it right this time?
In my machine settings, I clicked storage, added host drive G (G is my cdrom drive in windows),selected IDE primary master and ticked passthrough.
Now when I insert a cd into my cdrom drive it simply appears on my ubuntu desktop, and I have access to the content.
Does it sound like I got it right this time?