Re: losetup failed to set up loop device while rescuing a SD card that does not mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 22 Sep 2019 08:32:19 -0500
Ranjan Maitra wrote:

> Any suggestions? I am on an updated F30.

One possibility:

If you ls /dev/loop* do you see loop0, loop1, etc.? At some point
linux invented dynamic /dev/loop creation and said
everyone should use it, but neglected to fix all the
software in the world that expected loop devices to
already exist.

Here's my notes from back in the fedora 20 timeframe:

found this at work: https://bugzilla.redhat.com/show_bug.cgi?id=1019440

1. Create the file /etc/modules-load.d/loop.conf that just contains the word
"loop" on a line by itself. This makes sure systemd arranges for the loop
module to be loaded.

2. Create the file /etc/modprobe.d/eightloop.conf that contains the line:

options loop max_loop=8

Despite the name, that makes the min number of loop devices by 8 (which was
the default kernel setting before they changed it).

3. Run (as root) "dracut --force" to rebuild the initrd with the new module
options included.

4. Reboot and see 8 loop devices pre-created in /dev
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux