• Re: Problems when booting Debian-Hurd

    From Kent West@21:1/5 to All on Tue Nov 23 23:30:02 2021

    Richard Braun, on Sat 20 Aug 2016 13:07:17 +0200, wrote:
    On Sat, Aug 20, 2016 at 01:19:28AM +0000, Horacio Castellini wrote:
    WARNING: Image format was not specified for 'debian-hurd-20150320.img'
    and probing guessed raw.
    Automatically detecting the format is dangerous for raw images, write
    operations on block 0 will be restricted.
    Specify the 'raw' format explicitly to remove the restrictions.

    Check the integrity of the image you've downloaded.
    No, that warning happens on correct images. It just means that qemu does
    not dare touching the beginning of an image which was not asserted to be
    a raw image.
    Samuel



    I believe the fix is to add "format=raw" to the end of the line, like so:

    $ kvm -m 1G -drive file=$(echo debian-hurd*.img),cache=writeback,format=raw

    At least, this seemed to work for me.

    --
    Kent West <")))><
    Westing Peacefully - http://kentwest.blogspot.com

    <div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Richard Braun, on Sat 20 Aug 2016 13:07:17 +0200, wrote:<br>&gt; On Sat, Aug 20, 2016 at 01:19:28AM +0000, Horacio
    Castellini wrote:<br>&gt; &gt; WARNING: Image format was not specified for &#39;debian-hurd-20150320.img&#39; and probing guessed raw.<br>&gt; &gt; Automatically detecting the format is dangerous for raw images, write operations on block 0 will
    be restricted.<br>&gt; &gt; Specify the &#39;raw&#39; format explicitly to remove the restrictions.<br>&gt;<br> &gt; Check the integrity of the image you&#39;ve downloaded.<br>
    No, that warning happens on correct images. It just means that qemu does<br>not dare touching the beginning of an image which was not asserted to be<br>a raw image.<br>
    Samuel</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br></blockquote><div><br></div><div>I believe the fix is to add &quot;format=raw&quot; to the end of the line,
    like so:</div><div><br></div><div>$ kvm -m 1G -drive file=$(echo debian-hurd*.img),cache=writeback,format=raw <br></div><div><br></div><div>At least, this seemed to work for me.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-
    smartmail="gmail_signature">Kent West                    &lt;&quot;)))&gt;&lt; <br>Westing Peacefully - <a href="http://kentwest.blogspot.com" target="_blank">http://kentwest.blogspot.com</a></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)