@23% Posted February 12, 2006 Share Posted February 12, 2006 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 More sharing options...
Pwn* Posted February 13, 2006 Share Posted February 13, 2006 I get the SAME EXACT PROBLEM infact i even have 5 partitions and was about to post a topic so can anyone help us? Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-55860 Share on other sites More sharing options...
Pwn* Posted February 13, 2006 Share Posted February 13, 2006 Uhhh *Bump* , i kinda need this info soon because... i am afraid to shut down my pc durring the middle of this so... Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-55890 Share on other sites More sharing options...
@23% Posted February 13, 2006 Author Share Posted February 13, 2006 So... Is anyone willing to help? Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-55974 Share on other sites More sharing options...
Metrogirl Posted February 13, 2006 Share Posted February 13, 2006 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: 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 More sharing options...
@23% Posted February 13, 2006 Author Share Posted February 13, 2006 Thanks for the answer! So instead of putting "\\?\Device\Harddisk0\Partition4", I'll have to put what the Windows WMI tells me? And where can I find this tool? Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56045 Share on other sites More sharing options...
Metrogirl Posted February 13, 2006 Share Posted February 13, 2006 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... 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 More sharing options...
@23% Posted February 13, 2006 Author Share Posted February 13, 2006 Thanks a lot for your help, I'll try it as soon as I can and post here when I'm done. Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56074 Share on other sites More sharing options...
@23% Posted February 13, 2006 Author Share Posted February 13, 2006 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 : 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 More sharing options...
Pwn* Posted February 13, 2006 Share Posted February 13, 2006 thanks for the help, im gonna give it a try. Note: i have successfully installed 10.4.1 before on 2 computers the way im doing it i just now came across this problem, and one time i deleated my hard drive Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56197 Share on other sites More sharing options...
@23% Posted February 13, 2006 Author Share Posted February 13, 2006 So how did you manage to do it? What did you right on the "of" part? Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56199 Share on other sites More sharing options...
Pwn* Posted February 14, 2006 Share Posted February 14, 2006 i think i figured it out, disk part lists it wrong, indteada Partition5 try partition4 because that program lables partition 1 in disk part as partition 0 i did it and it worked but im getting a different error and i dont think it involves this Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56228 Share on other sites More sharing options...
@23% Posted February 14, 2006 Author Share Posted February 14, 2006 I already tried putting partition4 and partition6 it didn't work either.... Can someone tell me if I'm correct by putting "of=\\.\PhysicalDrive0\Partition2"? Or do I have to put "of=\\.\PhysicalDrive0\Partition1"? Link to comment https://www.insanelymac.com/forum/topic/8976-dd-doesnt-work/#findComment-56374 Share on other sites More sharing options...
@23% Posted February 14, 2006 Author Share Posted February 14, 2006 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 More sharing options...
quickquest88 Posted February 16, 2006 Share Posted February 16, 2006 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 More sharing options...
Recommended Posts