All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ken Roberts <ken@9ci.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Brian Jackson <iggy@theiggy.com>, kvm@vger.kernel.org
Subject: Re: Migration route from Parallels on Mac for Windows images?
Date: Fri, 28 Jun 2013 22:36:25 -0500	[thread overview]
Message-ID: <531C0CE7-F07C-4BE6-A9D8-3E15987ED6D9@9ci.com> (raw)
In-Reply-To: <51CD4BBD.6060200@redhat.com>



On Jun 28, 2013, at 3:39 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:

> Il 28/06/2013 03:01, Ken Roberts ha scritto:
>>>> More details on "not bootable" would be nice. Do you get a blue screen? Seabios screen? You may need to prep the image before you convert it (google mergeide).
>> 
>> Not sure if you support screenshots on the list, so I'm typing it below the post.
>> 
>> The only configured device is the hard disk, it is INSTANTLY showing Boot failed: not a bootable disk.
> 
> If you attach one of your Windows images to one of the Linux VMs and run
> the Linux VM on Parallels, what does "file -s" say if you pass it the
> Windows disk?

# fdisk -l /dev/sdb
Disk /dev/sdb: 68.7 GB, 68719730688 bytes
255 heads, 63 sectors/track, 8354 cylinders, total 134218224 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00010001

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   134190944    67095441    7  HPFS/NTFS/exFAT


# file -s /dev/sdb
/dev/sdb: x86 boot sector, Microsoft Windows XP MBR, Serial 0x10001; partition 1: ID=0x7, active, starthead 1, startsector 63, 134190882 sectors, code offset 0xc0

# file -s /dev/sdb1
/dev/sdb1: x86 boot sector, code offset 0x52, OEM-ID "NTFS    ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 63, dos < 4.0 BootSector (0x80)


> And what does "file" say (on the host) about the same Windows image
> after conversion to raw?

$file -s popeye-c-raw.img 
popeye-c-raw.img: data


> Also, can you do
> 
> dd if=/path/to/windows-image.raw bs=512 count=1 | od -tx1
> 
> (of course you have to replace /path/to/windows-image.raw) and include
> the output?

$dd if=popeye-c-raw.img bs=512 count=1  | od -tx1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000139388 s, 3.7 MB/s
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0001000

> Paolo


Thanks for the help.


  reply	other threads:[~2013-06-29  3:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27  1:25 Migration route from Parallels on Mac for Windows images? Ken Roberts
2013-06-27 19:33 ` Brian Jackson
2013-06-28  1:01   ` Ken Roberts
2013-06-28  8:39     ` Paolo Bonzini
2013-06-29  3:36       ` Ken Roberts [this message]
2013-07-01  1:52         ` Fam Zheng

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=531C0CE7-F07C-4BE6-A9D8-3E15987ED6D9@9ci.com \
    --to=ken@9ci.com \
    --cc=iggy@theiggy.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.