[Top][All Lists]

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

Re: [PATCH] memdisk plus lnxboot extension

From: Bean
Subject: Re: [PATCH] memdisk plus lnxboot extension
Date: Wed, 23 Jan 2008 01:17:43 +0800

On Jan 23, 2008 12:51 AM, Robert Millan <address@hidden> wrote:
> I don't like this very much.  We don't have grub-mkimage options to 
> concatenate
> it with boot.img, so why with lnxboot.img ?

The reason for new option is that the length of core.img needs to
stored in lnxboot.img. Previously, i calculate the size using
information in core.img header, but now there is issue, for example,

kernel lnxboot.img
initrd core.img

cat lnxboot.img core.img > grub2.bin
kernel grub2.bin
initrd memdisk

1 and 2 looks the same to lnxboot header, it can't decide initrd is
used as memdisk or core.img. However, 1 may not be that useful after
all, we can disable this kind of usage.

> Also, I can only think of very specific situations in which this interface
> would be useful (that is, when firmware has only a linux loader).  It makes
> sense to me as a compatibility layer, yes.
> But it seems you want it as a general-purpose option; for that, why not make
> it saner like multiboot?  I don't think it's a good idea to compromise our
> boot semantics because of the ones legacy Linux has.

is multiboot support memdisk or something similar ?


reply via email to

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