Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-14-2019, 08:43 AM   #16
Senior Member
Registered: Mar 2010
Location: Ireland
Distribution: Debian 10 (Buster) x64
Posts: 4,508

Original Poster
Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445

Originally Posted by colorpurple21859 View Post
Well what? as far as the command, run it and see what is says, is there something there that stands out as might be the problem? If not then it's something else.
Did you look at your /boot/grub/grub.cfg and see if anything stands out there as the problem. It could be something in your initramfs causing the problem.
In post #13, I asked you if there's any sensitive data in that file that I should redact.
Old 04-13-2021, 06:29 AM   #17
LQ Newbie
Registered: Apr 2021
Posts: 1

Rep: Reputation: Disabled
Use device IDs instead of drive letters in lvm.conf's global filter

You can prevent lvm2 from scanning the card reader by using the global filter. Instead of using drive letters for the filter, like 'sde' which is liable to change, use the id of the device(s).

# ls -l /dev/disk/by-id/ | grep sd[e-h]

lrwxrwxrwx 1 root root 9 Apr 13 11:06 usb-Generic_USB_CF_Reader_058F312D81B-0:1 -> ../../sdf
lrwxrwxrwx 1 root root 9 Apr 13 11:06 usb-Generic_USB_MS_Reader_058F312D81B-0:3 -> ../../sdh
lrwxrwxrwx 1 root root 9 Apr 13 11:06 usb-Generic_USB_SD_Reader_058F312D81B-0:0 -> ../../sde
lrwxrwxrwx 1 root root 9 Apr 13 11:06 usb-Generic_USB_SM_Reader_058F312D81B-0:2 -> ../../sdg

Since all card reader slot device ids contain the unique 'Reader_058F312D81B', you can use the following global filter in lvm.conf.

"r|/dev/disk/by-id/.*Reader_058F312D81B.*" # filter out card reader slots

Good luck!


boot errors, no medium found

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found beagle7 Linux - Newbie 4 08-24-2012 01:33 AM
Adding a directory returns "no medium found" error JcN Linux - Newbie 7 02-01-2006 08:40 PM
"Adding a Medium" in Medium Manager???? kymystic Mandriva 1 03-07-2005 03:16 AM
CD ROM mount error: "no medium found"????? RonRussell Linux - Hardware 8 07-01-2002 12:34 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration