EuphangeL Posted November 6, 2009 Share Posted November 6, 2009 Greetings everyone I am really left off right now. I wanted to expand the size of my OSX partition so i made an image of it using Disk Utility from iDeneb 10.5.5 disk (i booted and opened the Disk Utility) and that created a DMG image file which i saved to another HFS+ partition on the same drive. I deleted the OSX partition and reformated it with osx extended journaled and booted again with iDeneb 10.5.5 to restore the partition image to the newly formated mac os extended journaled partition. I select the DMG and as destination the new partition, click restore and BOOM, the disk utility says: Could not validate source - error 254 What can i do? I've encountered the same error message before when trying to restore a vanilla OSX dvd to a hard drive partition. I never figured out why this is happening and im really left off right now because i have valuable files into this partition (which seems to be just a DMG file now..) Im desperately seeking for assistance Link to comment https://www.insanelymac.com/forum/topic/196265-restoring-a-partition-from-a-dmg-file/ Share on other sites More sharing options...
EuphangeL Posted November 7, 2009 Author Share Posted November 7, 2009 I've just discoverd some things: In Disk Utility the image information at the bottom of the window says: Partition Map Scheme: No partition map Why is that? Here i have to notice that my drive is MBR partitioned And since i cant mount the image (propably because it cant find any partitions in it) i did the following: sudo hdiutil attach /Volumes/MACCLN/MACOSX.DMG -nomount and sudo dd if=/dev/disk1 of=/dev/disk0s2 with disk0s2 being the new MACOSX volume which i have unmounted or else the dd gave me resource busy Will this work? I still cant understand why dd is taking soooo long. The disk activity is just 2MB/s The image file is 60GB by the way. Link to comment https://www.insanelymac.com/forum/topic/196265-restoring-a-partition-from-a-dmg-file/#findComment-1322838 Share on other sites More sharing options...
EuphangeL Posted November 8, 2009 Author Share Posted November 8, 2009 Now it is clear that the thing that does not go well is that the image does not have a format but its possibly a block by block copy of the volume here is what asr says to me: sudo asr restore --source /Volumes/MACCLN/MACOSX.DMG --target /dev/disk0s2 --erase --format HFS+ --noverify Validating target...done Validating source... Could not detect format of volume on device /dev/disk1 Could not validate source - error 254 What can i do? How can i restore a block by block image? Is there any way to properly do this? Link to comment https://www.insanelymac.com/forum/topic/196265-restoring-a-partition-from-a-dmg-file/#findComment-1323911 Share on other sites More sharing options...
Recommended Posts