X-Loop: help-debbugs@HIDDEN Subject: bug#49961: Need support for booting from installation iso file directly for multiboot project Resent-From: Shyam Saran <syamsaran12345@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 09 Aug 2021 16:04:02 +0000 Resent-Message-ID: <handler.49961.B.162852498322525 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 49961 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49961 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.162852498322525 (code B ref -1); Mon, 09 Aug 2021 16:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2021 16:03:03 +0000 Received: from localhost ([127.0.0.1]:57589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mD7jy-0005rD-Uo for submit <at> debbugs.gnu.org; Mon, 09 Aug 2021 12:03:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:39702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <syamsaran12345@HIDDEN>) id 1mD7jt-0005qe-CJ for submit <at> debbugs.gnu.org; Mon, 09 Aug 2021 12:03:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <syamsaran12345@HIDDEN>) id 1mD7jq-0001Em-UZ for bug-guix@HIDDEN; Mon, 09 Aug 2021 12:02:55 -0400 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:37452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <syamsaran12345@HIDDEN>) id 1mD7jp-0006e0-4I for bug-guix@HIDDEN; Mon, 09 Aug 2021 12:02:54 -0400 Received: by mail-ej1-x641.google.com with SMTP id h9so9032825ejs.4 for <bug-guix@HIDDEN>; Mon, 09 Aug 2021 09:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=AlJ3mrrYyWyMu73Rk7m6yCkbRAV3+rt1+ErmD3Kj4lg=; b=KOg/afieh31q+fVFj3o1G0scyRZOuGB3HjoKZrCPpxRRRcNAI7XncP+TWzc2oxui6P qhRtI1pT8JOrKZqOERVYIxnAIOC+ZV/2zc2LWYhVVjhOPQgRvoW413sk/Ta8B6pNOg21 H7c9m4dSA06KFgZ1TGpbzS0D/2trkobNH+A3hOevOYMVBVjtjkG5k2gCJ4DYewY777Gj gHTDdKk1ZEMpMgGeBNCUp6elOoLNDEAitcSyx7AuVsq9DI0xxzW19wq9wiAqgBlkoLPP V1Bt9a7MDum8NMgtcataJ+/XpuJMWCcxui6KaoY/x8ebbPdZ20bQrnDOL/b7H8rwA3Nq 1UWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AlJ3mrrYyWyMu73Rk7m6yCkbRAV3+rt1+ErmD3Kj4lg=; b=k01gSjWyd2ZfskrA0YArffNprT1YSl3PgofTEQ23feIur4muvMK6YBctWr9S1fcbM6 9zeM3sBs7y4aA3bWj2jk4FpO3tuu67NkaT68YmvTBDQPExcmcYdCOPHwqGRGLSfgygbi d8nLfWxUclRqY5jWN08l9G3xMIYkwZ+5JFcPBWSOfd5nkomL3wnychgC7ICyvp3AHFTg WOqSnjq5v3ghezN0pDEsb5xMuj06oYB0XtlWL0qZlv+7XnnHDN4p4vmpZLu/PEhDPipW HpArIHDzKSOhDltVRI0faRAeQgHYTOcQZ5S1ctYS6WTeikgwkSc8Q4G+Bi/hET2i/Tkq fHnw== X-Gm-Message-State: AOAM531Z84uR3cKMLUSRyEVgJStiXOwtPQ9T2kCXRF6cZZyG1XuPPlBO c59+3JnbNxMkDPyKt3pIFnlNzMTJEfGEg41bZQ85stN+V50= X-Google-Smtp-Source: ABdhPJzrgfklBMf+ovw+yAIQpwqq4dXIaK7v56F9cUvDFmssW57URy733/KmehCSmHWhWAsjekYZuK86GcnP4NHCVgc= X-Received: by 2002:a17:906:14c8:: with SMTP id y8mr23315944ejc.475.1628524970840; Mon, 09 Aug 2021 09:02:50 -0700 (PDT) MIME-Version: 1.0 From: Shyam Saran <syamsaran12345@HIDDEN> Date: Mon, 9 Aug 2021 21:32:39 +0530 Message-ID: <CABVJY8pTMHbcY+Ya4Cf_4trSq_XAE2CrW=HPbyD1oxUt3aPHTA@HIDDEN> Content-Type: multipart/mixed; boundary="00000000000065522a05c92284e0" Received-SPF: pass client-ip=2a00:1450:4864:20::641; envelope-from=syamsaran12345@HIDDEN; helo=mail-ej1-x641.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) --00000000000065522a05c92284e0 Content-Type: multipart/alternative; boundary="00000000000065522705c92284de" --00000000000065522705c92284de Content-Type: text/plain; charset="UTF-8" Need support for loopback.cfg like Ubuntu distribution to boot from ios files for multiboot [https://github.com/eengstrom/multiboot/blob/master/grub/grub.cfg] Here tried similar thing with installation iso and its /boot/grub/grub.cfg in https://github.com/aguslr/multibootusb For this added file mbusb.d/guix-system.d/install-generic.cfg with content <src> for isofile in $isopath/*/guix-system-install-*.iso $isopath/guix-system-install-*.iso; do if [ -e "$isofile" ]; then regexp --set=isoname "$isopath/(.*)" "$isofile" submenu "$isoname (grub.cfg) ->" "$isofile" { iso_path="$2" export iso_path search --set=root --file "$iso_path" loopback loop "$iso_path" root=(loop) configfile /boot/grub/grub.cfg loopback --delete loop } fi done With this got grub entry like below setparam 'Guixsd/guix-system-install-1.2.0.x86_64-linux.iso (loopbak.cfg) ->' '/boot/isos/guix-system-install-1.2.0.x86_64-linux.iso' iso_path="$2" export iso_pathj search --set=root --file "$iso_path" loopback loop "$iso_path" root=(loop) configile /boot/grub/grub.cfg loopback --delete loop </src> After booting from here, getting menu from ios's /boot/grub/grub.cfg where --root=31393730-3031-3031-3139-343934363833 When I boot from here, getting below error waiting for partition '31393730-3031-3031-3139-343934363833' to appear ice-9/boot-9.scm:1669:16: In procedure raise-excepion: failed to resolve partition "31393730-3031-3031-3139-343934363833" and finally it shows guile scheme prompt scheme@(guile-user)> Thanks -- /syam --00000000000065522705c92284de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><br></div><div><br></div><div>Need support for loopba= ck.cfg <br></div><div>like Ubuntu distribution to boot from ios files for <= br></div><div>multiboot [<a href=3D"https://github.com/eengstrom/multiboot/= blob/master/grub/grub.cfg">https://github.com/eengstrom/multiboot/blob/mast= er/grub/grub.cfg</a>]</div><div><br></div><div><br></div><div>Here tried si= milar thing with installation iso and its /boot/grub/grub.cfg</div><div>in = <a href=3D"https://github.com/aguslr/multibootusb">https://github.com/agusl= r/multibootusb</a></div><div><br></div><div>For this<br></div><div>added fi= le mbusb.d/guix-system.d/install-generic.cfg</div><div><br></div><div>with = content</div><div><br></div><div><src></div><div>for isofile in $isop= ath/*/guix-system-install-*.iso $isopath/guix-system-install-*.iso; do<br>= =C2=A0 if [ -e "$isofile" ]; then<br>=C2=A0 =C2=A0 regexp --set= =3Disoname "$isopath/(.*)" "$isofile"<br>=C2=A0 =C2=A0 = submenu "$isoname (grub.cfg) ->" "$isofile" {<br>=C2= =A0 =C2=A0 =C2=A0 iso_path=3D"$2"<br>=C2=A0 =C2=A0 =C2=A0 export = iso_path<br>=C2=A0 =C2=A0 =C2=A0 search --set=3Droot --file "$iso_path= "<br>=C2=A0 =C2=A0 =C2=A0 loopback loop "$iso_path"<br>=C2= =A0 =C2=A0 =C2=A0 root=3D(loop)<br>=C2=A0 =C2=A0 =C2=A0 configfile /boot/gr= ub/grub.cfg<br>=C2=A0 =C2=A0 =C2=A0 loopback --delete loop<br>=C2=A0 =C2=A0= }<br>=C2=A0 fi<br>done</div><div><br></div><div>With this got grub entry l= ike below</div><div><br></div><div>setparam 'Guixsd/guix-system-install= -1.2.0.x86_64-linux.iso (loopbak.cfg) ->' '/boot/isos/guix-syste= m-install-1.2.0.x86_64-linux.iso'</div><div><br></div><div>=C2=A0 iso_p= ath=3D"$2"</div><div>=C2=A0 export iso_pathj</div><div>=C2=A0 sea= rch --set=3Droot --file "$iso_path"</div><div>=C2=A0 loopback loo= p "$iso_path"</div><div>=C2=A0 root=3D(loop)</div><div>=C2=A0 con= figile /boot/grub/grub.cfg</div><div>=C2=A0 loopback --delete loop</div><di= v></src></div><div><br></div><div><br></div><div><br></div><div>After= booting from here, getting menu from ios's /boot/grub/grub.cfg</div><d= iv>where --root=3D31393730-3031-3031-3139-343934363833</div><div><br></div>= <div>When I boot from here, getting below error<br></div><div><br></div><di= v><br></div><div>waiting for partition '31393730-3031-3031-3139-3439343= 63833' to appear</div><div>ice-9/boot-9.scm:1669:16: In procedure raise= -excepion:</div><div>failed to resolve partition "31393730-3031-3031-3= 139-343934363833"<br></div><div><br></div><div>and finally it shows gu= ile scheme prompt</div><div><br></div><div>scheme@(guile-user)><br></div= ><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks</d= iv><div>--</div><div>/syam</div><div><br></div><div><br></div><div><br></di= v><div><br></div><div><br></div><div><br></div><div><br></div><div><br></di= v><div><br></div><div><br></div><div><br></div></div> --00000000000065522705c92284de-- --00000000000065522a05c92284e0 Content-Type: application/octet-stream; name="install-generic.cfg" Content-Disposition: attachment; filename="install-generic.cfg" Content-Transfer-Encoding: base64 Content-ID: <f_ks4tnrzw0> X-Attachment-Id: f_ks4tnrzw0 Zm9yIGlzb2ZpbGUgaW4gJGlzb3BhdGgvKi9ndWl4LXN5c3RlbS1pbnN0YWxsLSouaXNvICRpc29w YXRoL2d1aXgtc3lzdGVtLWluc3RhbGwtKi5pc287IGRvCiAgaWYgWyAtZSAiJGlzb2ZpbGUiIF07 IHRoZW4KICAgIHJlZ2V4cCAtLXNldD1pc29uYW1lICIkaXNvcGF0aC8oLiopIiAiJGlzb2ZpbGUi CiAgICBzdWJtZW51ICIkaXNvbmFtZSAoZ3J1Yi5jZmcpIC0+IiAiJGlzb2ZpbGUiIHsKICAgICAg aXNvX3BhdGg9IiQyIgogICAgICBleHBvcnQgaXNvX3BhdGgKICAgICAgc2VhcmNoIC0tc2V0PXJv b3QgLS1maWxlICIkaXNvX3BhdGgiCiAgICAgIGxvb3BiYWNrIGxvb3AgIiRpc29fcGF0aCIKICAg ICAgcm9vdD0obG9vcCkKICAgICAgY29uZmlnZmlsZSAvYm9vdC9ncnViL2dydWIuY2ZnCiAgICAg IGxvb3BiYWNrIC0tZGVsZXRlIGxvb3AKICAgIH0KICBmaQpkb25lCg== --00000000000065522a05c92284e0--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Shyam Saran <syamsaran12345@HIDDEN> Subject: bug#49961: Acknowledgement (Need support for booting from installation iso file directly for multiboot project) Message-ID: <handler.49961.B.162852498322525.ack <at> debbugs.gnu.org> References: <CABVJY8pTMHbcY+Ya4Cf_4trSq_XAE2CrW=HPbyD1oxUt3aPHTA@HIDDEN> X-Gnu-PR-Message: ack 49961 X-Gnu-PR-Package: guix Reply-To: 49961 <at> debbugs.gnu.org Date: Mon, 09 Aug 2021 16:04:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 49961 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 49961: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49961 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.