Parallels 6 and Bootcamp: missing operating system

Tobias Severin

Bit poster
Hi there,
I am trying to use Parallels 6 with my Bootcamp Partition under Windows 7 (running on my iMac).
Bootcamp runs perfect but after creating the VM based on "Bootcamp partition" the VM tells me "missing operating system".

I have tried out several things like:
- re-install parallels
- removing and re-creating the VMs
- changing partition options

nothing works.

any ideas?

-Toby
 
Try reselecting the Boot Camp disk in the Hard Disk settings. Is there an "Edit Partitions..." button (only visible when there's more than one Windows partition) ?

Check your partitions using Terminal.app:
Code:
diskutil list /dev/disk0
sudo gpt -r show -l /dev/disk0
sudo gpt -r show /dev/disk0
sudo fdisk /dev/rdisk0

Check the boot code:
Code:
sudo dd if=/dev/disk0 count=1 | xxd

Post the info here (inside [code] and [/code] to preserve spacing).
 
Thank you for the hint. Indeed I had more than one Windows partition. I tried "Edit partitions" but this does not help. (telling me that the VM could not access the harddrive).
I decided to check the partitions under Windows and I deleted one volume/partition I did not need. After that the creation of the Bootcamp-VM runs smoothly without any problems. :)

thanks for your help again. tobi
 
Hello joevt, help me this, I have same this error .


SLOWLYs-MacBook-Pro:~ slowlyrain$ diskutil list /dev/disk0
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS MACOSX 100.0 GB disk0s2
3: Microsoft Basic Data DATA 130.7 GB disk0s3
4: Microsoft Basic Data BOOTCAMP 25.0 GB disk0s4
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo gpt -r show -l /dev/disk0

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
gpt show: /dev/disk0: Suspicious MBR at sector 0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - "EFI System Partition"
409640 195305736 2 GPT part - "Untitled"
195715376 263888
195979264 255309824 3 GPT part - "DATA"
451289088 48828416 4 GPT part - "WINDOWS"
500117504 655
500118159 32 Sec GPT table
500118191 1 Sec GPT header
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo gpt -r show /dev/disk0
gpt show: /dev/disk0: Suspicious MBR at sector 0
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 195305736 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
195715376 263888
195979264 255309824 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
451289088 48828416 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
500117504 655
500118159 32 Sec GPT table
500118191 1 Sec GPT header
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo fdisk /dev/rdisk0
Disk: /dev/rdisk0 geometry: 31130/255/63 [500118192 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>
2: AF 25 127 15 - 1023 183 17 [ 409640 - 195305736] HFS+
*3: 0B 1023 36 62 - 1023 113 54 [ 195979264 - 255309824] Win95 FAT-32
4: 0C 1023 113 55 - 1023 223 5 [ 451289088 - 48828416] Win95 FAT32L
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo dd if=/dev/disk0 count=1 | xxd
1+0 records in
1+0 records out
512 bytes transferred in 0.000248 secs (2062905 bytes/sec)
0000000: 33c0 8ed0 bc00 7cfb 5007 501f fcbe 1b7c 3.....|.P.P....|
0000010: bf1b 0650 57b9 e501 f3a4 cbbd be07 b104 ...PW...........
0000020: 386e 007c 0975 1383 c510 e2f4 cd18 8bf5 8n.|.u..........
0000030: 83c6 1049 7419 382c 74f6 a0b5 07b4 078b ...It.8,t.......
0000040: f0ac 3c00 74fc bb07 00b4 0ecd 10eb f288 ..<.t...........
0000050: 4e10 e846 0073 2afe 4610 807e 040b 740b N..F.s*.F..~..t.
0000060: 807e 040c 7405 a0b6 0775 d280 4602 0683 .~..t....u..F...
0000070: 4608 0683 560a 00e8 2100 7305 a0b6 07eb F...V...!.s.....
0000080: bc81 3efe 7d55 aa74 0b80 7e10 0074 c8a0 ..>.}U.t..~..t..
0000090: b707 eba9 8bfc 1e57 8bf5 cbbf 0500 8a56 .......W.......V
00000a0: 00b4 08cd 1372 238a c124 3f98 8ade 8afc .....r#..$?.....
00000b0: 43f7 e38b d186 d6b1 06d2 ee42 f7e2 3956 C..........B..9V
00000c0: 0a77 2372 0539 4608 731c b801 02bb 007c .w#r.9F.s......|
00000d0: 8b4e 028b 5600 cd13 7351 4f74 4e32 e48a .N..V...sQOtN2..
00000e0: 5600 cd13 ebe4 8a56 0060 bbaa 55b4 41cd V......V.`..U.A.
00000f0: 1372 3681 fb55 aa75 30f6 c101 742b 6160 .r6..U.u0...t+a`
0000100: 6a00 6a00 ff76 0aff 7608 6a00 6800 7c6a j.j..v..v.j.h.|j
0000110: 016a 10b4 428b f4cd 1361 6173 0e4f 740b .j..B....aas.Ot.
0000120: 32e4 8a56 00cd 13eb d661 f9c3 496e 7661 2..V.....a..Inva
0000130: 6c69 6420 7061 7274 6974 696f 6e20 7461 lid partition ta
0000140: 626c 6500 4572 726f 7220 6c6f 6164 696e ble.Error loadin
0000150: 6720 6f70 6572 6174 696e 6720 7379 7374 g operating syst
0000160: 656d 004d 6973 7369 6e67 206f 7065 7261 em.Missing opera
0000170: 7469 6e67 2073 7973 7465 6d00 0000 0000 ting system.....
0000180: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000190: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00001a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00001b0: 0000 0000 002c 4463 46b6 46b6 0000 0000 .....,DcF.F.....
00001c0: 0200 ee7f 0e19 0100 0000 2740 0600 007f ..........'@....
00001d0: 0f19 afb7 d1ff 2840 0600 0821 a40b 8024 ......(@...!...$
00001e0: feff 0b71 f6ff 0068 ae0b 00b8 370f 0071 ...q...h....7..q
00001f0: f7ff 0cdf c5ff 0020 e61a 0010 e902 55aa ....... ......U.
 
Note: to preserve spacing in the output, surround it with [code] and [code] instead of [QUOTE] and [/QUOTE] or attach a txt file to the post.

Which version of Windows are you using?

Are you able to boot your Mac into the Boot Camp partition? The MBR (output from fdisk) says the DATA partition is set as the boot partition.

Which Windows partition has the boot files (DATA or BOOTCAMP)?

Which Windows partition has the Windows folder?

Which boot files are on the partitions?
(C:\bootmgr and C:\Boot\BCD for new Windows Vista or Windows 7)
(C:\ntldr and C:\boot.ini for Windows XP)

Use the following commands to list the files:
Code:
ls -l /Volumes/DATA/ /Volume/DATA/Boot/
ls -l /Volumes/BOOTCAMP/ /Volume/BOOTCAMP/Boot/

If DATA contains the boot files, but Windows is on the BOOTCAMP partition, then you need to make sure that both partitions are selected in Virtual Machine -> Configure... -> Hardware -> Hard Disk 1 -> Edit Partitions -> select each partition that you want to be visible in the VM -> OK.

It might be better to move the boot files to the same disk containing Windows (if they're not already there). Use EasyBCD to do that.
 
The following commands will show the boot block of your Windows partitions:
Code:
sudo dd if=/dev/disk0 count=1 skip=195979264 | xxd
sudo dd if=/dev/disk0 count=1 skip=451289088 | xxd
 
Hello, tks for reply me soon, my version windows is XP,

I do not understand what you say, please give me detailed instructions, thank you,

My Command.

Code:
SLOWLYs-MacBook-Pro:~ slowlyrain$ ls -l /Volumes/DATA/ /Volume/DATA/Boot/
ls: /Volume/DATA/Boot/: No such file or directory
/Volumes/DATA/:
total 237248
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 23 07:58 DATA-ITUNES
drwxrwxrwx  1 slowlyrain  staff      32768 Sep  2 00:32 DESIGN PRO
drwxrwxrwx  1 slowlyrain  staff      32768 Sep  3 15:40 DU LIEU
drwxrwxrwx  1 slowlyrain  staff      32768 Jul 23 00:34 Danh Ba Hien - 22 - 07-2011
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 21 09:15 Download
drwxrwxrwx  1 slowlyrain  staff      32768 Aug  7 17:48 GAME
drwxrwxrwx  1 slowlyrain  staff      32768 Aug  7 22:51 HOCTAP
-rwxrwxrwx  1 slowlyrain  staff          0 Jul 22 13:20 IO.SYS
drwxrwxrwx  1 slowlyrain  staff      32768 Aug  6 12:35 Itunes fake toan tap
-rwxrwxrwx  1 slowlyrain  staff          0 Jul 22 13:20 MSDOS.SYS
drwxrwxrwx  1 slowlyrain  staff      32768 Sep  1 16:37 MUSIC
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 24 07:52 MY WEB
-rwxrwxrwx  1 slowlyrain  staff      47564 Aug  4  2004 NTDETECT.COM
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 26 11:08 Photos gui Dat
drwxrwxrwx  1 slowlyrain  staff      32768 Jul 23 10:08 Recycled
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 30 00:43 SETUP
drwxrwxrwx  1 slowlyrain  staff      32768 Jul 22 13:28 System Volume Information
drwxrwxrwx  1 slowlyrain  staff      32768 Aug 26 21:59 TRANH ANH
-rwxrwxrwx  1 slowlyrain  staff        262 Jul 22 13:15 boot.ini
-rwxrwxrwx  1 slowlyrain  staff        512 Jul 22 13:10 bootsect.dos
-rwxrwxrwx  1 slowlyrain  staff     250032 Aug  4  2004 ntldr
-rwxrwxrwx  1 slowlyrain  staff  120586240 Jul 22 13:11 pagefile.sys
SLOWLYs-MacBook-Pro:~ slowlyrain$ ls -l /Volumes/BOOTCAMP/ /Volume/BOOTCAMP/Boot/
ls: /Volume/BOOTCAMP/Boot/: No such file or directory
/Volumes/BOOTCAMP/:
total 4190464
drwxrwxrwx  1 slowlyrain  staff       16384 Aug 11 20:48 Config.Msi
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 22 13:11 Documents and Settings
drwxrwxrwx  1 slowlyrain  staff       16384 Aug 11 20:28 Hotspot Shield
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 27 13:40 Intel
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 22 13:12 Program Files
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 23 10:08 Recycled
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 22 13:28 System Volume Information
drwxrwxrwx  1 slowlyrain  staff       16384 Jul 22 13:03 WINDOWS
-rwxrwxrwx  1 slowlyrain  staff  2145386496 Aug 31 07:15 pagefile.sys
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo dd if=/dev/disk0 count=1 skip=195979264 | xxd
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.000240 secs (2134676 bytes/sec)
0000000: eb58 9042 5344 2020 342e 3400 0240 2000  .X.BSD  4.4..@ .
0000010: 0200 0000 00f8 0000 2000 ff00 0068 ae0b  ........ ....h..
0000020: 00b8 370f b779 0000 0000 0000 0200 0000  ..7..y..........
0000030: 0100 0600 0000 0000 0000 0000 0000 0000  ................
0000040: 8000 2902 0de7 7c44 4154 4120 2020 2020  ..)...|DATA     
0000050: 2020 4641 5433 3220 2020 33c9 8ed1 bcf4    FAT32   3.....
0000060: 7b8e c18e d9bd 007c 884e 028a 5640 b408  {......|.N..V@..
0000070: cd13 7305 b9ff ff8a f166 0fb6 c640 660f  ..s......f...@f.
0000080: b6d1 80e2 3ff7 e286 cdc0 ed06 4166 0fb7  ....?.......Af..
0000090: c966 f7e1 6689 46f8 837e 1600 7538 837e  .f..f.F..~..u8.~
00000a0: 2a00 7732 668b 461c 6683 c00c bb00 80b9  *.w2f.F.f.......
00000b0: 0100 e82b 00e9 4803 a0fa 7db4 7d8b f0ac  ...+..H...}.}...
00000c0: 84c0 7417 3cff 7409 b40e bb07 00cd 10eb  ..t.<.t.........
00000d0: eea0 fb7d ebe5 a0f9 7deb e098 cd16 cd19  ...}....}.......
00000e0: 6660 663b 46f8 0f82 4a00 666a 0066 5006  f`f;F...J.fj.fP.
00000f0: 5366 6810 0001 0080 7e02 000f 8520 00b4  Sfh.....~.... ..
0000100: 41bb aa55 8a56 40cd 130f 821c 0081 fb55  A..U.V@........U
0000110: aa0f 8514 00f6 c101 0f84 0d00 fe46 02b4  .............F..
0000120: 428a 5640 8bf4 cd13 b0f9 6658 6658 6658  B.V@......fXfXfX
0000130: 6658 eb2a 6633 d266 0fb7 4e18 66f7 f1fe  fX.*f3.f..N.f...
0000140: c28a ca66 8bd0 66c1 ea10 f776 1a86 d68a  ...f..f....v....
0000150: 5640 8ae8 c0e4 060a ccb8 0102 cd13 6661  V@............fa
0000160: 0f82 54ff 81c3 0002 6640 490f 8571 ffc3  ..T.....f@I..q..
0000170: 4e54 4c44 5220 2020 2020 2000 0000 0000  NTLDR      .....
0000180: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000190: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00001a0: 0000 0000 0000 0000 0000 0000 0d0a 4e54  ..............NT
00001b0: 4c44 5220 6973 206d 6973 7369 6e67 ff0d  LDR is missing..
00001c0: 0a44 6973 6b20 6572 726f 72ff 0d0a 5072  .Disk error...Pr
00001d0: 6573 7320 616e 7920 6b65 7920 746f 2072  ess any key to r
00001e0: 6573 7461 7274 0d0a 0000 0000 0000 0000  estart..........
00001f0: 0000 0000 0000 0000 00ac bfcc 0000 55aa  ..............U.
SLOWLYs-MacBook-Pro:~ slowlyrain$ sudo dd if=/dev/disk0 count=1 skip=451289088 | xxd
1+0 records in
1+0 records out
512 bytes transferred in 0.000300 secs (1707062 bytes/sec)
0000000: eb58 904d 5344 4f53 352e 3000 0220 2000  .X.MSDOS5.0..  .
0000010: 0200 0000 00f8 0000 3f00 ff00 0020 e61a  ........?.... ..
0000020: 0010 e902 8c2e 0000 0000 0000 0200 0000  ................
0000030: 0100 0600 0000 0000 0000 0000 0000 0000  ................
0000040: 8000 29ba a6be 084e 4f20 4e41 4d45 2020  ..)....NO NAME  
0000050: 2020 4641 5433 3220 2020 33c9 8ed1 bcf4    FAT32   3.....
0000060: 7b8e c18e d9bd 007c 884e 028a 5640 b408  {......|.N..V@..
0000070: cd13 7305 b9ff ff8a f166 0fb6 c640 660f  ..s......f...@f.
0000080: b6d1 80e2 3ff7 e286 cdc0 ed06 4166 0fb7  ....?.......Af..
0000090: c966 f7e1 6689 46f8 837e 1600 7538 837e  .f..f.F..~..u8.~
00000a0: 2a00 7732 668b 461c 6683 c00c bb00 80b9  *.w2f.F.f.......
00000b0: 0100 e82b 00e9 4803 a0fa 7db4 7d8b f0ac  ...+..H...}.}...
00000c0: 84c0 7417 3cff 7409 b40e bb07 00cd 10eb  ..t.<.t.........
00000d0: eea0 fb7d ebe5 a0f9 7deb e098 cd16 cd19  ...}....}.......
00000e0: 6660 663b 46f8 0f82 4a00 666a 0066 5006  f`f;F...J.fj.fP.
00000f0: 5366 6810 0001 0080 7e02 000f 8520 00b4  Sfh.....~.... ..
0000100: 41bb aa55 8a56 40cd 130f 821c 0081 fb55  A..U.V@........U
0000110: aa0f 8514 00f6 c101 0f84 0d00 fe46 02b4  .............F..
0000120: 428a 5640 8bf4 cd13 b0f9 6658 6658 6658  B.V@......fXfXfX
0000130: 6658 eb2a 6633 d266 0fb7 4e18 66f7 f1fe  fX.*f3.f..N.f...
0000140: c28a ca66 8bd0 66c1 ea10 f776 1a86 d68a  ...f..f....v....
0000150: 5640 8ae8 c0e4 060a ccb8 0102 cd13 6661  V@............fa
0000160: 0f82 54ff 81c3 0002 6640 490f 8571 ffc3  ..T.....f@I..q..
0000170: 4e54 4c44 5220 2020 2020 2000 0000 0000  NTLDR      .....
0000180: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000190: 0000 0000 0000 0000 0000 0000 0000 0000  ................
00001a0: 0000 0000 0000 0000 0000 0000 0d0a 5265  ..............Re
00001b0: 6d6f 7665 2064 6973 6b73 206f 7220 6f74  move disks or ot
00001c0: 6865 7220 6d65 6469 612e ff0d 0a44 6973  her media....Dis
00001d0: 6b20 6572 726f 72ff 0d0a 5072 6573 7320  k error...Press 
00001e0: 616e 7920 6b65 7920 746f 2072 6573 7461  any key to resta
00001f0: 7274 0d0a 0000 0000 00ac cbd8 0000 55aa  rt............U.
SLOWLYs-MacBook-Pro:~ slowlyrain$
 
The Windows XP boot files are on the partition named DATA.

The WINDOWS folder (that contains Windows XP) is on the partition named BOOTCAMP.

You need to do one of the following (A or B) to boot your BOOTCAMP partition in Parallels:

A) Make sure the virtual hard disk includes both partitions. Go to Virtual Machine -> Configure... -> Hardware -> Hard Disk 1 -> Edit Partitions, then make sure both partition 3 and 4 are selected.

B) Make BOOTCAMP bootable. Copy the boot files (ntldr, NTDETECT.COM, and boot.ini) from the DATA partition to the BOOTCAMP partition. Make sure boot.ini points to partition 4 (use a text editor). Then use fdisk to set partition 4 in the MBR as the bootable partition.
Code:
sudo fdisk -e /dev/rdisk0
To use fdisk, type "?" for help, "p" to display the partitions, "f 4" to flag partition 4 as the boot partition, "p" to display your changes, "q" to save your changes and quit. If you don't want to save changes, type "exit" instead. After making changes to the MBR, you may need to remove the Hard Disk 1 from your Parallels virtual machine, and then add the hard disk again so that Parallels will see the change. You will only need to include partition 4 to boot Parallels. You may want to include partition 3 still so that you can see it in the Parallels virtual machine.
 
Back
Top