($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: "Nicolas Wirth" <nicolas.wirth@speedgoat.ch>
To: yocto@lists.yoctoproject.org
Subject: Chainloading a Yocto image with Grub #hddimg #honister #iso #linux
Date: Tue, 14 May 2024 08:35:24 -0700	[thread overview]
Message-ID: <diYh.1715700924837267672.7I3P@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

Greetings everyone,

I would like to create a Yocto image containing on only *1 partition* my rootfs and bootloader. This setup is needed for being chainloaded by an already existing grub setup.

Goal:

* 1 partition with the rootfs on / , and the bootloader (syslinux) being part of the rootfs under /root
* Able to be chainload with grub

Grub configuration (code snippet):
set root=(hd0,3)
chainloader (hd0,3)+1
boot

Syslinux configuration (code snippet):

PROMPT 1
TIMEOUT 50
DEFAULT linux
SAY Now booting the kernel from SYSLINUX...
LABEL linux
KERNEL /boot/bzImage
APPEND root = LABEL = linux_rootfs

I would like to ask for advices on how to setup this. I tried to use the hddimg, iso and .wic format without success so far.

Thank you,
Nicolas

[-- Attachment #2: Type: text/html, Size: 1456 bytes --]

                 reply	other threads:[~2024-05-14 15:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=diYh.1715700924837267672.7I3P@lists.yoctoproject.org \
    --to=nicolas.wirth@speedgoat.ch \
    --cc=yocto@lists.yoctoproject.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).