Re: Diffs for Mondo on Debian 11

Rich Goodwin via Mondo-devel <[email protected]> Thu, 15 Feb 2024 12:36:06 -0600
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2203824628080303637==
Content-Type: multipart/alternative;
 boundary="------------MLRfg034pOQ5aZqaHny2m0dr"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------MLRfg034pOQ5aZqaHny2m0dr
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Christoph,

Again, many thanks for sharing.
I did find where to increase the created size of '/tmp/tmpfs'. It is in 
'/usr/lib/mindi/rootfs/etc/init.d/rcS'.
I needed to increase to 2048m to get mine to fit.
Now running into issues with mondorestore not finding some shared 
libraries and mounting filesystems during a compare.
Guess it is time for me to start hacking on things with the 'diffs' you 
have supplied.
Wish me luck!

-- rich

On 2/15/2024 11:42 AM, Griesbeck Christoph via Mondo-devel wrote:
>
> Hi rich,
>
> in our experience this was an issue, because Debian uses symlinks for 
> the /lib, /bin, /sbin directories and therefore mondo copied them 
> twice into the restore media.
>
> The hunk fixing this issue in mindi.diff should be:
>
> @@ -2374,6 +2388,18 @@ PrepareBigDir() {
>
> Therefore no increase was needed after fixing this.
>
> But please read all the diffs, since other critical bugfixes are in 
> there as well. For example not correctly handled module paths in 
> libmondorescue-perl, duplicate toggle of bootable flags in effect not 
> setting it, silent fails when labeling partitions or when extracting 
> afio archives.
>
> Christoph
>
> *Von:*Rich Goodwin <[email protected]>
> *Gesendet:* Mittwoch, 14. Februar 2024 18:30
> *An:* [email protected]
> *Betreff:* Re: [Mondo-devel] Diffs for Mondo on Debian 11
>
>
> 	
>
> *Strama-IT informs/Die Strama-IT informiert: Caution/Vorsicht:*This is 
> an external email. Please take care with links or attachments. When in 
> doubt, contact [email protected] <mailto:[email protected]>.
> Dies ist eine externe E-Mail. Bitte seien Sie vorsichtig mit Links 
> oder Anhängen. Wenden Sie sich im Zweifelsfall an 
> [email protected] <mailto:[email protected]>.
>
> Christoph,
>
> Thank You for sharing this.
> I too, hope project gets revisited someday.
> I've used it for as long as we've been using Linux (20+) years. And 
> only had to deal with the occasional needed module that I could add to 
> mindi.
>
> By chance you know if any of these patches affect the size of the 
> ramdisk created during restore?
> Currently I am fighting with it as it creates a 265mb /tmp/tmpfs to 
> restore(untar) base needed programs (mondorestore, etc.)
> from boot media (CD,DVD or USB) so it can run mondorestore.  But runs 
> out of space before completing the untar.
>
> If you know of where I can increase size, it would be great.
>
> -- rich
>
> On 2/14/2024 3:39 AM, Griesbeck Christoph via Mondo-devel wrote:
>
>     Dear MailingList,
>
>     to get Mondo working on Debian11 Bullseye, using mbr partitioned
>     harddrives and grub legacy, several adjustments have been made by
>     a colleague and me.
>
>     The first batch of changes were sent by a colleague to Bruno
>     Cornec in Summer 2020 but have as far as I know not been integrated.
>
>     Since some of you are struggling with the same problems as we
>     have, I have attached diffs for each package.
>
>     Use this at your own risk as we might have broken stuff that we
>     are not using!
>
>     In hope that this project some day is revived by Bruno,
>
>     Christoph
>
>     F & K DELVOTEC Bondtechnik GmbH
>     Daimlerstraße 5 – DE-85521 Ottobrunn
>     Rechtsform GmbH - Sitz Ottobrunn, Registergericht Amtsgericht
>     München - HR B 101812
>     Umsatzsteuer-Identifikations-Nr.: DE 811350414, Steuer-Nr.:
>     143/202/61792
>     Geschäftsführer: Dipl.-Ing. Ralph Christoph
>
>     Diese Nachricht und/oder die Anhänge sind vertraulich und daher
>     ausschließlich für den bezeichneten Adressaten bestimmt.
>     Jegliche Weitergabe oder Vervielfältigung dieser Mitteilung oder
>     die unerlaubte Benutzung ihres Inhalts ist streng verboten.
>     Wenn Sie diese Email empfangen haben und nicht der beabsichtigte
>     Adressat sind, benachrichtigen Sie den Absender bitte unverzüglich
>     und löschen Sie die Originalnachricht.
>
>     This message and/ or attachments contains information that is
>     confidential and thereby intended solely for the use of the
>     addressed recipient.
>     Any distribution or copying of this e-mail, or the unauthorized
>     use of its contents, is strictly prohibited.
>     If you have received this e-mail and are not the intended
>     recipient, please notify the sender immediately and delete the
>     original e-mail.
>
>
>
>
>     _______________________________________________
>
>     Mondo-devel mailing list
>
>     [email protected]  <mailto:[email protected]>
>
>     https://lists.sourceforge.net/lists/listinfo/mondo-devel  <https://lists.sourceforge.net/lists/listinfo/mondo-devel>
>
>
>
> _______________________________________________
> Mondo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mondo-devel
--------------MLRfg034pOQ5aZqaHny2m0dr
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Christoph,</p>
    <p>Again, many thanks for sharing.<br>
      I did find where to increase the created size of '/tmp/tmpfs'.  
      It is in '/usr/lib/mindi/rootfs/etc/init.d/rcS'.<br>
      I needed to increase to 2048m to get mine to fit.<br>
      Now running into issues with mondorestore not finding some shared
      libraries and mounting filesystems during a compare.<br>
      Guess it is time for me to start hacking on things with the
      'diffs' you have supplied.<br>
      Wish me luck!</p>
    <p>-- rich<br>
    </p>
    <div class="moz-cite-prefix">On 2/15/2024 11:42 AM, Griesbeck
      Christoph via Mondo-devel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DB3P189MB237935771435D930C0E2CD34BA4D2@DB3P189MB2379.EURP189.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}pre
	{mso-style-priority:99;
	mso-style-link:"HTML Vorformatiert Zchn";
	margin:0cm;
	font-size:10.0pt;
	font-family:"Courier New";}span.HTMLVorformatiertZchn
	{mso-style-name:"HTML Vorformatiert Zchn";
	mso-style-priority:99;
	mso-style-link:"HTML Vorformatiert";
	font-family:Consolas;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}span.E-MailFormatvorlage21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}div.WordSection1
	{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi rich,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">in our experience this
            was an issue, because Debian uses symlinks for the /lib,
            /bin, /sbin directories and therefore mondo copied them
            twice into the restore media.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">The hunk fixing this
            issue in mindi.diff should be:<o:p></o:p></span></p>
        <p class="MsoNormal">@@ -2374,6 +2388,18 @@ PrepareBigDir() {<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="EN-US">Therefore no increase
            was needed after fixing this.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">But please read all the
            diffs, since other critical bugfixes are in there as well.
            For example not correctly handled module paths in
            libmondorescue-perl, duplicate toggle of bootable flags in
            effect not setting it, silent fails when labeling partitions
            or when extracting afio archives.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Christoph<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <div>
          <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="mso-ligatures:none;mso-fareast-language:DE">Von:</span></b><span
                style="mso-ligatures:none;mso-fareast-language:DE"> Rich
                Goodwin <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
                <br>
                <b>Gesendet:</b> Mittwoch, 14. </span><span
                style="mso-ligatures:none;mso-fareast-language:DE"
                lang="EN-US">Februar 2024 18:30<br>
                <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a><br>
                <b>Betreff:</b> Re: [Mondo-devel] Diffs for Mondo on
                Debian 11<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <table class="MsoNormalTable" style="width:100.0%" width="100%"
          cellspacing="0" cellpadding="0" border="0" align="left">
          <tbody>
            <tr>
              <td style="background:red;padding:5.0pt 2.0pt 5.0pt 2.0pt"><br>
              </td>
              <td
style="width:100.0%;background:#D49C55;padding:5.0pt 4.0pt 5.0pt 12.0pt"
                width="100%">
                <div>
                  <p
style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
                    <b><span
style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#222222"
                        lang="EN-US">Strama-IT informs/Die Strama-IT
                        informiert: Caution/Vorsicht:</span></b><span
style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#222222"
                      lang="EN-US"> This is an external email. Please
                      take care with links or attachments. </span><span
style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#222222">When
                      in doubt, contact
                    </span><span
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:black"><a
                        href="mailto:[email protected]"
                        moz-do-not-send="true"><span
                          style="font-size:9.0pt">[email protected]</span></a></span><span
style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#222222">.<br>
                      Dies ist eine externe E-Mail. Bitte seien Sie
                      vorsichtig mit Links oder Anhängen. Wenden Sie
                      sich im Zweifelsfall an
                    </span><span
style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,serif;color:black"><a
                        href="mailto:[email protected]"
                        moz-do-not-send="true"><span
                          style="font-size:9.0pt">[email protected]</span></a></span><span
style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,serif;color:#222222">.
                      <o:p></o:p></span></p>
                </div>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p><span lang="EN-US">Christoph,<o:p></o:p></span></p>
          <p><span lang="EN-US">Thank You for sharing this.<br>
              I too, hope project gets revisited someday.<br>
              I've used it for as long as we've been using Linux (20+)
              years. And only had to deal with the occasional needed
              module that I could add to mindi.<o:p></o:p></span></p>
          <p><span lang="EN-US">By chance you know if any of these
              patches affect the size of the ramdisk created during
              restore?<br>
              Currently I am fighting with it as it creates a 265mb
              /tmp/tmpfs to restore(untar) base needed programs
              (mondorestore, etc.)<br>
              from boot media (CD,DVD or USB) so it can run
              mondorestore.  But runs out of space before completing the
              untar.<o:p></o:p></span></p>
          <p><span lang="EN-US">If you know of where I can increase
              size, it would be great.<o:p></o:p></span></p>
          <p><span lang="EN-US">-- rich<o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"><span lang="EN-US">On 2/14/2024 3:39
                AM, Griesbeck Christoph via Mondo-devel wrote:<o:p></o:p></span></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span lang="EN-US">Dear MailingList,<o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US">to get Mondo working
                on Debian11 Bullseye, using mbr partitioned harddrives
                and grub legacy, several adjustments have been made by a
                colleague and me.<o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US">The first batch of
                changes were sent by a colleague to Bruno Cornec in
                Summer 2020 but have as far as I know not been
                integrated.<o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US">Since some of you
                are struggling with the same problems as we have, I have
                attached diffs for each package.<o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US">Use this at your own
                risk as we might have broken stuff that we are not
                using!<o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
            <p class="MsoNormal"><span lang="EN-US">In hope that this
                project some day is revived by Bruno,<o:p></o:p></span></p>
            <p class="MsoNormal">Christoph <o:p></o:p></p>
            <p><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray">F
                &amp; K DELVOTEC Bondtechnik GmbH<br>
                Daimlerstraße 5 – DE-85521 Ottobrunn<br>
                Rechtsform GmbH - Sitz Ottobrunn, Registergericht
                Amtsgericht München - HR B 101812<br>
                Umsatzsteuer-Identifikations-Nr.: DE 811350414,
                Steuer-Nr.: 143/202/61792<br>
                Geschäftsführer: Dipl.-Ing. Ralph Christoph</span><o:p></o:p></p>
            <p><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray">Diese
                Nachricht und/oder die Anhänge sind vertraulich und
                daher ausschließlich für den bezeichneten Adressaten
                bestimmt.</span><br>
              <span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray">Jegliche
                Weitergabe oder Vervielfältigung dieser Mitteilung oder
                die unerlaubte Benutzung ihres Inhalts ist streng
                verboten.
              </span><br>
              <span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray">Wenn
                Sie diese Email empfangen haben und nicht der
                beabsichtigte Adressat sind, benachrichtigen Sie den
                Absender bitte unverzüglich und löschen Sie die
                Originalnachricht.</span><o:p></o:p></p>
            <p><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray"
                lang="EN-US">This message and/ or attachments contains
                information that is confidential and thereby intended
                solely for the use of the addressed recipient.</span><span
                lang="EN-US"><br>
              </span><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray"
                lang="EN-US">Any distribution or copying of this e-mail,
                or the unauthorized use of its contents, is strictly
                prohibited.</span><span lang="EN-US"><br>
              </span><span
style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:gray"
                lang="EN-US">If you have received this e-mail and are
                not the intended recipient, please notify the sender
                immediately and delete the original e-mail.</span><span
                lang="EN-US"><o:p></o:p></span></p>
            <p class="MsoNormal"><span
                style="mso-ligatures:none;mso-fareast-language:DE"
                lang="EN-US"><br>
                <br>
                <br>
                <o:p></o:p></span></p>
            <pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
            <pre><span lang="EN-US">Mondo-devel mailing list<o:p></o:p></span></pre>
            <pre><a href="mailto:[email protected]"
            moz-do-not-send="true"><span lang="EN-US">[email protected]</span></a><span
            lang="EN-US"><o:p></o:p></span></pre>
            <pre><a
href="https://lists.sourceforge.net/lists/listinfo/mondo-devel"
            moz-do-not-send="true"><span lang="EN-US">https://lists.sourceforge.net/lists/listinfo/mondo-devel</span></a><span
            lang="EN-US"><o:p></o:p></span></pre>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Mondo-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/mondo-devel">https://lists.sourceforge.net/lists/listinfo/mondo-devel</a>
</pre>
    </blockquote>
  </body>
</html>

--------------MLRfg034pOQ5aZqaHny2m0dr--


--===============2203824628080303637==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2203824628080303637==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel

--===============2203824628080303637==--