View previous topic :: View next topic |
Author |
Message |
jpc22 Apprentice
Joined: 29 Jan 2012 Posts: 195
|
Posted: Mon Apr 08, 2013 12:16 am Post subject: mkinitcpio broken (not adding modules) |
|
|
I get this error when i run mkintcpio on two identical machines (hardware and config) i am trying to perform a fresh install on, when specifying the kernel version i want an initramfs for.
warning: no modules were added to the image
One machine is fully installed but i can no longer buld a initramfs without geting that error for any kernel except hardened-sources-3.8.2 on that machine.
The machine i am redoing a fresh install on for the x time seems to have mkinitcpio locked on 3.6.8-gentoo-sources which i did not even install.
The two machines where installed with the end of the world edition livecd.
I am working on that problem since a few weeks and it really drive me nuts,since i tried everything i could think of:
I thinkered with all the mkintcpio config files, rebuilded mkinitcpio and grep several times from chroot on several fresh installs from different stages and nothing works.
Tried every sugestion from a thread on the arch forum.
Any idea of how i can get something that works, or fix mkinitcpio? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Mon Apr 08, 2013 12:55 am Post subject: |
|
|
Why are you using mkinitcpio at all? The kernel supports creating an initramfs automatically as part of its build. You only need modules in the initramfs if you need them before the filesystem is available. For features required early in the boot, it is simpler to build them into the kernel directly, especially since it is unlikely you will ever unload them later. |
|
Back to top |
|
|
jpc22 Apprentice
Joined: 29 Jan 2012 Posts: 195
|
Posted: Mon Apr 08, 2013 11:30 pm Post subject: |
|
|
I tried building in kernel /manual build a few months ago and did not suceed back then and tried mkinitcpio which happened to work but now it does'nt.
I have more experience now and i am ready to mess with that option ,maybe ill try better-initramfs if i have to, but i would prefer not to rely on a program each time i upgrade my kernels.
Also i use jfs on luks.
Ill lookup the docs this week in my spare time between the job,work-out,archery and friends. The actual work will occur this weekend.
Anyway thank you for remebering me there are alternatives to mkinitcpio, i just have to make them work for me now. |
|
Back to top |
|
|
jpc22 Apprentice
Joined: 29 Jan 2012 Posts: 195
|
Posted: Sun Apr 14, 2013 7:00 pm Post subject: |
|
|
Tried making my own int from scratch a few times again and got bored so i tried better-initramfs which does not ask for my luks password.
Looks like i need to reread the documentation and try again. |
|
Back to top |
|
|
|