From: "Mou, ChengShu(Ben)" <Chengshu.Mou@siemens.com>
To: "cip-dev@lists.cip-project.org" <cip-dev@lists.cip-project.org>
Cc: "Wang, Jing" <wangjing@siemens.com>,
"Huang, Wei - Martin" <wei.wh.huang@siemens.com>,
"Liu, Jun Dong" <JunDong.Liu@siemens.com>,
"Liao, Pingfang (Marshell)" <Pingfang.Liao@siemens.com>
Subject: Plugin efibootguard-boot doesn't support to specify root parameter with unified kernel image
Date: Sat, 8 Oct 2022 09:10:50 +0000 [thread overview]
Message-ID: <b6efd1ed7d0140faa6a308e6d428ee2a@siemens.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1048 bytes --]
Hi all,
I have a target image with following partitions:
|- bootloader (efibootguard)
|- system A (linux.efi)
|- system B (linux.efi)
|- root FS A
|- root FS B
My plan is to use plugin efibootguard-boot to generate linux.efi respectively for system A/B and they can mount related root FS. So, I need to specify root parameter respectively in linux.efi.
After checking the code, I found that there is only 1 place to specify it, bootloader command with option --append in wks file. This method can only specify 1 root parameter.
I have tried to modify this plugin as following:
[cid:image003.png@01D8DB38.E8043130]
Within this modification, linux.efi could contain its own root parameter.
I don't know if it is a right way, please let me know if you have some suggestions. Thanks in advance.
With best regards,
Cheng Shu Mou
Siemens Ltd., China
RC-CN DI FA BL IE
Tianyuan road No.99
611731 CHENGDU, China
mailto:chengshu.mou@siemens.com
www.siemens.com<https://siemens.com>
[cid:image001.gif@01D8DB35.54E0ADF0]
[-- Attachment #1.2: Type: text/html, Size: 4217 bytes --]
[-- Attachment #2: image001.gif --]
[-- Type: image/gif, Size: 2730 bytes --]
[-- Attachment #3: image003.png --]
[-- Type: image/png, Size: 132398 bytes --]
next reply other threads:[~2022-10-08 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-08 9:10 Mou, ChengShu(Ben) [this message]
2022-10-14 8:26 ` [cip-dev] Plugin efibootguard-boot doesn't support to specify root parameter with unified kernel image Gylstorff Quirin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b6efd1ed7d0140faa6a308e6d428ee2a@siemens.com \
--to=chengshu.mou@siemens.com \
--cc=JunDong.Liu@siemens.com \
--cc=Pingfang.Liao@siemens.com \
--cc=cip-dev@lists.cip-project.org \
--cc=wangjing@siemens.com \
--cc=wei.wh.huang@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox