grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Support Fedora 13 initrd filenames


From: Piscium
Subject: Re: [PATCH] Support Fedora 13 initrd filenames
Date: Wed, 23 Jun 2010 20:00:27 +0100

> ----- Forwarded Message ----
> From: Pavel Roskin <address@hidden>
> To: address@hidden
> Sent: Sat, 19 June, 2010 2:38:26
> Subject: [PATCH] Support Fedora 13 initrd filenames
>
> Hello!
>
> The initial ramdisk on Fedora 13 is called "initramfs-${version}.img" unlike 
> older versions of Fedora, which used "initrd-${version}.img"
>
> The patch has been tested on Fedora 13.
>
> ChangeLog:
>
>        * util/grub.d/10_linux.in: Add support for initrd images on Fedora 13.
>
> --- util/grub.d/10_linux.in    2010-06-09 18:43:25 +0000
> +++ util/grub.d/10_linux.in    2010-06-18 21:09:00 +0000
> @@ -114,8 +114,9 @@
>
>   initrd=
>   for i in "initrd.img-${version}" "initrd-${version}.img" \
> -       "initrd-${version}" "initrd.img-${alt_version}" \
> -       "initrd-${alt_version}.img" "initrd-${alt_version}"; do
> +       "initrd-${version}" "initramfs-${version}.img" \
> +       "initrd.img-${alt_version}" "initrd-${alt_version}.img" \
> +       "initrd-${alt_version}" "initramfs-${alt_version}.img"; do
>     if test -e "${dirname}/${i}" ; then
>       initrd="$i"
>       break
>
>
>
> --Regards,
> Pavel Roskin

================

I applied the change detailed above on my PC running grub 1.98 and it
worked well.

It would be good also to boot Fedora partitions that lack Grub. In
order to do that (with initrd) I have modified 90fallback, a file from
os-prober v. 1.38. I am attaching the original file and a patch file.
My changes were few: I added one line, changed another and added one
comment line.

The modified 90fallback works well on my PC with Fedora 13, and I
expect it will work well with recent Fedora versions.

I am not sure where upstream for os-prober is. I downloaded 1.38 from
Debian Sid. So if this is not the right mailing list to propose
changes to os-prober, please let me know where I should go.

Note that there have been other requests for changes to this same
file. For example, see this:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/420900

Attachment: 90fallback.orig
Description: Binary data

Attachment: 90fallback.patch
Description: Text Data


reply via email to

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