[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Arch Linux specific grub-mkconfig fixes

From: Keshav Padram Amburay
Subject: [PATCH] Arch Linux specific grub-mkconfig fixes
Date: Tue, 10 Dec 2013 00:41:23 +0530


This patch has been used in Arch Linux's GRUB(2) package for quite some time (ever since the release of grub 2.00). 

The main feature that distinguishes Arch Linux from other distros is that its kernel and initramfs (core/linux pkg) are always installed at /boot/vmlinuz-linux and /boot/initramfs-linux.img and this path does not contain the actual kernel version info and therefore does not change with kernel updates, unlike other distros.

Also Arch Linux includes a secondary (fallback) initramfs image at /boot/initramfs-linux-fallback.img which contains modules, that are excluded by autodetect hook in the normal initramfs image at /boot/initramfs-linux.img . Thus if the user is unable to boot using /boot/initramfs-linux.img, he/she may be able to boot using /boot/initramfs-linux-fallback.img . Arch Linux and its derivatives use this kind of fallback initramfs setup. This patch also adds detection of this fallback initramfs image.

I have attached the patch instead of sending this via git-send-mail, because 1) I haven't setup git-send-mail, and 2) Mail program seems to screw up the line indentation.

With Best Regards,


Attachment: Add-Arch-Linux-specific-grub-mkconfig-fixes.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]