LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem mounting cdrom for vbox install (https://www.linuxquestions.org/questions/slackware-14/problem-mounting-cdrom-for-vbox-install-724036/)

joutlancpa 05-05-2009 11:57 PM

problem mounting cdrom for vbox install
 
I can't mount a cdrom, get this error message:

Unable to mount "VRMPOEM_EN":
mount: only root can mount /dev/sr0 on mnt/cdrom

this a windows XP full install disk. I've tried various commands.

here is my group file? what haven't I done? I'm preparing to get an XP VM with USB going for work:
Code:

root:x:0:root
bin:x:1:root,bin
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel:x:10:root,john
floppy:x:11:root,john
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
audio:x:17:root,john
video:x:18:root,john
cdrom:x:19:root,john
games:x:20:
slocate:x:21:
utmp:x:22:
smmsp:x:25:smmsp
tape:x:26:root
mysql:x:27:
rpc:x:32:
sshd:x:33:sshd
gdm:x:42:
shadow:x:43:
ftp:x:50:
apache:x:80:
messagebus:x:81:
haldaemon:x:82:
plugdev:x:83:root,john
power:x:84:root,john
pop:x:90:pop
scanner:x:93:
nobody:x:98:nobody
nogroup:x:99:
users:x:100:
console:x:101:
vboxusers:x:102:root,john

fstab:

Code:

dev/sda7        swap            swap        defaults        0  0
/dev/sda5        /                ext3        defaults        1  1
/dev/sda6        /home            ext3        defaults        1  2
/dev/sda3        /vista          ntfs-3g    umask=000        1  0
/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
tmpfs            /dev/shm        tmpfs      defaults        0  0

I've put myself in advance in vboxusers, wheel and made the mod to /etc/rc.d/rc.S according this post here(post 14) to prepare....can't see it, probably right in front of me? I need my XP VM w/ usb in order to stay in linux all day while working ;)

thanks guys !!

Libu 05-06-2009 12:18 AM

You need to be root to be able to mount.

Otherwise you need to specify the user option in /etc/fstab.

From the mount manpage:
Quote:

Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the command

joutlancpa 05-06-2009 12:24 AM

Quote:

Originally Posted by Libu (Post 3531684)
You need to be root to be able to mount.

Otherwise you need to specify the user option in /etc/fstab.

From the mount manpage:

Thanks what I did that would mount it at boot is change this:

Code:

/dev/cdrom      /mnt/cdrom      auto        noauto,owner,ro  0  0
To this:

Code:

/dev/cdrom      /mnt/cdrom      auto        noauto,user,rw  0  0
See anything wrong with doing it this way? I want to be able to burn, and I can't write over a closed disk....or should I change it? It mounts now, but I've only tried the XP install disk. thanks I just want to decipher what you posted above....I want to make sure I have an fstab line that will let me the user alway mount and burn, whatever. thanks

Libu 05-06-2009 12:38 AM

Thats no problem and you can certainly mount, but you may not be able to burn. I'm not exactly sure about how burning works, I'm sure that other might be able to help.

One thing is that burning applications (that I know of) use cdrecord internally and if that program has necessary execute permissions and your cd drive has been mounted with write permissions for your userid, then I believe you should be able to burn cd's. Else you might have to read up on the burning application that you are planning to use and make changes accordingly.

I use k3b and I have set it up so that all users belonging to the group "burning" has privileges to burn disks.

joutlancpa 05-06-2009 01:24 AM

Quote:

Originally Posted by Libu (Post 3531703)
Thats no problem and you can certainly mount, but you may not be able to burn. I'm not exactly sure about how burning works, I'm sure that other might be able to help.

One thing is that burning applications (that I know of) use cdrecord internally and if that program has necessary execute permissions and your cd drive has been mounted with write permissions for your userid, then I believe you should be able to burn cd's. Else you might have to read up on the burning application that you are planning to use and make changes accordingly.

I use k3b and I have set it up so that all users belonging to the group "burning" has privileges to burn disks.

Thanks...I'll try to burn an iso and see what happens....late now, got VB up with USB....eyes are tired with these trifocals....lol


All times are GMT -5. The time now is 06:12 AM.