Re: Had to hack new-kernel script in mkinitrd to boot from USB after updating kernel

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

 



Paul Johnson wrote:
Dear Everybody:

I have a small fleet of external USB hard disks with Fedora and I have
the graduate students boot their windows machines from these external
drives in order to do some actual work (as opposed to playing
Minesweeper).  It is no trouble to install these systems on external
USB since the improvements in F7 for that purpose, but when the kernel
is updated, the mkinitrd stuff does not end up getting all of the
right modules loaded.  I have to insert the additional options
"--preload=ehci-hcd --preload=usb-storage --preload=sd_mod " In order
to make this work.  See the patch below.   After installing this
special new version of the program "new-kernel-pkg", then kernel
updates go smoothly.

Questions:

1. am I the only one in the world running Fedora from an external
drive these days?  If not, why aren't the other guys commenting on
this?

2. I wish the new-kernel-pkg script would accept command line options
for additional required modules, and somehow the system would know the
modules it needs.  I have a feeling that such a procedure is already
in place, but somehow it was broken when I built these USB drives.
Know what I mean?

pj


Paul,

Anything in /etc/modprobe.conf a certain way will be included.

Something like this:
alias scsi_hostadapter1 crap
alias scsi_hostadapter2 junk

Will get an error on the mkinitrd because it cannot find the modules crap and junk, so replacing crap and/or junk with what you want will work just fine. It will work out all modules that crap and junk depend on, so you won't have to put those modules in.

                           Roger

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux