You are not logged in.

#1 2013-02-10 16:39:06

Marcos FRM
Registered: 2013-02-10
Posts: 10

About changing kernel config for an initramfs-less boot

As a former Fedora user, I miss in Arch the ability to boot without an initramfs.

Diff to Fedora's kernel config (relevant bits only):










Fedora devs choose a small set of settings to be bult-in (SCSI disk/cdrom, AHCI, PIIX, EXT4). It covers a large number of machines (and VMs), as today the majority of chipsets support AHCI and EXT4 is the de-facto standard filesystem (EXT2/3 can also be mounted with CONFIG_EXT4_USE_FOR_EXT23).

I recompiled Arch's default kernel with these modifications and it worked just fine without initramfs.

Would it be feasible to Arch adopt this?

Linux 3.8 will support PARTUUID for MBR partitioned disks: … ed7323f9d2

We that still use MBR will have a reliable way to specify the root device, especially for people who have multiple disks.


#2 2013-02-12 17:15:08

The Solutor
From: Italy
Registered: 2013-02-10
Posts: 10

Re: About changing kernel config for an initramfs-less boot

I did almost the same thing yesterday, following a slightly different path: configured the kernel (vanilla3.8-rc7 ) with make localyesconfig, then i reverted back to modules the parts that made more sense if modularized (like the usb stuff).

It worked w/o major problems, the UUID thing is already present on the 3.8-rc7 kernel, and i even enabled it, but I haven't experimented if it works for now I'm booting via the classical device names (/dev/sdX)

Last edited by The Solutor (2013-02-12 17:16:46)


Board footer

Powered by FluxBB