Bug 6308

Summary: grub-efi deployed image should be netboot capable and have some debug help
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Bill Mills <wmills>
Component: kernelAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Medium CC: alanp, anuj.mittal, bruce.ashfield, kexin.hao, liezhi.yang, randy.macleod, sgw, tom.zanussi
Version: 1.7   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Bill Mills 2014-05-09 21:19:25 UTC
grub-efi creates a very minimal grub image that can boot from a disk
It does not have the modules needed to netboot.
It also has zero extra commands to help someone out when something goes wrong.

In [1] I add more modules to the composite grub image to allow more features.
This comes with only a very moderate increase in size.

(The standalone composite image in [1] is out of scope for this request. See Bug#6307 for coverage of that.)

[1] http://arago-project.org/files/short-term/misc/make-netbootia32.tar.bz2
Comment 1 Bill Mills 2015-03-09 18:29:37 UTC
This is really an hour or so to change and get working.
The other time is senario testing and socialization.
Comment 2 Randy MacLeod 2022-06-09 15:19:50 UTC
Newcomer or Kevin if he ever has less to do in his WR work.
Comment 3 Randy MacLeod 2023-10-24 14:24:44 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 4 Alan Perry 2023-11-16 06:36:10 UTC
I have done a lot of work on networked and efi GRUB and could probably figure this out.

However, this bug does not include a list of modules to add and the link to the composite grub image mentioned in elsewhere in this bug does not seem to work now.
Comment 5 Randy MacLeod 2024-04-25 01:08:31 UTC
Move to 5.99 since no one is actively working on this issue.
Comment 6 Alan Perry 2024-04-25 04:18:06 UTC
I am willing to work on it if the list of modules was identified.
Comment 7 Randy MacLeod 2024-04-25 15:41:39 UTC
Thanks Alan!

I can't help with the list of modules so let's see if Kexin can.
If not, pick a couple that you think are useful and testable I guess.
Comment 8 Kevin Hao 2024-04-26 11:06:16 UTC
Sorry, I also don't have the list of modules.
Comment 9 Randy MacLeod 2024-04-26 13:23:57 UTC
Thanks for the reply Kexin.

Bill, are you able to provide an initial list to Alan?
Comment 10 Randy MacLeod 2024-05-02 14:54:34 UTC
Add Anuj, who may also be able to provide a list of modules to test.
Comment 11 Anuj Mittal 2024-05-03 01:55:30 UTC
The original bug seems to have been filed for Minnow board/32 bit and is quite old so the original list or steps might not be helpful anyway.

May be we can look at the Ubuntu script: https://git.launchpad.net/~ubuntu-core-dev/grub/+git/ubuntu/tree/debian/build-efi-images#n203 and see what they enable for network boot and enable and test?
Comment 12 Randy MacLeod 2024-05-16 15:28:35 UTC
Bill, see Anuj's comment.
Comment 13 Alan Perry 2024-05-16 23:20:20 UTC
Can someone describe a list of scenarios that might go wrong where additional commands would help? I know what I needed when I was trying to resolve network boot problems but I don't want to limit this to what I found I needed.
Comment 14 Randy MacLeod 2025-02-20 16:17:48 UTC
Bill, please retake if you have time to work in this.