Jump to content
7 posts in this topic

Recommended Posts

Hi all,

Excuse the newbie question... I'm having trouble copying the tiger-x86-flat.img to my new partition.

 

I create some free space at the end of the drive using partition magic (which is not under any extended partition, just completely free).

 

I used diskpart to create a partition using "create partition primary size=6660 id=af" and the output seems to be ok:

Partition ### Type Size Offset

------------- ---------------- ------- -------

Partition 1 Primary 6829 MB 32 KB

Partition 2 Extended 42 GB 6829 MB

Partition 3 Logical 3005 MB 6829 MB

Partition 4 Logical 39 GB 10 GB

* Partition 5 Unknown 6667 MB 49 GB

 

 

HOWEVER, when I try to use dd to copy the image over, I get the following error:

 

E:\>dd if=tiger-x86-flat.img of=\\?\Device\Harddisk0\Partition5 bs=512 skip=63

rawwrite dd for windows version 0.3.

Written by John Newbigin <jn@it.swin.edu.au>

This program is covered by the GPL. See copying.txt for details

Error native opening file: 0 The operation completed successfully

 

When I run "dd --list", I do not even see the new partition. I get this (omitting some irrelevant stuff):

 

NT Block Device Objects

\\?\Device\CdRom0

\\?\Device\Harddisk0\Partition0

link to \\?\Device\Harddisk0\DR0

Fixed hard disk media. Block size = 512

\\?\Device\Harddisk0\Partition1

link to \\?\Device\HarddiskVolume1

\\?\Device\Harddisk0\Partition2

link to \\?\Device\HarddiskVolume7

Fixed hard disk media. Block size = 512

\\?\Device\Harddisk0\Partition3

link to \\?\Device\HarddiskVolume3

\\?\Device\Harddisk0\Partition4

link to \\?\Device\HarddiskVolume4

 

Since dd works if I try to copy the image anywhere else, I believe that the problem is that dd somehow doesn't recognize \\?\Device\Harddisk\Partition5... but how do I make that happen?

 

many thanks,

zstier

Link to comment
https://www.insanelymac.com/forum/topic/3893-diskpart-and-dd-list-do-not-match/
Share on other sites

...I create some free space at the end of the drive using partition magic (which is not under any extended partition, just completely free).

 

I used diskpart to create a partition using "create partition primary size=6660 id=af"...

Let me understand it, you did resize your current HD (with the only one partition needed for Win XP), doing this of 6 GB (aprox.) and leave it the rest as "unallocated space", isn't it?. Then you did use diskpart (the only one that is inside Win XP), for to create that new partition (af type), Right ?. But when you use dd this shows you that message, ok ?. Please, clear it to me in order i can understand it.

Let me understand it, you did resize your current HD (with the only one partition needed for Win XP), doing this of 6 GB (aprox.) and leave it the rest as "unallocated space", isn't it?. Then you did use diskpart (the only one that is inside Win XP), for to create that new partition (af type), Right ?. But when you use dd this shows you that message, ok ?. Please, clear it to me in order i can understand it.

 

Yes, you are absolutely correct.

 

However, my windows installation spans three partitions (one primary, and two logical), which may better explain the detail of the DISKPART> list partition (included above). In other words, in the output above, partitition1, partition2, partition3, and partition4 are all reserved for windows. I created completely free space at the end of the drive and used DISKPART to create partition5, which shows up properly in the DISKPART output, but not with dd --list.

 

Thanks for your help.

zsteir

Yes, you are absolutely correct.

 

However, my windows installation spans three partitions (one primary, and two logical), which may better explain the detail of the DISKPART> list partition (included above). In other words, in the output above, partitition1, partition2, partition3, and partition4 are all reserved for windows. I created completely free space at the end of the drive and used DISKPART to create partition5, which shows up properly in the DISKPART output, but not with dd --list.

 

Thanks for your help.

zsteir

Where you did copy the tiger image ? (in first windows partition or in the second) and what kind of partition they are (FAT32 or NTFS) ?. Another question, this's really important, after that you did create the af partition with diskpart, did you active it ?. My pleasure in to help you.

Active should only matter if you want it to be directly bootable.

 

Now making sure its not hidden, that's a different story.

 

Get partition magic. Its not hard to find. If you found OS X, you have the resources to find partition magic.

 

But dd-ing needs a free DRIVE, not partition. If you aren't careful, you will fubar the whole drive.

Active should only matter if you want it to be directly bootable.

 

Now making sure its not hidden, that's a different story.

 

Get partition magic. Its not hard to find. If you found OS X, you have the resources to find partition magic.

 

But dd-ing needs a free DRIVE, not partition. If you aren't careful, you will fubar the whole drive.

 

 

The parition is not active, but it is also not hidden. The free space was created with partition magic, and the partition itself (of type AF) was created with diskpart.

 

I've read of many who have used this method (dispart + dd) to copy the image onto a partition, so I imagine it can be done. However, I do take your advice, if no clear solution becomes available, I will certainly not mess around enough to destory my drive!

 

 

 

Where you did copy the tiger image ? (in first windows partition or in the second) and what kind of partition they are (FAT32 or NTFS) ?. Another question, this's really important, after that you did create the af partition with diskpart, did you active it ?. My pleasure in to help you.

 

The image is on my 3rd partition (the E: drive), which is NTFS. The partition is not active, however.

The image is on my 3rd partition (the E: drive), which is NTFS. The partition is not active, however.

You need to active the af partition in order to get booting (at least this is what i've seen in several documments and tutorials). Read this tutorial/guide and you'll understand it, click here!.

×
×
  • Create New...