LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-06-2009, 12:57 AM   #1
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Rep: Reputation: 31
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 !!

Last edited by joutlancpa; 05-06-2009 at 01:11 AM.
 
Old 05-06-2009, 01:18 AM   #2
Libu
Member
 
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
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
 
Old 05-06-2009, 01:24 AM   #3
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Libu View Post
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
 
Old 05-06-2009, 01:38 AM   #4
Libu
Member
 
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
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.
 
Old 05-06-2009, 02:24 AM   #5
joutlancpa
Member
 
Registered: Apr 2009
Location: Orlando, FL
Distribution: Scientific Linux 6 x64
Posts: 211
Blog Entries: 1

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Libu View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
Upgrading VBox 2.0.2 on Fedora 9 to VBox 2.0.6 fcquayso Linux - Newbie 2 12-10-2008 05:44 PM
install problems... cdrom mounting drawagoat Linux - Newbie 2 03-17-2006 02:48 PM
Mounting CDRom problem Gunn Linux - General 27 08-12-2003 12:39 PM
Problem mounting cdrom ?? N_A_J_M Linux - General 5 08-26-2002 09:43 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration