View previous topic :: View next topic |
Author |
Message |
donald7 Tux's lil' helper
Joined: 03 Mar 2007 Posts: 136
|
Posted: Mon May 14, 2007 6:43 pm Post subject: [virtualbox] CDROM does not mount |
|
|
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 |
|
|
spoon-man Tux's lil' helper
Joined: 18 Sep 2004 Posts: 86 Location: Australia W.A
|
Posted: Wed May 16, 2007 10:48 pm Post subject: |
|
|
Is your user in the cdrom group? can you mount the cdrom as root?
gpasswd -a youruser cdrom |
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Sun Aug 12, 2007 11:31 pm Post subject: |
|
|
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 |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Tue Aug 14, 2007 2:06 am Post subject: |
|
|
bump!! ^^ |
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Tue Aug 14, 2007 7:48 pm Post subject: |
|
|
No one??? |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sun Aug 26, 2007 8:18 pm Post subject: |
|
|
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 |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Tue Aug 28, 2007 3:45 pm Post subject: |
|
|
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 |
|
|
m0rtal Tux's lil' helper
Joined: 21 Mar 2005 Posts: 79 Location: Yalta, Crimea
|
Posted: Wed Sep 26, 2007 8:18 am Post subject: |
|
|
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 |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Wed Sep 26, 2007 12:45 pm Post subject: |
|
|
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 |
|
|
m0rtal Tux's lil' helper
Joined: 21 Mar 2005 Posts: 79 Location: Yalta, Crimea
|
Posted: Sat Sep 29, 2007 6:40 am Post subject: |
|
|
goddamn, I forgot to add "user" option... thanks! _________________ software is like sex - better when it's free! |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Mon Oct 08, 2007 4:21 pm Post subject: |
|
|
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 |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Mon Oct 15, 2007 4:03 pm Post subject: |
|
|
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! 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 |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Mon Oct 15, 2007 4:31 pm Post subject: |
|
|
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 |
|
|
Slavo Apprentice
Joined: 26 May 2005 Posts: 229
|
Posted: Sun Jan 27, 2008 3:16 pm Post subject: |
|
|
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 |
|
|
|