DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th May 2019
angus71 angus71 is offline
New User
 
Join Date: Jan 2019
Posts: 4
Default mount cdrom not succesfull ...

Hi there!
I am new to OpenBSD, used some Linux-distros before...
On OpenBSD (6.4) I cannot mount my cdrom-drive neither as root nor as normal user.
I tried several cominations/suggestions ... nothing works.
The best I get is:
"jay# mount_cd9660 /dev/cd0c /mnt/cdrom
mount_cd9660: /dev/cd0c on /mnt/cdrom: Invalid argument
jay# mount_cd9660 /dev/cd0 /mnt/cdrom
mount_cd9660: /dev/cd0 on /mnt/cdrom: No such file or directory"
Could this be a problem related to my fstab-file? Just now it looks like this:
"/dev/cd0a /mnt/cdrom cd9660 ro,noauto 0 0"
Thank you for your incomming advice...
Cheers, angus71
Reply With Quote
  #2   (View Single Post)  
Old 12th May 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Did you try like the example here https://man.openbsd.org/mount.8 shows?
Code:
EXAMPLES
Mount a CD-ROM on node /mnt/cdrom:

# mount -t cd9660 -r /dev/cd0a /mnt/cdrom
But without the "cdrom"dir, IE:
Code:
garry#  mount -t cd9660 -r /dev/cd0c /mnt 
garry# pwd
/home/garry
garry# cd /mnt
garry# ls
6.4       TRANS.TBL etc
garry#
If you want to use a dir named "cdrom" :
Code:
garry#  mount -t cd9660 -r /dev/cd0c /mnt/cdrom
mount_cd9660: /dev/cd0c on /mnt/cdrom: No such file or directory
First you should create (mkdir) the directory:
Code:
garry# cd mnt
garry# mkdir cdrom
garry# ls
cdrom
garry# pwd
/mnt
garry# mount -t cd9660 -r /dev/cd0c /mnt/cdrom 
garry# pwd
/mnt
garry# cd cdrom
garry# ls
6.4       TRANS.TBL etc
garry#
===============================
Quote:
Could this be a problem related to my fstab-file? Just now it looks like this:
"/dev/cd0a /mnt/cdrom cd9660 ro,noauto 0 0"
Well, I don't have anything like that in mine, in fact I have never needed to go adding lines or editing the "fstab" file to mount anything,..
__________________
My best friends are parrots

Last edited by PapaParrot; 12th May 2019 at 01:09 PM.
Reply With Quote
  #3   (View Single Post)  
Old 12th May 2019
angus71 angus71 is offline
New User
 
Join Date: Jan 2019
Posts: 4
Default

Hi Gerry!
Thank you for that fast answer.
But...
"mount -t cd9660 -r /dev/cd0a /mnt/cdrom" yields:
"mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not configured"
and I already made the directory /mnt/cdrom...
so perhaps there is something else I can try?
Greetings
angus71
Reply With Quote
  #4   (View Single Post)  
Old 12th May 2019
johnR johnR is offline
Fdisk Soldier
 
Join Date: Nov 2017
Posts: 57
Default

Quote:
Originally Posted by angus71 View Post
"mount_cd9660: /dev/cd0a on /mnt/cdrom: Device not configured"
Use /dev/cd0c, not /dev/cd0a.
Reply With Quote
  #5   (View Single Post)  
Old 12th May 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Second on that, it must be "cd0c", not "a"
__________________
My best friends are parrots
Reply With Quote
Reply

Tags
cdrom, mount, openbsd

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
floppy-based installation on Dell without cdrom .. ? daemonfowl OpenBSD Installation and Upgrading 11 27th July 2012 12:11 AM
how to allow users to mount cdrom and usb flash? daemonfowl OpenBSD General 6 26th January 2012 07:08 PM
Mount img guitarscn OpenBSD Packages and Ports 5 8th November 2010 04:45 PM
Mounting CDROM issue dylanz OpenBSD Installation and Upgrading 6 5th June 2010 11:53 PM
how do i mount usb wokko NetBSD Installation and Upgrading 4 15th May 2010 09:48 AM


All times are GMT. The time now is 08:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick