No medium found on dev sr0 linux

Linux Mint Forums

LM17.3: ‘Mount: no medium found on /dev/sr0’ error

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

LM17.3: ‘Mount: no medium found on /dev/sr0’ error

Post by GreenFrog » Tue Mar 29, 2016 12:45 pm

My dvd drive is not very responsive: when I insert a dvd or a data cd in the drive and I use either Image Viewer, VLC or Xfburn, I have got the following error message:

Unable to access “dvd-rw” mount: block device /dev/sr0 is write-protected, mounting read-only mount: no medium found on /dev/sr0 
sudo mkdir /media/dvd-rw sudo chown user:user /media/dvd-rw In fstab, using sudo leafpad /etc/fstab/ I added this line: /dev/sr0 /media/dvd-rw udf,iso9660 rw,user,noauto,exec,utf8 0 0 then sudo mount -a 

I also installed ubuntu-restricted-extras with Software Manager.

System: Kernel: 3.19.0-56-generic x86_64 (64 bit gcc: 4.8.2) Desktop: Cinnamon 2.8.7 (Gtk 3.10.8~8+qiana) Distro: Linux Mint 17.3 Rosa . Drives: HDD Total Size: 2120.4GB (1.1% used) ID-1: /dev/sda model: KINGSTON_SV300S3 size: 120.0GB temp: 28C ID-2: /dev/sdb model: ST2000DM001 size: 2000.4GB temp: 31C Optical: /dev/sr0 model: HL-DT-ST BD-RE BH16NS40 rev: 1.03 dev-links: cdrom Features: speed: 48x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 

The command ‘ls -l /media/dvd-rw’ gives me ‘total 0’ as output.

So should I swap the LG dvd drive for another one?

Thank you for your help,
Guy

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

kukamuumuka Level 16
Posts: 6705 Joined: Tue Sep 03, 2013 4:51 am Location: Finland Contact:

Re: LM17.3: ‘Mount: no medium found on /dev/sr0’ error

Post by kukamuumuka » Wed Mar 30, 2016 12:30 am

groups sudo adduser your_username cdrom

Re: LM17.3: ‘Mount: no medium found on /dev/sr0’ error

Post by GreenFrog » Wed Mar 30, 2016 1:45 am

Читайте также:  Linux change owner on folder

Re: LM17.3: ‘Mount: no medium found on /dev/sr0’ error

Post by GreenFrog » Wed Mar 30, 2016 1:15 pm

[ 1.194364] scsi 4:0:0:0: CD-ROM HL-DT-ST BD-RE BH16NS40 1.03 PQ: 0 ANSI: 5 [ 1.242965] usb 1-8: new low-speed USB device number 3 using xhci_hcd [ 1.294850] sr 4:0:0:0: [sr0] scsi3-mmc drive: 0x/48x writer dvd-ram cd/rw xa/form2 cdda tray [ 1.294852] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 1.295033] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 1.295153] sr 4:0:0:0: Attached scsi generic sg2 type 5 [ 1.380048] usb 1-8: New USB device found, idVendor=046d, idProduct=c31c [ 1.380050] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.380051] usb 1-8: Product: USB Keyboard [ 1.380052] usb 1-8: Manufacturer: Logitech [ 1.380142] usb 1-8: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes [ 1.380144] usb 1-8: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes [ 1.384760] input: Logitech USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:046D:C31C.0002/input/input7 

Question 1: why is it ‘[sr0] scsi3-mmc drive: 0x/48x writer’ and not ‘. 48x/48x’?

I installed libcdio-utils and udftools
sudo apt-get install libcdio-utils
sudo apt-get install udftools

cd-drive version 0.83 x86_64-pc-linux-gnu Copyright (c) 2003, 2004, 2005, 2007, 2008, 2011 R. Bernstein This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The driver selected is GNU/Linux The default device for this driver is /dev/cdrom Drivers available. GNU/Linux ioctl and MMC driver cdrdao (TOC) disk image driver bin/cuesheet disk image driver Nero NRG disk image driver CD-ROM drive supports MMC 3 Drive: /dev/cdrom Vendor : HL-DT-ST Model : BD-RE BH16NS40 Revision : 1.03 . 

Question 2: /dev/cdrom seems to be the default drive, it should be /dev/sr0, shouldn’t it?

Источник

‘/dev/sr0’: No medium found

это я исключаю, т.к. при перезагрузке модулей sr_mod и cdrom и многократной попытки обратится к диску, он всё таки отвечает, а потом ещё и корректно читается.

[[email protected] treekool]# rmmod sr_mod;rmmod cdrom [[email protected] treekool]# modprobe sr_mod;modprobe cdrom [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null #Вставил диск в дисковод. и много раз тыкаю стрелочку вверх и энтр. dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null dd: не удалось открыть «/dev/sr0»: Носитель не найден [[email protected] treekool]# dd if=/dev/sr0 of=/dev/null ^[[A^C40161+0 записей получено 40160+0 записей отправлено скопировано 20561920 байт (21 MB), 10,2357 c, 2,0 MB/c [[email protected] treekool]#
[ 115.890971]Pid: 849, comm: modprobe Tainted: P O 3.8.3-2-zen #1 [ 115.890974] Call Trace: [ 115.890984] [] warn_slowpath_common+0x7f/0xc0 [ 115.890989] [] warn_slowpath_null+0x1a/0x20 [ 115.890995] [] blk_queue_bypass_end+0x6c/0x80 [ 115.891001] [] blk_register_queue+0x40/0x130 [ 115.891007] [] add_disk+0x1c8/0x490 [ 115.891016] [] sr_probe+0x4fb/0x560 [sr_mod] [ 115.891028] [] driver_probe_device+0x8b/0x3a0 [ 115.891034] [] __driver_attach+0xab/0xb0 [ 115.891039] [] ? driver_probe_device+0x3a0/0x3a0 [ 115.891045] [] bus_for_each_dev+0x5d/0xa0 [ 115.891051] [] driver_attach+0x1e/0x20 [ 115.891056] [] bus_add_driver+0x1a0/0x290 [ 115.891062] [] ? 0xffffffffa0059fff [ 115.891067] [] driver_register+0x77/0x170 [ 115.891073] [] ? 0xffffffffa0059fff [ 115.891086] [] scsi_register_driver+0x16/0x20 [scsi_mod] [ 115.891094] [] init_sr+0x29/0x46 [sr_mod] [ 115.891100] [] do_one_initcall+0x12a/0x180 [ 115.891108] [] load_module+0x1923/0x2180 [ 115.891116] [] ? ddebug_proc_show+0x100/0x100 [ 115.891123] [] ? insert_vmalloc_vmlist+0x6b/0x80 [ 115.891129] [] sys_init_module+0xb2/0x100 [ 115.891137] [] system_call_fastpath+0x1a/0x1f [ 115.891141] ---[ end trace fb5d4a3b624f7a43 ]--- [ 115.891239] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 152.855773] sr0: scsi3-mmc drive: 24x/8x writer dvd-ram cd/rw xa/form2 cdda tray [ 152.856065] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 178.207418] cdrom: Uniform CD-ROM driver unloaded [ 191.697980] sr0: scsi3-mmc drive: 24x/8x writer dvd-ram cd/rw xa/form2 cdda tray [ 191.697985] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 191.698191] sr 1:0:0:0: Attached scsi CD-ROM sr0 [ 208.510997] UDF-fs: Partition marked readonly; forcing readonly mount [ 208.511008] UDF-fs: INFO Mounting volume 'films', timestamp 2013/01/21 23:04 (10f0) [ 240.795406] fuse init (API version 7.20)

Источник

Читайте также:  Linux file user rights

How do I fix «can’t open /dev/sr0: No medium found» on USB boot?

I tried to install Ubuntu 11.04 on my laptop using thumb drive, but it failed, even though I used the standard Startup Disk Creator utility. The laptop is a a Dell Studio 1536. The problem shows as:

stdin: error 0 /init: line 7: can't open /dev/sr0: No medium found . 

I’ve mounted ISO image from my home directory under the BusyBox shell, so the question is how to start the installation process from this stage?

12 Answers 12

I’ve had the same problem the entire night. It’s due to the installer not recognizing the USB drive after it’s booted to BusyBox.

To fix this, you need to press F6 and modify the boot options. First, remove «quiet splash» from the options and add «break debug» in it’s place. Continue installation as normal from this point. Eventually, it will break and you’ll be presented with the BusyBox shell, and see plenty of the errors relating to this.

Are you ready for the next step? I promise you, it’s an advanced manuver that even Han Solo himself would struggle to attempt.

Step 1: Unplug your USB drive

Step 2: Plug your USB drive back in

Step 3: Type exit and press

Step 4: Wait 5-30 seconds and you’ll be booted into your Ubuntu graphical installer.

Note: I’ve verified this works for Ubuntu and Linux Mint. I’ve been working on this problem for about 4 hours tonight and this is what worked for me, after trying every imaginable method of configuration flags for both the installer and BIOS. I am using a Toshiba Satellite C655D and using a 32GB USB 3.0 flash drive as the installation media.

Читайте также:  What you are referring to as linux

I hope this helps someone, as I was about to go back to Windows after this nightmare.

Источник

Оцените статью
Adblock
detector