<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I have this error using this procedure to create a niked filesystem
running the line :<br>
<pre style="background-color:#fcfcfc;border-left:6px solid #f0f0f0;margin-left:1em;font-size:120%;padding:5px;">echo -e "unit: sectors\n\n/dev/sda1 : start=63, size=$sda1size, Id=7" | sfdisk --force /dev/loop0</pre>
<br>
<i>Checking that no-one is using this disk right now ... OK</i><i><br>
</i><i><br>
</i><i>Disk /dev/loop0: 31.5 KiB, 32256 bytes, 63 sectors</i><i><br>
</i><i>Units: sectors of 1 * 512 = 512 bytes</i><i><br>
</i><i>Sector size (logical/physical): 512 bytes / 512 bytes</i><i><br>
</i><i>I/O size (minimum/optimal): 512 bytes / 512 bytes</i><i><br>
</i><i><br>
</i><i>>>> Script header accepted.</i><i><br>
</i><i>>>> Created a new DOS disklabel with disk identifier
0x6888d234.</i><i><br>
</i><i>Start sector 63 out of range.</i><i><br>
</i><i>Failed to add partition: Numerical result out of range</i><i><br>
</i><i>Leaving.</i><br>
<br>
<div class="moz-signature">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-signature"><br>
</div>
<br>
<br>
</div>
<div class="moz-cite-prefix">Le 30/03/2016 13:23, Martin Kletzander
a écrit :<br>
</div>
<blockquote cite="mid:20160330112314.GD17181@wheatley" type="cite">On
Wed, Mar 30, 2016 at 11:06:57AM +0200,
<a class="moz-txt-link-abbreviated" href="mailto:arnaud.bougeard@univ-rennes1.fr">arnaud.bougeard@univ-rennes1.fr</a> wrote:
<br>
<blockquote type="cite">Hello
<br>
<br>
How to convert a bootable linux partition to virtual disk ?
<br>
I tried :
<br>
<br>
|dd if=/dev/sda1 of=/mnt/mydisk3/sda1.raw|
<br>
<br>
|||qemu-img convert -f raw -O qcow2 sda1.raw sda1.qcow2|
<br>
<br>
|but the disk ||sda1.qcow2|is not bootable
<br>
<br>
<br>
The second partition contains data and is very large, so I want
to check
<br>
the process with the system partition
<br>
<br>
</blockquote>
<br>
<a class="moz-txt-link-freetext" href="https://rwmj.wordpress.com/2010/09/30/technique-for-synthesizing-a-partition-table-on-a-naked-filesystem/">https://rwmj.wordpress.com/2010/09/30/technique-for-synthesizing-a-partition-table-on-a-naked-filesystem/</a>
<br>
<br>
<blockquote type="cite">Arnaud
<br>
<br>
<br>
</blockquote>
<br>
<blockquote type="cite">_______________________________________________
<br>
libvirt-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>