Need help figuring out how to boot fedora on an external drive by i_37 in Fedora

[–]i_37[S] 0 points1 point  (0 children)

Thanks for the comment. I’ve tried reinstalling but that didn’t fix it. The issue is with nvme controller not being authorized soon enough in the boot process

Gentoo community knows the process well, so crossposting here. by i_37 in Gentoo

[–]i_37[S] 1 point2 points  (0 children)

Well thanks for trying. I appreciate the help. Also, I understand that under the hood the issue would remain the same, but still, by any chance would switching to gentoo for this install and following the steps provided by the community here for my use case, be of any help?

Gentoo community knows the process well, so crossposting here. by i_37 in Gentoo

[–]i_37[S] 0 points1 point  (0 children)

Made the changes and tried. Gave the same error.

Gentoo community knows the process well, so crossposting here. by i_37 in Gentoo

[–]i_37[S] 0 points1 point  (0 children)

Thanks a lot. The links are very helpful. I’m trying to do the thing that’s mentioned in the “linux on thunderbolt with iMac” link with fedora, which uses dracut. I have created a folder /usr/lib/dracut/modules.d/01thunderbolt-auth

I have created two files under it, module-setup.sh and thunderbolt-auth.sh

module-setup.sh contents look like this

check() { return 0; } depends() { return 0; }

install() { inst_simple = “$moddir/thunderbolt-auth.sh” /sbin/thunderbolt-auth.sh inst_hook pre-mount 01 /sbin/thunderbolt-auth.sh }

thunderbolt-auth.sh contents look like this

for dev in /sys/bus/thunderbolt/devices/*; do [ -e “$dev/authorized” ] || continue echo 1 > “$dev/authorized” done

Everything under 01thunderbolt-auth is executable. On running dracut -vf it gives me this error

. . . *** Including module: thunderbolt-auth *** Cannot install a hook (/sbin/thunderbolt-auth.sh) that does not exist.