Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
49 views
Is it possible to avoid cdrecord countdown, and start write immediately/
Cdrecord said.. "Last chance to quit..starting real write in..seconds" My question is, is it possible to avoid countdown and start immediately?
Cdrecord said.. "Last chance to quit..starting real write in..seconds" My question is, is it possible to avoid countdown and start immediately?
elbarna (13690 rep)
Jul 27, 2025, 08:36 PM • Last activity: Jul 28, 2025, 12:04 AM
2 votes
2 answers
1101 views
Can't mount CD/DVD in Debian testing ("Can't open blockdev"), but it works in Windows 10
I can't mount any CD or DVD in my drive.  BUT, I have Windows 10 in dual boot, and I can read any CD/DVD in Windows without issues. In this image, "DVD-RW backup" is the DVD-RW label.  Title message in English: **Was not possible to mount DVD-RW backup** (or "Unable to mount", or "Can't mo...
I can't mount any CD or DVD in my drive.  BUT, I have Windows 10 in dual boot, and I can read any CD/DVD in Windows without issues. In this image, "DVD-RW backup" is the DVD-RW label.  Title message in English: **Was not possible to mount DVD-RW backup** (or "Unable to mount", or "Can't mount", etc.). can’t mount - **OS**: Debian GNU/Linux trixie/sid - **Kernel**: 6.12.12-amd64 x86_64 - **Device**: ATAPI iHAS122 W Errors:
$ sudo mount /dev/sr0 /mnt
mount: /mnt: fsconfig system call failed: /dev/sr0: Can't open blockdev.
       dmesg(1) may have more information after failed mount system call.

$ sudo mount /dev/sr0/pktcdvd0 /mnt
mount: /mnt: fsconfig system call failed: /dev/sr0/pktcdvd0: Can't lookup blockdev.
       dmesg(1) may have more information after failed mount system call.
Here is the output of some commands:
$ sudo blkid /dev/sr0
/dev/sr0: UUID="67587414000011bf" LABEL="DVD-RW backup" BLOCK_SIZE="2048" TYPE="udf"

$ lsblk
sr0          11:0    1   2,3G  0 rom  
└─pktcdvd0  252:0    1   2,3G  0 disk

$ lsdvd
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
Can't open main ifo!

$ sudo dmesg | grep sr0
[    5.239165] sr 1:0:0:0: [sr0] scsi3-mmc drive: 94x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[    5.297610] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   90.583896] block (null): writer mapped to sr0

$ cdrwtool -i -d /dev/sr0
using device /dev/sr0
256KB internal buffer
setting write speed to 12x

DISC INFO:
	erasable : Yes
	border = 3
	Disc status = 2
	number of first track = 1
	number of sessions = 1
	number of tracks = 1
	status of last track = 1
	uru = 1
	did_v = 0
	dbc_v = 0
	disc type = 0
	disc_id = 0
	lead_in = 00:00:00 (0)
	lead_out = 00:00:00 (0)
	OPC entries = 0

TRACK INFO:

Track 1
	track_number = 1
	session_number = 1
	damage = 0
	copy = 0
	track_mode = 4
	Rt = 0
	blank = 0
	packet = 1
	fp = 1
	data_mode = 1
	lra_v = 0
	nwa_v = 0
	track_start = 0
	next_writable = 0
	last_recorded = 0
	free_blocks = 0
	packet_size = 16
	track_size = 1227456 (2454912KB)
can't unlock door
Here is the output from udevram:
$ udevadm info -n /dev/sr0                                        
P: /devices/pci0000:00/0000:00:02.1/0000:04:00.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0
M: sr0
R: 0
J: b11:0
U: block
T: disk
D: b 11:0
N: sr0
L: -100
S: disk/by-label/DVD-RW\x20backup
S: disk/by-uuid/67587414000011bf
S: disk/by-id/ata-ATAPI_iHAS122_W_3522540_207325501228
S: disk/by-path/pci-0000:04:00.1-ata-2.0
S: disk/by-path/pci-0000:04:00.1-ata-2
S: disk/by-diskseq/8
S: cdrom
Q: 8
E: DEVPATH=/devices/pci0000:00/0000:00:02.1/0000:04:00.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0
E: DEVNAME=/dev/sr0
E: DEVTYPE=disk
E: DISKSEQ=8
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=5297510
E: ID_CDROM=1
E: SYSTEMD_MOUNT_DEVICE_BOUND=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
P: /devices/pci0000:00/0000:00:02.1/0000:04:00.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0
M: sr0
R: 0
J: b11:0
U: block
T: disk
D: b 11:0
N: sr0
L: -100
S: disk/by-label/DVD-RW\x20backup
S: disk/by-uuid/67587414000011bf
S: disk/by-id/ata-ATAPI_iHAS122_W_3522540_207325501228
S: disk/by-path/pci-0000:04:00.1-ata-2.0
S: disk/by-path/pci-0000:04:00.1-ata-2
S: disk/by-diskseq/8
S: cdrom
Q: 8
E: DEVPATH=/devices/pci0000:00/0000:00:02.1/0000:04:00.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0
E: DEVNAME=/dev/sr0
E: DEVTYPE=disk
E: DISKSEQ=8
E: MAJOR=11
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=5297510
E: ID_CDROM=1
E: SYSTEMD_MOUNT_DEVICE_BOUND=1
E: ID_CDROM_CD_R=1
E: ID_CDROM_CD_RW=1
E: ID_CDROM_DVD=1
E: ID_CDROM_DVD_R=1
E: ID_CDROM_DVD_RAM=1
E: ID_CDROM_MRW=1
E: ID_CDROM_MRW_W=1
E: ID_CDROM_DVD_PLUS_R_DL=1
E: ID_CDROM_DVD_PLUS_R=1
E: ID_CDROM_DVD_PLUS_RW=1
E: ID_CDROM_DVD_R_DL_JR=1
E: ID_CDROM_DVD_R_DL_SEQ=1
E: ID_CDROM_DVD_RW_SEQ=1
E: ID_CDROM_DVD_RW_RO=1
E: ID_CDROM_CD=1
E: ID_CDROM_RW_REMOVABLE=1
E: ID_CDROM_DVD_RW=1
E: ID_CDROM_DVD_R_DL=1
E: ID_CDROM_MEDIA=1
E: ID_CDROM_MEDIA_DVD_RW_RO=1
E: ID_CDROM_MEDIA_DVD_RW=1
E: ID_CDROM_MEDIA_STATE=complete
E: ID_CDROM_MEDIA_SESSION_COUNT=1
E: ID_CDROM_MEDIA_TRACK_COUNT=1
E: ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
E: ID_ATA=1
E: ID_TYPE=cd
E: ID_BUS=ata
E: ID_MODEL=ATAPI_iHAS122_W
E: ID_MODEL_ENC=ATAPI\x20\x20\x20iHAS122\x20\x20\x20W\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
E: ID_REVISION=PL06
E: ID_SERIAL=ATAPI_iHAS122_W_3522540_207325501228
E: ID_SERIAL_SHORT=3522540_207325501228
E: ID_ATA_FEATURE_SET_PM=1
E: ID_ATA_FEATURE_SET_PM_ENABLED=1
E: ID_ATA_SATA=1
E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E: ID_ATA_PERIPHERAL_DEVICE_TYPE=5
E: ID_PATH=pci-0000:04:00.1-ata-2.0
E: ID_PATH_TAG=pci-0000_04_00_1-ata-2_0
E: ID_PATH_ATA_COMPAT=pci-0000:04:00.1-ata-2
E: ID_FS_VOLUME_ID=DVD-RW\x20backup
E: ID_FS_UUID=67587414000011bf
E: ID_FS_UUID_ENC=67587414000011bf
E: ID_FS_VOLUME_SET_ID=67587414000011BF
E: ID_FS_APPLICATION_ID=genisoimage
E: ID_FS_LABEL=DVD-RW_backup
E: ID_FS_LABEL_ENC=DVD-RW\x20backup
E: ID_FS_LOGICAL_VOLUME_ID=DVD-RW\x20backup
E: ID_FS_VERSION=1.02
E: ID_FS_BLOCKSIZE=2048
E: ID_FS_TYPE=udf
E: ID_FS_USAGE=filesystem
E: ID_FOR_SEAT=block-pci-0000_04_00_1-ata-2_0
E: DEVLINKS=/dev/disk/by-label/DVD-RW\x20backup /dev/disk/by-uuid/67587414000011bf /dev/disk/by-id/ata-ATAPI_iHAS122_W_3522540_207325501228 /dev/disk/by-path/pci-0000:04:00.1-ata-2.0 /dev/disk/by-path/pci-0000:>
E: TAGS=:systemd:uaccess:seat:
E: CURRENT_TAGS=:systemd:uaccess:seat:

EDITION of February 15, 2025

The problem seems to be with RW media. Recently it started working again: I was able to read a commercial CD from a German course, a movie recorded on DVD-R, an audio CD bought from a store, etc. But when I insert a CD or DVD-RW, the dreaded pktcdvd0 appears. I did a test, I burned an ISO to DVD-RW using growisofs. It worked, it burned without problems. However, right after burning, it did not eject the DVD automatically, and it was unable to read the burned DVD, showing the same error reported above. I was unable to read any other media: audio CD, German course, etc. The command eject /dev/sr0 did not work, but the drive eject button always works. I had to reset the PC and then I was able to read the other media.
$ sudo cat /sys/kernel/debug/pktcdvd/pktcdvd0/info   
Writer pktcdvd0 mapped to sr0:

Settings:
	packet size:		0kB
	write type:		Packet
	packet type:		Variable
	link loss:		0
	track mode:		0
	block mode:		Unknown

Statistics:
	packets started:	0
	packets ended:		0
	written:		0kB
	read gather:		0kB
	read:			0kB

Misc:
	reference count:	2
	flags:			0x0
	read speed:		0kB/s
	write speed:		0kB/s
	start offset:		0
	mode page offset:	0

Queue state:
	bios queued:		0
	bios pending:		0
	current sector:		0x0
	state:			i:0 ow:0 rw:0 ww:0 rec:0 fin:0
	write congestion marks:	off=9000 on=10000
Also, when a CD/DVD-RW is inserted, pktcdvd0 never disappears (even after midia ejection). I need to restart the PC if I want to use the CD Burner again. In this example, DVD-RW was already ejected:
$ lsblk
sr0          11:0    1   2,3G  0 rom  
└─pktcdvd0  252:0    1   2,3G  0 disk

$ sudo pktsetup -s      
 0 : 252:0 -> 11:0

$ sudo pktsetup -d 252:0                         
pktsetup: Error: Can't tear down packet device '252:0': Device or resource busy

EDITION of February 16, 2025

Found the same issue: - Linux Mint Forum: Issues with DVD+RW not ejecting or mounting - Linux.org: Unable to mount or eject DVD+RW
Daniel (432 rep)
Feb 14, 2025, 06:12 PM • Last activity: Feb 17, 2025, 07:27 PM
1 votes
1 answers
91 views
Unique device path for generic SCSI device /dev/sgX
[This is on Debian 12] To fully access my DVD drive, I need to also know its SCSI generic path (`/dev/sgX`) in addition to its expected CDROM-`/dev/srX` path. The specific device is important, though, and I need to access the device even if the system re-shuffles the `/dev/srX`s and `/dev/sgX`s. ```...
[This is on Debian 12] To fully access my DVD drive, I need to also know its SCSI generic path (/dev/sgX) in addition to its expected CDROM-/dev/srX path. The specific device is important, though, and I need to access the device even if the system re-shuffles the /dev/srXs and /dev/sgXs.
sudo lsscsi -g
[3:0:0:0]    cd/dvd  HL-DT-ST BD-RE  WH16NS60  1.05  /dev/sr0   /dev/sg3
sudo blkid /dev/sr0
/dev/sr0: UUID="035bbeef20202020" LABEL="WALDEINSAMKEIT" BLOCK_SIZE="2048" TYPE="udf"

sudo blkid /dev/sg3
/dev/sr0 is set with a /dev/disk/by-uuid/035bbeef20202020 but if /dev/sg3 doesn't actually have a UUID (I'm guessing it's not seen as a block device), I could go for the full controller/system path, per this Linus rant I found https://yarchive.net/comp/linux/scsi_ids.html
sudo udevadm info -q path -n /dev/sr0
/devices/pci0000:00/0000:00:17.0/ata4/host3/target3:0:0/3:0:0:0/block/sr0

sudo udevadm info -q path -n /dev/sg3
/devices/pci0000:00/0000:00:17.0/ata4/host3/target3:0:0/3:0:0:0/scsi_generic/sg3
This does not seem like a solution either, as the path includes sr0 or sg3 which will change order. /sys/devices/pci0000:00/0000:00:17.0/ata4/host3/target3:0:0/3:0:0:0 seems to be a directory the device is referencing but I can't find anything more than the folders block/sr0 and scsi_generic/sg3 which again revert to the original problem of sr0 and sg3 changing if the system cables are reordered or something. How can I get a consistent identifier for /dev/sg3? I have searched hard, but I must be missing a command.
user2403531 (113 rep)
Nov 19, 2024, 10:27 PM • Last activity: Nov 20, 2024, 12:35 PM
36 votes
6 answers
72787 views
How can I convert a .cue / .bin ( with cdr tracks) image into a single .iso file?
How can I convert a .cue / .bin (cdr track) image into a single .iso file? I have Fedora 16 (x86-64) Linux 3.1.9-1.fc16.x86_64 #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
How can I convert a .cue / .bin (cdr track) image into a single .iso file? I have Fedora 16 (x86-64) Linux 3.1.9-1.fc16.x86_64 #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Rafael (462 rep)
Jan 22, 2012, 01:27 AM • Last activity: Sep 3, 2024, 07:28 PM
-1 votes
1 answers
68 views
CD problem in linux
I burned some images, python files and PDFs to CD in Win 10 but now I'm using Arch Linux and it won't read the CD. The CD is not damaged (that is, it is good) and when I look at it with lsblk, it shows 32G, but it is 700MB and I cannot connect it via mount (noise started coming from the CD slot, I p...
I burned some images, python files and PDFs to CD in Win 10 but now I'm using Arch Linux and it won't read the CD. The CD is not damaged (that is, it is good) and when I look at it with lsblk, it shows 32G, but it is 700MB and I cannot connect it via mount (noise started coming from the CD slot, I pressed the button to eject the CD and the CD spun quickly and came out).
sudo dmesg | grep sr0

[2.143778] sr 5:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[2.211837] sr 5:0:0:0: Attached scsi CD-ROM sr0
[ 7904.750410] EXT4-fs (sr0): VFS: Can't find ext4 filesystem
[ 7904.970422] FAT-fs (sr0): bogus number of reserved sectors
[ 7904.970429] FAT-fs (sr0): Can't find a valid FAT filesystem
And sudo blkid /dev/sr0 (The CD is still inserted into the computer) I ran it and the output was empty. Do I need to try this on a computer running Windows? Image I probably selected it as above on my old computer. The photo is not mine from the internet
SONER YILDIRIM (5 rep)
Aug 26, 2024, 03:27 PM • Last activity: Aug 26, 2024, 05:13 PM
0 votes
1 answers
46 views
Command to pull in CD drive
I'd like to digitalize my CD collection. The quickest way to do this is to make a command that pulls in the CD drive, invokes abcde to rip and auto-eject the drive, and bind that command to a key. The only part needed to write that command that I don't know is what command can be used to pull in my...
I'd like to digitalize my CD collection. The quickest way to do this is to make a command that pulls in the CD drive, invokes abcde to rip and auto-eject the drive, and bind that command to a key. The only part needed to write that command that I don't know is what command can be used to pull in my CD drive automatically, basically an inverse of eject. Does anyone know such a command?
Alexander Praehauser (221 rep)
Aug 10, 2024, 06:53 PM • Last activity: Aug 10, 2024, 07:06 PM
15 votes
5 answers
25047 views
Is there a CD/DVD disk reading test tool for Linux?
When I was using DOS and Windows I've seen quite a selection of tools to check optical disks for readability and benchmark an optical drive itself. Most of them were even visualising the results in form of a pretty chart. Are there any such for GNU/Linux OSes? I'd prefer to have a full-featured visu...
When I was using DOS and Windows I've seen quite a selection of tools to check optical disks for readability and benchmark an optical drive itself. Most of them were even visualising the results in form of a pretty chart. Are there any such for GNU/Linux OSes? I'd prefer to have a full-featured visual GUI tool, but for the particular case I've got now, I just need to check if my CD drive can read every byte of a particular heavily-scratched CD-RW disk.
Ivan (18358 rep)
Jan 12, 2011, 12:00 AM • Last activity: May 19, 2024, 05:48 PM
0 votes
1 answers
768 views
How to mount AARUF CD image?
I have a CD image file which has AARUF as its filename extension and I want to access its files. Using `file`, I don't get any further information about the format: $ file image.aaruf image.aaruf: data $ Trying to mount the image with `fuseiso` results in errors: > init: wrong standard identifier in...
I have a CD image file which has AARUF as its filename extension and I want to access its files. Using file, I don't get any further information about the format: $ file image.aaruf image.aaruf: data $ Trying to mount the image with fuseiso results in errors: > init: wrong standard identifier in volume descriptor 0, skipping.. > init: wrong standard identifier in volume descriptor 1, skipping.. > init: wrong standard identifier in volume descriptor 2, skipping.. > init: wrong standard identifier in volume descriptor 3, skipping.. > init: wrong standard identifier in volume descriptor 4, skipping.. > init: wrong standard identifier in volume descriptor 5, skipping.. > init: wrong standard identifier in volume descriptor 6, skipping.. > init: wrong standard identifier in volume descriptor 7, skipping..
finefoot (3554 rep)
Apr 15, 2024, 10:56 PM • Last activity: Apr 15, 2024, 11:03 PM
1 votes
1 answers
151 views
How can I read the RID of a CDRW or DVDRW on Linux?
This question is inspired by [_this answer on SuperUser_](https://superuser.com/a/1828714/11116) by Proger_Cbsk. The RID is the Recorder IDentification. It uniquely identifies the drive that wrote the CD/DVD. What software if anything can read the RID written by a CD-RW, or DVD-RW? According to the...
This question is inspired by [_this answer on SuperUser_](https://superuser.com/a/1828714/11116) by Proger_Cbsk. The RID is the Recorder IDentification. It uniquely identifies the drive that wrote the CD/DVD. What software if anything can read the RID written by a CD-RW, or DVD-RW? According to the linked answer, > Oddly, the INCITS standard has a command to read the RID in a DVDR, but not for a CDR ! I would like to read the RID of a CD and DVD, * DVDR: I would like to know how to issue the standardized command to read the RID * CDR: I would like to do the same for CDRs. If this is drive-vendor specific, that is fine. I will purchase that drive.
Evan Carroll (34663 rep)
Feb 5, 2024, 01:36 AM • Last activity: Feb 6, 2024, 04:16 PM
-1 votes
1 answers
93 views
CD-ROM drive fails to open/recognize inserted cd in Legacy boot mode
Recently I wanted to check that I'm able to read cd/dvd disks. No my surprise my "old" laptop failed to do so. After investigating today I've found out cd drive works on Linux Mint 17.x booted in both legacy and UEFI modes and for Linux Mint 20 it works only if booted in UEFI mode. In Legacy mode LM...
Recently I wanted to check that I'm able to read cd/dvd disks. No my surprise my "old" laptop failed to do so. After investigating today I've found out cd drive works on Linux Mint 17.x booted in both legacy and UEFI modes and for Linux Mint 20 it works only if booted in UEFI mode. In Legacy mode LM 20 first terminal command eject sr0 took a long time, drive had not opened, next time it returned immediately w/out any visible effect. journalctl shows nothing at that time, overall near the end ata2.00: revalidation failed. If drive is open with external button, inserted cd disk is not shown in disks GUI (no media, CD/DVD drive itself is shown as /dev/sr0). Why is there a difference how I boot the distro? Where/what to investigate further? I'd like to understand and fix the issue. TIA
Alex Martian (1287 rep)
Nov 30, 2023, 12:39 AM • Last activity: Nov 30, 2023, 09:40 AM
0 votes
1 answers
504 views
Making USB to SATA DVD drive show up as sr0 in Debian
I have a WH16NS40 DVD drive that I want to use on my Debian 12 virtual machine. The drive is inside a Vantec NexStar DX2 USB 3.0 external enclosure, which connects to the DVD drive via a standard SATA cable. I had it working and was able to read and write ISOs to discs from my Debian 12 workstation,...
I have a WH16NS40 DVD drive that I want to use on my Debian 12 virtual machine. The drive is inside a Vantec NexStar DX2 USB 3.0 external enclosure, which connects to the DVD drive via a standard SATA cable. I had it working and was able to read and write ISOs to discs from my Debian 12 workstation, but when I plugged it into my hypervisor (Proxmox) and passed the USB device through to the VM, it does not show up as sr0 in lsblk and is not in /dev for sr0. The USB part does show up though, as shown below. lsusb
Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
lshw
*-usb
                      description: Mass storage device
                      product: USB to ATA/ATAPI Bridge
                      vendor: JMicron
                      physical id: 1
                      bus info: usb@2:1
                      version: 4.15
                      serial: 0123456789ABCDEF
                      capabilities: usb-2.10 scsi
                      configuration: driver=usb-storage maxpower=30mA speed=480Mbit/s
dmesg output:
[    1.418561] usb 2-1: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 4.15
[    1.418564] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.418565] usb 2-1: Product: USB to ATA/ATAPI Bridge
[    1.418566] usb 2-1: Manufacturer: JMicron
[    1.418566] usb 2-1: SerialNumber: 0123456789ABCDEF
[    1.422595] usb-storage 2-1:1.0: USB Mass Storage device detected
[    1.422697] usb-storage 2-1:1.0: Quirks match for vid 152d pid 0578: 1000000
[    1.422734] scsi host3: usb-storage 2-1:1.0
[    1.422797] usbcore: registered new interface driver usb-storage
[    1.423715] usbcore: registered new interface driver uas
Even before I put a disc in the drive, it was present in my workstation as /dev/sr0. But not here. My workstation is running KDE desktop, are there packages that come with KDE that make detecting these USB enclosures more accurate? How can I force the OS to consider this USB device a CDROM device and assign it as sr0? Thanks in advance!
bdrun33 (1 rep)
Nov 22, 2023, 01:19 AM • Last activity: Nov 22, 2023, 07:18 PM
0 votes
1 answers
992 views
Can't mount a cdrom in Manjaro
I tried mounting my cdrom in linux so i researched a little (i found articles like [this][1] or [this][2]) But every time i enter any of the mount commands in the articles i get this error:    /mnt  sudo mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom  32 ✘ mount: /mnt/cdrom: wrong fs type, bad opti...
I tried mounting my cdrom in linux so i researched a little (i found articles like this or this ) But every time i enter any of the mount commands in the articles i get this error:    /mnt  sudo mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom  32 ✘ mount: /mnt/cdrom: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call. or this error:    /mnt  sudo mount -o ro /dev/sr0 /mnt/cdrom  ✔ [sudo] password for customcheat: mount: /mnt/cdrom: can't read superblock on /dev/sr0. dmesg(1) may have more information after failed mount system call. output of dmesg is here: https://pastebin.com/XSA8wEEH here is the output for inxi:    ~  inxi --optical  127 ✘ Drives: Local Storage: total: 3.87 TiB used: 871.47 GiB (22.0%) ID-1: /dev/sda vendor: Western Digital model: WDS250G1B0B-00AS40 size: 232.89 GiB ID-2: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB Optical-1: /dev/sr0 vendor: ASUS model: DRW-24D5MT dev-links: cdrom Features: speed: 12 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram I use linux daily, but Im not that experienced so can someone please help me? Thanks.
CustomCheat (1 rep)
Apr 27, 2022, 05:55 PM • Last activity: Apr 24, 2023, 03:13 AM
1 votes
0 answers
351 views
Install Samba package from ISO file or CDROM
I have an old server which is running Ubuntu Linux 16.04 in a lab environment. It is not not possible to upgrade to the new Ubuntu version due to hardware capacity. I decided to keep it and us it as normal (security issue is not a problem). I need to install samba package but I can't get this packag...
I have an old server which is running Ubuntu Linux 16.04 in a lab environment. It is not not possible to upgrade to the new Ubuntu version due to hardware capacity. I decided to keep it and us it as normal (security issue is not a problem). I need to install samba package but I can't get this package from the repository anymore. I have an ISO file of this distro and also burn into a CDROM. I have checked the document about select the CDROM as the source of installation but when I tried to do that the system still keep asking me to connect to internet. I tried to review the configuration file many time but seem nothing wrong but I still can't install the samba package from this media. If anyone has any solution please kindly let me know how I can fix this problem or is there any offline .deb package that I can't install samba on my Linux? Thank, Kanel
Kanel Roath (11 rep)
Mar 29, 2023, 02:40 PM
0 votes
1 answers
82 views
Check if computer have a CDROM?
ALL, In the past there was a standard to have a floppy drive on the computer. Now even CD-ROM is optional. Is there a way to find out if the device is present on the machine? Not mounted, not the disk in - just check for the actual physical device presence on the laptop. If its at all possible with...
ALL, In the past there was a standard to have a floppy drive on the computer. Now even CD-ROM is optional. Is there a way to find out if the device is present on the machine? Not mounted, not the disk in - just check for the actual physical device presence on the laptop. If its at all possible with GTK+ - it would be great. Otherwise maybe just with a system command. TIA!! I couldn't find any "cdrom" tags, so just marked it as hardware
Igor (253 rep)
Mar 9, 2023, 01:17 AM • Last activity: Mar 9, 2023, 06:33 AM
1 votes
1 answers
133 views
What is LSN in the cd-info track list?
When I run cd-info the track list looks like this: CD-ROM Track List (1 - 1) #: MSF LSN Type Green? Copy? 1: 00:02:00 000000 data false no 170: 68:17:27 307152 leadout (688 MB raw, 599 MB formatted) What does LSN mean and what does it stand for? I checked the man page and Google and found nothing!
When I run cd-info the track list looks like this: CD-ROM Track List (1 - 1) #: MSF LSN Type Green? Copy? 1: 00:02:00 000000 data false no 170: 68:17:27 307152 leadout (688 MB raw, 599 MB formatted) What does LSN mean and what does it stand for? I checked the man page and Google and found nothing!
zomega (1012 rep)
Nov 18, 2022, 04:16 PM • Last activity: Nov 18, 2022, 04:29 PM
1 votes
1 answers
144 views
Hotswapping CDs on Linux
Right now I'm trying to install Battlefield 2 from CD-ROM on my Linux computer (I know Battlefield 2 is a little old now but I couldn't care less). Of course, it needs to be run under Wine, and luckily for me Wine isn't the issue yet. The issue is that once the installer asks for Disk 2 to be insert...
Right now I'm trying to install Battlefield 2 from CD-ROM on my Linux computer (I know Battlefield 2 is a little old now but I couldn't care less). Of course, it needs to be run under Wine, and luckily for me Wine isn't the issue yet. The issue is that once the installer asks for Disk 2 to be inserted, it doesn't get detected. I know pretty confidently that the issue is that the second disk just isn't being recognized as a new disk somewhere in the kernel which causes big problem and that the issue is that the disk isn't being unmounted properly, but I can't unmount the disk properly, since that would require that the installer gets killed. I tried a bunch of AHCI and SCSI tricks, but to no avail. If lsblk can tell the disk is different, there should be a way to tell unaware parts of the system about it, but I'm not sure how. Help pls
inzig0 (49 rep)
Oct 31, 2022, 04:48 AM • Last activity: Oct 31, 2022, 09:42 AM
2 votes
2 answers
467 views
Set +x executable permission on a CD-ROM
I want to add +x permission executable on my ISO. So I can run it directly on Linux host when clicking my CD-ROM. I tried `sudo chmod 555 tester` and then burned it on ISO, but the tester only had read permission on ISO
I want to add +x permission executable on my ISO. So I can run it directly on Linux host when clicking my CD-ROM. I tried sudo chmod 555 tester and then burned it on ISO, but the tester only had read permission on ISO
HHCC (23 rep)
Oct 24, 2022, 04:42 AM • Last activity: Oct 27, 2022, 02:08 PM
0 votes
0 answers
1758 views
INVALID: RHEL 7.9 not detecting CD drive, no /dev/sr0
I am trying to mount a CD on a RHEL 7.9 system. It is an internal drive and works fine. It opens, closes and you can here it spinning up. When I put a CD into the drive and attempt to mount it, I do not see `/dev/sr0`. When I run `sudo blkid` I do not see any information for a CD drive. Could the dr...
I am trying to mount a CD on a RHEL 7.9 system. It is an internal drive and works fine. It opens, closes and you can here it spinning up. When I put a CD into the drive and attempt to mount it, I do not see /dev/sr0. When I run sudo blkid I do not see any information for a CD drive. Could the drive be blocked somewhere on Red Hat? I have verified it is not disabled in the BIOS.
Eric Hanlon (1 rep)
Oct 25, 2022, 03:08 PM • Last activity: Oct 25, 2022, 05:34 PM
1 votes
1 answers
274 views
dd stops copying mid-way through a CD
I got a couple of old disks I'm trying to copy over to a HDD. Some of the disks worked fine and I was able to copy them using just `mount` and `rsync`, however as is it with old disks, some of the disks were failing to mount. I tired using `dd` to make an image of them and then ran `photorec` to get...
I got a couple of old disks I'm trying to copy over to a HDD. Some of the disks worked fine and I was able to copy them using just mount and rsync, however as is it with old disks, some of the disks were failing to mount. I tired using dd to make an image of them and then ran photorec to get the files out. This worked upto some extent. My files were recovered, however I noticed that dd was only copying about half (1.5Gb out of 4.7Gb) disks for some of the drives. This was causing photorec to only recover about half of the video on the disk (Is there some better way to recover these files from the disk?) I was wondering if some unreadable section was encountered and dd just stopped copying, if so, is it possible to instruct dd to make a copy of the whole 4.7gb disk? Command I ran: dd if=input of=output
DentFuse (35 rep)
Oct 5, 2022, 12:49 PM • Last activity: Oct 5, 2022, 01:44 PM
0 votes
0 answers
191 views
Block special file for first session of multisession CD
I have a multisession CD. The first session is CD audio tracks and the second is an SVCD q.v. "CD Extra" and "Blue book". When played on a CD player, the audio tracks are (until recently) heard; when played on an appropriate video player, the SVCD (until recently) plays. The two "until recently"s in...
I have a multisession CD. The first session is CD audio tracks and the second is an SVCD q.v. "CD Extra" and "Blue book". When played on a CD player, the audio tracks are (until recently) heard; when played on an appropriate video player, the SVCD (until recently) plays. The two "until recently"s in that description highlight my problem -- the disk is starting to degrade and I need to extract the data from it. My go-to for this task is GNU ddrescue . However, ddrescue interacts with a device special file, not a mounted volume. (So the "session=*x*" option to mount for various optical medium filesystems is useless.) For convenience, suppose that /dev/sr0 is the device special file that unhelpfully only represents the last session on the disc (as can be seen from cdrom.c's description of the CDROMMULTISESSION ioctl). Is there a way to * issue an IOCTL to /dev/sr0 to change which session it is bound to, * invoke mknod that will somehow bind the resulting device file to a particular session, or * create a set of block special devices for each session of a multisession disc (similar to sda1, sda2, ..., sda*n* for partitions on a fixed disk)? (For bonus points, is there a standard container for multisession disks that allow the extracted ISOs to be combined so the entire medium is presented to WINE, dosemu, and/or VM software? This would be handy for another multisession CD I have -- session 1 is a Win98SE only (and I mean seriously, ONLY, neither WINE nor WinMe nor subsequent Windowss have been able to run this binary) program that uses the audio tracks in session 2. My last machine that can still run Win98SE is fine, but that won't last forever -- when it fails, I need to be able to present that multisession disk to a VM in a format that works. Maybe there's a sneaky way to abuse loop for this purpose.)
Eric Towers (236 rep)
Jul 4, 2021, 10:26 PM
Showing page 1 of 20 total questions