bug-grub
[Top][All Lists]
Advanced

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

Re: Mismatch between grub2 memmap and syslinux memmap while using memdis


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Mismatch between grub2 memmap and syslinux memmap while using memdisk
Date: Wed, 22 Dec 2010 09:16:38 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101211 Icedove/3.0.11

On 12/22/2010 08:49 AM, KESHAV P.R. wrote:
> Hi,
>      I am trying to boot a floppy image in my Dell Laptop using
> memdisk from syslinux . When memdisk is loaded from grub2 (linux16 and
> initrd16), nearly 2 GB of ram is not usable out of 4 GB RAM. This is
> the floppy image used
> https://github.com/skodabenz/Tianocore_DUET_memdisk_compiled/blob/master/Tiano_EDK2_DUET_X64.img
> and this is the grub2 config file
>
> menuentry "Boot DUET " {
> linux16 ${prefix}/memdisk floppy ro nopass
> initrd16 ${prefix}/Tiano_EDK2_DUET_X64.img
> }
>
> I have attached the memmap outputs (from EFI shell) while loading the
> image directly (memmap_direct.txt), memdisk through syslinux
> (memmap_syslinux.txt), memdisk through grub2 (memmap_grub2.txt).
> Loading memdisk through syslinux, ram space covered for the memdisk
> and floppy image is only about 8 MB. Is this due to the way grub
> allocates memory for initrd? Where is the bug? Memdisk or Grub2. I
> think since memdisk works perfectly with syslinux, this has something
> to do with grub2. Regards
>
>   
GRUB2 never loads the initrd above 0x37FFFFFF (compatibility reasons)
and it's perfectly fine with all known linux versions. Apparently in
this context syslinux loaded the initrd much higher. So the problem is
on memdisk side.
> Keshav
>   
>
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-grub
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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