Error messages like "error: /dev/sdb: No medium found" on booting
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | initramfs-tools (Ubuntu) |
Low
|
Unassigned | ||
Bug Description
I'm using Ubuntu 15.04 dev with udev 217-1ubuntu1 and for a few days I'm seeing on every boot errors like "error: /dev/sdb: No medium found". Here is the content of /var/log/boot.log:
Begin: Loading essential drivers ... done.
Begin: Running /scripts/
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdb: No medium found
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
done.
Begin: Running /scripts/
done.
Begin: Running /scripts/
* Setting up X socket directories... [210G
[204G[ OK ]
* cryptswap1 (running)... [210G * Starting early crypto disks... [210G
[204G[ OK ]
| summary: |
- error: /dev/sdb: No medium found + Errors messages like "error: /dev/sdb: No medium found" on booting |
| tags: | added: vivid |
| Bruce Pieterse (octoquad) wrote : Re: Errors messages like "error: /dev/sdb: No medium found" on booting | #1 |
| Launchpad Janitor (janitor) wrote : | #2 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in udev (Ubuntu): | |
| status: | New → Confirmed |
| Bruce Pieterse (octoquad) wrote : | #3 |
Perhaps these issues are connected some how: https:/
| Ubuntu QA Website (ubuntuqa) wrote : | #4 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
| tags: | added: iso-testing |
| affects: | udev (Ubuntu) → systemd (Ubuntu) |
| Martin Pitt (pitti) wrote : | #5 |
Most likely not in udev, as that doesn't ship a local-premount initramfs-tools script, but let's find out what's wrong for now. I don't see this on my systems, so I'm afraid I need to ask you to do some debugging. Can you please reboot and press the left shift key during that, so that the GRUB menu appears. Then press "e", append "debug=y" to the line starting with "linux", and press Ctrl-X to boot. Then please attach /var/log/boot.log.
Thanks!
| Changed in systemd (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Martin Pitt (pitti) wrote : | #7 |
Thanks, that already helps. Can you now please enable debugging of the 'resume' initramfs hook (which seems to produce those errors) with:
sudo sed -i '1 s/$/ -x/' /usr/share/
sudo update-initramfs -u
then reboot with the previous "debug=y" again, and re-attach /var/log/boot.log?
Please also give me the output of
cat /etc/initramfs-
Thanks!
| Changed in systemd (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Sworddragon (sworddragon) wrote : | #8 |
sworddragon@
RESUME=
| Changed in systemd (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Martin Pitt (pitti) wrote : | #9 |
That's odd, now the error messages are gone entirely, even though the only change is to add "set -x" to the resume premount script to show debug output. I have a gut feeling that the update-initramfs -u (which rebuilds the initramfs) somehow "fixed" this. Unfortunately we now lost the evidence what was wrong in the first place :-(
Anyway, the script shows nothing out of the ordinary. Can you remove the -x from the file again, with
sudo sed -i '1 s/ -x$//' /usr/share/
sudo update-initramfs -u
Just to double-check, is the error message coming back now?
| affects: | systemd (Ubuntu) → initramfs-tools (Ubuntu) |
| Changed in initramfs-tools (Ubuntu): | |
| status: | Confirmed → Incomplete |
| Sworddragon (sworddragon) wrote : | #10 |
> Just to double-check, is the error message coming back now?
Yes, I'm seeing the error messages again. Also on repeating the steps from comment #7 the boot.log contains now the error messages too (which is attached on this post). Just in case it has something to do with the logging behavior: There is also a /var/log/
starting version 218
Network interface NamePolicy= disabled on kernel command line, ignoring.
specified group 'input' unknown
error: /dev/sdb: No medium found
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
conflicting device node '/dev/mapper/
| Changed in initramfs-tools (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Martin Pitt (pitti) wrote : | #11 |
Ah, thanks, so that's wait-for-root. Some further questions:
Do you actually have devices /dev/sdb to sde? What kind are they, CD drives, SD card readers etc. which actually have media? Can you please do "udevadm info --export-db > /tmp/udev.txt" and attach /tmp/udev.txt here?
If you run
sudo /usr/lib/
do you get these messages as well?
| Changed in initramfs-tools (Ubuntu): | |
| importance: | Undecided → Low |
| Sworddragon (sworddragon) wrote : | #12 |
> Do you actually have devices /dev/sdb to sde? What kind are they, CD drives, SD card readers etc. which actually have media?
/dev/sdb - /dev/sde are card readers with no media in it.
> If you run
>
> sudo /usr/lib/
>
> do you get these messages as well?
No, the error messages doesn't appear there.
| Bruce Pieterse (octoquad) wrote : | #13 |
I no longer see this with a daily image and udev 218
| Sworddragon (sworddragon) wrote : | #14 |
With udev 218-3ubuntu4 and initramfs-tools 0.103ubuntu9 I'm still seeing this bug.
| summary: |
- Errors messages like "error: /dev/sdb: No medium found" on booting + Error messages like "error: /dev/sdb: No medium found" on booting |
| Lee Donaghy (deadite66) wrote : | #15 |
Also have this problem but it doesn't show up in boot.log with debug=y
it is logged in udev.log though, /dev/sdc which is a card reader the same as sworddragon noticed.
| Lee Donaghy (deadite66) wrote : | #16 |
| Lee Donaghy (deadite66) wrote : | #17 |
| Sworddragon (sworddragon) wrote : | #18 |
I'm also noticing that inserting a SD card does not create /dev/sdb1 but on removing the SD card the line "error: /dev/sdb: No medium found" is added to /var/log/
| Joseph (bniedem) wrote : | #19 |
I noticed that whenever I boot with my external drive switched on, I also get the error "No Medium Found." So, to solve this problem, I switch off the external drive before I turn my computer on. And everything works fine.
| Damiön la Bagh (kat-amsterdam) wrote : | #20 |
I'm getting the same message, it delays boot by 40 seconds. When the machine does finally boot into Ubuntu the device /dev/sdc is available and working normally.
systemd-udevd[292]: error: /dev/sdc: No medium found
Model: ATA FUJITSU MHZ2500B (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
| Luís Louro (lapisdecor) wrote : | #21 |
I also get this error on boot on Ubuntu 15.04.
starting version 216
error: /dev/sdb: No medium found
error: /dev/sdb: No medium found
I'm runing 3.19.0-25-generic Linux.
if I run sudo fdisk - l
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 321112255 320905408 153G 7 HPFS/NTFS/exFAT
/dev/sda3 601159680 625139711 23980032 11,4G 7 HPFS/NTFS/exFAT
/dev/sda4 321114110 601159679 280045570 133,5G 5 Extended
/dev/sda5 595394560 601159679 5765120 2,8G 82 Linux swap / Solaris
/dev/sda6 321114112 589627391 268513280 128G 83 Linux
/dev/sda7 589629440 595384319 5754880 2,8G 82 Linux swap / Solaris
| Luís Louro (lapisdecor) wrote : | #22 |
My starting version is 219, not 216.
| César Díaz (cesare-diaz) wrote : | #23 |
Starting version 219
error: /dev/sdb: No medium found
This error on boot on Ubuntu 15.04 over a laptop Acer Aspire 4830TG-6457
| George Prowse (torqueing) wrote : | #24 |
I get this for /dev/sde
fdisk shows no /dev/sde and there is no /dev/sde in fstab
| AkaSchmid (akaschmid) wrote : | #25 |
Hi all
I have this problem.
Is there any solution out there?
| tags: | added: xenial |


I currently get this for the Ubuntu Gnome daily image. The only difference in my case is that it is for /dev/sda on the live CD