Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[virtualbox] CDROM does not mount
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
donald7
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2007
Posts: 136

PostPosted: Mon May 14, 2007 6:43 pm    Post subject: [virtualbox] CDROM does not mount Reply with quote

hi everyone,

I have just installed virtualbox and I can run a virtual PC from an ISO image. :)

However I can't mount my CDROM and therefore I cannnot run a CD to install W$ for example. :(

Any idea why I can't mount the CDROM drive ?

thanks

donald
_________________
Linux Counter #433775

Visitez et contribuez au site gnulinux.fr
Back to top
View user's profile Send private message
spoon-man
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 86
Location: Australia W.A

PostPosted: Wed May 16, 2007 10:48 pm    Post subject: Reply with quote

Is your user in the cdrom group? can you mount the cdrom as root?
gpasswd -a youruser cdrom
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sun Aug 12, 2007 11:31 pm    Post subject: Reply with quote

I have this problem too... Please help!! My user is part of the cdrom group and plugdev (and many other groups). Thanks.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Aug 14, 2007 2:06 am    Post subject: Reply with quote

bump!! ^^
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Aug 14, 2007 7:48 pm    Post subject: Reply with quote

No one??? :(
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Sun Aug 26, 2007 8:18 pm    Post subject: Reply with quote

Had the same issue. Removed virtualbox and installed virtualbox-bin. Then I could mount normal cd/dvd as well as iso images.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Aug 28, 2007 3:45 pm    Post subject: Reply with quote

overkll wrote:
Had the same issue. Removed virtualbox and installed virtualbox-bin. Then I could mount normal cd/dvd as well as iso images.


Mee too...
Back to top
View user's profile Send private message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Wed Sep 26, 2007 8:18 am    Post subject: Reply with quote

I have same issue!
No virtualbox is installed at all, user is part of cdrom and plugdev groups, but...
Quote:
Only root can mount /dev/hdb on /mnt/cdrom

Any ideas?
_________________
software is like sex - better when it's free!
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Sep 26, 2007 12:45 pm    Post subject: Reply with quote

Do you have an entry in /etc/fstab for you cd/dvd? I use this:

/etc/fstab:

Code:
/dev/cdrom      /mnt/cdrom      auto            noauto,ro,user  0 0


The options "noauto,ro,user" means:
1. Don't automount at boot
2. mount read only
3. mount as current user

Of course, the "/mnt/cdrom" directory must exist.
Back to top
View user's profile Send private message
m0rtal
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2005
Posts: 79
Location: Yalta, Crimea

PostPosted: Sat Sep 29, 2007 6:40 am    Post subject: Reply with quote

goddamn, I forgot to add "user" option... thanks!
_________________
software is like sex - better when it's free!
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Mon Oct 08, 2007 4:21 pm    Post subject: Reply with quote

BTW, it seems that virtualbox only recognizes /dev/cdrom, not /dev/cdrom1. So one needs to make sure the link /dev/cdrom exists.
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Mon Oct 15, 2007 4:03 pm    Post subject: Reply with quote

OK, this is too wierd! I changed my 70-persistend-cd-rules from cdrom1 to cdrom and virtualbox-bin was happy and could find the cdrom for mounting.

Now, it doesnt! :roll: The CD/DVD drop down box is empty. There was a recent upgrade of udev from 114 to 115. I rolled it back to 114 and still no go.

user is a member of vboxusers
fstab contains cdrom entry
/dev/cdrom is a symlink to /dev/hdd
perms on /dev/hdd: brw-rw---- 22, 64 root cdrom /dev/hdd
user is a member of cdrom group

I even tried the ENV trick: "export VBOX_CDROM=/dev/cdrom" and still no go. WTF?

virtualbox-bin-1.5-r1 and virtualbox-modules-1.5
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Mon Oct 15, 2007 4:31 pm    Post subject: Reply with quote

BTW, starting virtualbox-bin via the command line and going into the settings of the guest vm's yields:
Code:
Qt WARNING: QObject::connect: Cannot connect (null)::onItem (QListBoxItem*) to VBoxMediaComboBox::processOnItem (QListBoxItem*)

Maybe its something to do with QT then? But why did it work before and not now. QT hasn't been upgraded or even recompiled!
Back to top
View user's profile Send private message
Slavo
Apprentice
Apprentice


Joined: 26 May 2005
Posts: 229

PostPosted: Sun Jan 27, 2008 3:16 pm    Post subject: Reply with quote

this is what i found at ubuntu forums and worked for me:
Quote:

he easy way is just edit the xml config file of your virtual machine....

- Configure your virtual machine to use /dev/cdrom as CD-ROM unit.
- Exit VirtualBox
- Open the VM config file (~/.VirtualBox/Machines/<Your VM Name>/<Your VM Name>.xml
- Change this line:

<DVDDrive passthrough="true">
<HostDrive src="/dev/cdrom"/>
</DVDDrive>

to

<DVDDrive passthrough="true">
<HostDrive src="/dev/hda"/>
</DVDDrive>

Save the file and open the VirtualBox

and is done....

also i did
Code:

# chmod 777 /dev/hda


to change permissions for cdrom device

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum