Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi to all.
How do I change module load order in Ubuntu or any other distro?
99% of the existing distros load ATA_PIIX module before AHCI module. I need to change this order after I install the system.
In my Qosmio G20 before I install any distro I must drop to a shell using mount=break kernel command and then type:
I need to do this in order to propper detect my hard drives because Qosmio has Dual 80GB HDD.
After I install the system, every time I boot the computer I must use mount=break
rmmod ata_piix
rmmod ahci
modprobe ahci
modprobe ata_piix
In order for the system to boot.
I need ahci for HDD's and ata_piix for DVD, so no point in blacklist the ata_piix.
How do i change the load order of the modules so that it will always load ahci before ata_piix?
note: I need ahci for HDD's and ata_piix for DVD, so no point in blacklist the ata_piix.
I know that on Debian there is a file /etc/modules. This file contains the names of the modules that are to be loaded. It should be the same on Ubuntu and other Debian-based distros, maybe even on non-Debian distros. I guess the order in the file is the order in which they are loaded.
I figured it out.
You type the modules by the order you want in /etc/initramfstools.d/modules then
Sudo initramfs-update -k all -u
And thats it, and now the modules will be loaded by the order you typed in modules.
Hello all. I would like to switch module load orders also, but on a Fedora machine. I looked for a /etc/initramfstools.d/modules file, but did not find one. Would anyone happen to know it's equivalent in Fedora 9?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.