LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2022, 05:44 AM   #1
hananelroe
LQ Newbie
 
Registered: Sep 2022
Posts: 7

Rep: Reputation: 0
need help mounting a rom usb drive


I have a read-only usb drive that contains a software key, it's listed as sr0:
Code:
$ lsblk
NAME          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda             8:0    0 223.6G  0 disk  
├─sda1          8:1    0   256M  0 part  /media/hananelroe/305955D3775E8F4B
├─sda2          8:2    0     2G  0 part  
└─sda3          8:3    0 221.3G  0 part  /mnt/lfs
sr0            11:0    1  15.2G  0 rom   
nvme0n1       259:0    0 476.9G  0 disk  
├─nvme0n1p1   259:1    0   498M  0 part  /boot/efi
├─nvme0n1p2   259:2    0     4G  0 part  /recovery
├─nvme0n1p3   259:3    0 468.4G  0 part  /
└─nvme0n1p4   259:4    0     4G  0 part  
  └─cryptswap 253:0    0     4G  0 crypt [SWAP]
when I try to:
Code:
sudo mount /dev/sr0 Desktop/respona/
it responds with:
Code:
mount: /home/hananelroe/Desktop/respona: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
does anyone know what can I do to mount it?
 
Old 10-27-2022, 05:53 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Try finding out what the file system is and specifying that with mount -t
 
Old 10-27-2022, 06:26 AM   #3
hananelroe
LQ Newbie
 
Registered: Sep 2022
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TenTenths View Post
Try finding out what the file system is and specifying that with mount -t
I looked at it on a windows machine and it told me the USB has CDFS file system. but when I try to mount with it it says:
Code:
mount: /home/hananelroe/Desktop/respona: unknown filesystem type 'CDFS'.
 
Old 10-27-2022, 06:52 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
On your windows machine does it show up as a USB drive or does it show up as a CD-ROM? Can you copy the files you need from it via Windows?
 
Old 10-27-2022, 07:01 AM   #5
hananelroe
LQ Newbie
 
Registered: Sep 2022
Posts: 7

Original Poster
Rep: Reputation: 0
SOLUTION:

after some googling, I found this command:
Code:
sudo mount -t iso9660 -o ro /dev/sr0 /media/data/cd
it did the job
 
  


Reply



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
USB CD-ROM and IDE-CD-ROM device name conflicts in Lenny kushalkoolwal Debian 4 01-16-2009 12:47 PM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
Help on mounting Hard Disk Drive and CD-ROM drive in Dapper. ussr_1991 Ubuntu 2 08-18-2007 11:33 PM
mounting cd-rom dvd-rom and cd-rw antoweb Mandriva 4 12-04-2003 10:37 AM
problem w/ mounting cd rom drive @ in new help ryrules125 Linux - Hardware 3 03-13-2003 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration