18.01.2016 01:36, Ramakrishna Maladi (rmaladi) пишет: > Hi > Is there a way to allocate memory which is above 4G for initrd.img in > grub? >
It probably depends on platform, on i386-pc memory allocator is restricted to 4G address space. Why would you need that? > Thanks, > Ram > > On 1/10/16, 12:20 AM, "[email protected] on > behalf of Ramakrishna Maladi (rmaladi)" > <[email protected] on behalf of > [email protected]> wrote: > >> >> set default=0 >> serial --unit=0 --speed=51200 >> >> terminal_input console >> terminal_output serial >> set timeout=5 >> >> menuentry "System Install OS" { >> echo "Booting from USB.." >> loopback loop /myimage.iso >> set root=(loop) >> echo "Loading Kernel.." >> linux (loop)/boot/bzImage root=/dev/ram install=/dev/sda >> console=ttyS0,38400 prod=1 crashkernel=192M@0 bigphysarea=10M quiet >> pci=assign-busses noissu aer=off pci=hpmemsize=0M,hpiosize=0 >> echo "Loading initrd.." >> initrd (loop)/boot/initrd.img >> } >> >> >> >> Thanks, >> Ram >> >> On 1/9/16, 11:49 PM, "Andrei Borzenkov" <[email protected]> wrote: >> >>> 10.01.2016 08:11, Ramakrishna Maladi (rmaladi) пишет: >>>> Friends, >>>> On broad well-DE intel CPU chipset when I run grub2.0 to load my >>>> linux (Windriver destro of) iso file 1.2G, I am seeing an exception >>>> Would it be the EFI boot sevices issue in BIOS or an known issue on >>>> grub2.0 ? >>>> Could you pls point me if there is a patch I need to take in grub2.0? >>>> I have grub2.0 source of 2014. >>>> >>>> error: unsupported serial port speed. >>>> error: terminal `serial' isn't found. >>>> >>>> >>>> GNU GRUB version 2.00 >>>> Press F2 to goto grub Menu.. >>>> Booting from USB.. >>>> Loading Kernel.. >>>> loader/i386/linux.c:535: prot_mode_mem = 2000000, prot_mode_target = >>>> 2000000, >>>> prot_size = 124a000 >>>> loader/i386/linux.c:1225: bzImage, setup=0x3c00, size=0x124a000 >>>> Loading initrd.. >>>> loader/i386/linux.c:1440: linux cmd agrc = 1 >>>> loader/i386/linux.c:1444: argv[0]: (loop)/boot/initrd.img >>>> ERROR: Class:3000000; Subclass:50000; Operation: 6 >>>> >>> >>> I do not see such error string in current GRUB sources at all. Could you >>> attach grub.cfg, otherwise we have no idea what your ISO does. >> >> >> _______________________________________________ >> Help-grub mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/help-grub > _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
