[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-help
Subject:    Re: PXE+EFI: Show progress during loading kernel and initrd
From:       Andrei Borzenkov <arvidjaar () gmail ! com>
Date:       2015-04-23 3:52:38
Message-ID: 20150423065238.180abc8a () opensuse ! site
[Download RAW message or body]

В Thu, 23 Apr 2015 03:42:54 +0000
WangMike <allspace2012@outlook.com> пишет:

> I do use the image grubx64.efi from CentOS.
> 
> Yes,  "secure boot" is required.
> 

Then there is nothing you can do short of asking your vendor to include
necessary module in this image.

Note that secure boot patches are not part of grub upstream. They
disable module loading so only modules added during creation are
available. I have some idea to use grub-mkstandalone and allow module
loading from internal memdisk in this case; if anyone wants to
implement it we could discuss this.

But even in this case you will need to ask your vendor to include
necessary patch and rebuild signed grub image.

> ----------------------------------------
> > Date: Thu, 23 Apr 2015 06:19:48 +0300
> > From: arvidjaar@gmail.com
> > To: allspace2012@outlook.com
> > CC: help-grub@gnu.org
> > Subject: Re: PXE+EFI: Show progress during loading kernel and initrd
> > 
> > В Thu, 23 Apr 2015 01:08:39 +0000
> > WangMike <allspace2012@outlook.com> пишет:
> > 
> > > If I add "insmod progress" before all "menuentry", nothing happen.
> > > If I add "insmod progress" inside of "menuentry", but before linuxefi/initrdefi \
> > > command, it reports "file not found" 
> > 
> > I suspect that you are using signed EFI image that only has limited
> > set of modules included. Is secure boot required in your case?
> > 
> > > 
> > > ----------------------------------------
> > > > Date: Wed, 22 Apr 2015 19:44:42 +0300
> > > > From: arvidjaar@gmail.com
> > > > To: allspace2012@outlook.com
> > > > CC: help-grub@gnu.org
> > > > Subject: Re: PXE+EFI: Show progress during loading kernel and initrd
> > > > 
> > > > В Wed, 22 Apr 2015 11:24:02 +0300
> > > > Andrei Borzenkov <arvidjaar@gmail.com> пишет:
> > > > 
> > > > > On Wed, Apr 22, 2015 at 9:34 AM, WangMike <allspace2012@outlook.com> wrote:
> > > > > > "insmod progress" does not work for me.
> > > > > > 
> > > > > 
> > > > > What do you mean? Command "insmod progress" fails or it works but no
> > > > > progress is displayed?
> > > > 
> > > > I just tested and it displays progress and speed when loading file over
> > > > network; at least large enough file. Progress feedback may probably be
> > > > improved but it definitely works.
> > > > 
> > > > So you will need to provide a bit more information beyond "does not
> > > > work" for someone to be able to help.
> > > > 
> > > > > 
> > > > > > 
> > > > > > ----------------------------------------
> > > > > > > Date: Wed, 22 Apr 2015 07:20:50 +0300
> > > > > > > From: arvidjaar@gmail.com
> > > > > > > To: allspace2012@outlook.com
> > > > > > > CC: help-grub@gnu.org
> > > > > > > Subject: Re: PXE+EFI: Show progress during loading kernel and initrd
> > > > > > > 
> > > > > > > В Wed, 22 Apr 2015 07:04:40 +0300
> > > > > > > Andrei Borzenkov <arvidjaar@gmail.com> пишет:
> > > > > > > 
> > > > > > > > > 
> > > > > > > > > I had used pxe boot of syslinux. It can print a line of dot during \
> > > > > > > > > loading kernel/initrd. That's a good idea to represent loading \
> > > > > > > > > progress. 
> > > > > > > > > Have I missed anything that can help me get similar function in \
> > > > > > > > > grub pxe boot? 
> > > > > > > > 
> > > > > > > > There is some support for file read progress in grub but it does not
> > > > > > > > always work and I'm not sure if it works for network at all.
> > > > > > > 
> > > > > > > Try
> > > > > > > 
> > > > > > > insmod progress
> > > > > > > 
> > > > > > > before loading files.
> > > > > > 
> > > > 
> > > 
> 		 	   		  

_______________________________________________
Help-grub mailing list
Help-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/help-grub


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic