View previous topic :: View next topic |
Author |
Message |
tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Mon Mar 04, 2013 5:08 pm Post subject: Genkernel initramfs for non genkernel kernel? |
|
|
Hi all,
Not sure if this is the appropriate place - please feel free to move this if necessary. I was just wondering if genkernel can be used to create an initramfs for a working kernel I made without genkernel? I am experimenting with ZFS, and I have everything in place in my current kernel except the initramfs. Can I just make an initramfs using genkernel initramfs (options) that will work with my current kernel, or does my kernel also have to be generated by genkernel for the two to work together?
Thanks! |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Mar 04, 2013 5:45 pm Post subject: |
|
|
You can, however I would recommend using the no modules option as those can get messy. I recommend consulting the documentation for syntax. I keep a copy on hand in case my standard initramfs fails. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Mar 04, 2013 7:01 pm Post subject: |
|
|
Moved from Unsupported Software to Kernel & Hardware as the topic is supported software.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
tenspd137 Guru
Joined: 22 Aug 2006 Posts: 391
|
Posted: Mon Mar 04, 2013 8:38 pm Post subject: |
|
|
Ahh - thanks for pointing those out to me - the only question I have is about no modules - I am using ZFS - so I think I would at least have to include those modules, since they aren't part of the kernel due to licensing. One thing I think I will try first is creating a new kernel (ready to move to 3.8.1) with genkernel, but configure it with menuconfig and have it build the initramfs.
Thanks! |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 474 Location: San Diego, California USA
|
Posted: Mon Mar 04, 2013 9:49 pm Post subject: |
|
|
You can use the genkernel initramfs with your own kernel. I compile, configure, and install gentoo-sources by hand but use the genkernel initramfs. It should be fine.
But keep in mind that if you need something special for the root filesystem (like the ZFS module, etc), then the genkernel initramfs probably won't work out of the box. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
|
Back to top |
|
|
ryao Retired Dev
Joined: 27 Feb 2012 Posts: 132
|
Posted: Mon Mar 18, 2013 7:21 pm Post subject: |
|
|
The Doctor wrote: | You can, however I would recommend using the no modules option as those can get messy. I recommend consulting the documentation for syntax. I keep a copy on hand in case my standard initramfs fails. |
If something goes wrong when modules are included in the initramfs, please file a bug report.
With that said, I do not think --no-modules is appropriate here. |
|
Back to top |
|
|
|