Jump to content
15 posts in this topic

Recommended Posts

Hi, I've been trying to install Mac OS 10.4.1 on my computer but I'm stuck in the "copy image to the HFS+ partition using the dd tool" part. I input the same command given in the tutorial, "dd if=tiger-x86-flat.img of=\\?\Device\Harddisk0\Partition4 bs=512 skip=63 --progress", but I get an error that says "Error native opening file: 0 The operation completed successfully".

I have one hard disk, and 5 partitions :

Partition 1 Primary (WinXP)

Partition 2 Extended

Partition 3 Logical

Partition 4 Logical

Partition 5 Primary (Type ad, created with diskpart, to install Mac OS X)

 

Can anyone help me? I've been trying anything and it just doesn't copy... Thanks in advance.

 

Edit: I've been looking around and it seems that I have to convert every non-primary partitions I have in order to copy the image on the HFS+ partition, is that true? Please I really need help.

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/
Share on other sites

First, why do you want to install 10.4.1 ? You'd be much better off with 10.4.3!

 

But if you only have 10.4.1 you might look at the syntax of the 'of' part of the dd command. I think you are not specifying your target drive correctly.

 

The Windows WMI tool can give you the precise details of the drive. There's plenty of info on this if you search. An example screenshot of the output of WMI, giving you the correct target drive parameters is below:

 

choosing.jpg

 

Note that where there are four slashes you only want two, two slashes become one, as in \\.\PHYSICALDRIVE2 (for example) - and don't forget the period which isn't very obvious in the screenshot. This is on a system which has drives with only one partition, but you get the idea. Good luck!

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56034
Share on other sites

WMI Tools is a Microsoft toolset -

 

WMI Tools Download

 

The Wiki should have details on how to use it to get the disk display - I'd tell you but I can't remember right now and it's a bit complicated. Or you can google for it - there's a bunch of stuff on 10.4.1 and using WMI tools. Although it's long-winded it is a guaranteed way to identify your disks as your system sees them so you can choose the right disk, partition etc. as in the screenshot. Be careful to choose the right one or you'll overwrite something you wanted to keep... :angel:

 

In the screenshot I posted, I was dd'ing to a second drive on the machine, not the boot drive. Also, dd can take a surprisingly long time when the machine appears to have hung - it probably hasn't - so go and drink coffee or something for a while and come back to it.

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56073
Share on other sites

Bump, I have installed the tool, my problem is that I have 3 Partitions that have the same physical drive (according to this tool), here is a screenshot :

help7wd.png

As you can see Partition #0, #1 and #2 share the same physical drive, if I enter "of=\\.\PhysicalDrive0", isn't the dd going to write over all my partitions?

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56114
Share on other sites

I tried typing both of those and I get a new error "Error opening output file : 31 A device attached to the system is not functioning", but except my keyboard, mouse, audio systems and wi-fi wireless adapter, I have nothing attached to the computer! But then again I haven't tried "of=\\.\PhysicalDrive0" only, because I'm afraid it won't copy the image on the correct partition (partition 5 under DISKPART and partition 2 under WMI).

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56534
Share on other sites

I am begging to wonder if this is worth the trouble.

 

It is really starting to plss me off.

 

when I try to use dd for windows, I get the same error:

 

error opening output file...... (you know the rest)

 

I got diskpart to make the af partition.

 

wmi tools has "\\\\.\\physicaldrive0" for both drives.

 

 

So I went and downloaded the ubunti live cd. I freaking hate linux!!! Could they make it any harder to use? for those of us who cannot use the command line?

 

I cant even make a freaking directory, permission denied. I noticed something on the ubuntu site about "sudo". If I do "sudo mkdir /mnt/temp" it works, I think. And I can mount the drive using sudo. then I try "cd /mnt/temp", permission denied. FAWK!!! So I type "sudo cd /mnt/temp" , now it cannot find hte command cd.

 

I am really begging to hate this.

 

Aren't there any "experts" who can help?

Link to comment
https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-57053
Share on other sites

×
×
  • Create New...