You are not logged in.

#1 2012-05-31 11:38:07

gerard82
Member
Registered: 2012-05-28
Posts: 9

Is an initramfs mandatory in Arch Linux?

I intend to compile my own kernel.
I've done that many times on other Linuxes.
I never used an intramfs on those.
The default kernel contains a lot of modules for hardware I don't have.
I have a pci soundcard next to the onboard hdmaudio.
Even though I disabled onboard sound in the bios it shows up in KDE system settings.
And screws up my sound I think.
Any reason why an initramfs is needed?
Gerard.

Offline

#2 2012-05-31 11:54:09

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Is an initramfs mandatory in Arch Linux?

It's needed if you use the Arch kernels. But if you compile your own kernel, then no, you don't need it.

Offline

#3 2012-05-31 11:56:44

gerard82
Member
Registered: 2012-05-28
Posts: 9

Re: Is an initramfs mandatory in Arch Linux?

Thanks Gusar.
I'll go ahead and try.
Gerard.

Offline

#4 2012-05-31 12:01:47

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Is an initramfs mandatory in Arch Linux?

As Gusar indicated, it's not mandatory if you compile your own kernel. Keep in mind though to compile in support for everything that would normally be handled by any of the initramfs hooks that are being used.


Burninate!

Offline

#5 2012-05-31 12:09:19

gerard82
Member
Registered: 2012-05-28
Posts: 9

Re: Is an initramfs mandatory in Arch Linux?

@Gcool
Having compiled my own kernels I am well aware of that.
Gerard.

Offline

#6 2012-05-31 15:47:05

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 389

Re: Is an initramfs mandatory in Arch Linux?

Take a look at https://wiki.archlinux.org/index.php/Modprobed_db.
It has nothing to do with initramfs but it decreases the number of modules really well.

Last edited by Radioactiveman (2012-05-31 15:48:29)

Offline

#7 2012-05-31 17:17:32

gerard82
Member
Registered: 2012-05-28
Posts: 9

Re: Is an initramfs mandatory in Arch Linux?

Thanks Radioactiveman,
But I won't need it.
I have a kernel .config that already contains only modules that are needed for my setup.
Gerard.

Offline

Board footer

Powered by FluxBB