Need help restoring a partition image

Setup: OSX 10.7
One OSX partition, one Windows 7 Bootcamp partition.
Initially, I made a backup image of the windows partition using disk utility and saved that to an external drive.  For some reason, using any format besides DVD master would result in an "invalid argument" error.*  So now I have an ISO image sitting around, the same size as the entire partition.  I can mount this image and see all my Windows files and directories inside.
What I want to do is image this ISO file back over my original windows partition to restore it to an earlier state.  However, when I use disk utility, this is what happens:
Select .iso as source, greyed out (unmounted) partition as destination.
press restore, agree to erase
DU asks to scan, and then fails with "unable to scan.  Invalid argument"
I can also open the image so that now in finder there is the icon of a disk, surrounded by a rectangle with a corner folder over, and underneath is an image of an external disk drive.  If I choose this as the source, I get "restore failure.  Invalid argument."
All I want to do is write my partition image back to the actual partition.
*That's weird, I just tried to image the partition again right now to a .dmg, and it seemed to start ok.  Oh well.  Still doesn't help with my current problem, though.

OK, I managed to fix it using old fashioned techniques.
First, I needed to check that the image I had was an actual disk image, and not something else contained in a wrapper.
In terminal, I used the command "file" on the image file and it saw a boot sector + other stuff.  That's good.
Next, I checked that the size of the image file is exactly the same as the size of the partition I was going to write to using "diskutil info (name of partition)".  That checked out as well.
Finally, I just did the usual dd if=image file of=target bs=4096 to write the image file back in.  Magically, it worked.  I guess it was good that in the process the partition table was not damaged.
All the other GUI programs like disk utility, winclone, etc refused to touch my iso image file.
I should have saved myself the headache and grabbed the original source image using dd as well.

Similar Messages

  • Need help restoring dell factory image from hidden recovery partition

    Hello All.
    My Dell XPS M1530 Model PP28L Service Tag <ADMIN NOTE: Service tag removed per privacy policy> Windows Vista Home 32 bit crashed the other day. Windows Vista would not load either in normal or safe mode. It kept going into a endless loop. Tried F8 and repair no go. Then hooked this drive as a slave on another system and ran chkdsk.exe which deleted several attribute records. The drive now boots into Vista normal and safemode fine.
    I would now like to troubleshoot how to run the factory restore using Dell restore feature. 
    I've tried Ctrl-F11 but no menu comes at POST. I've also tried the F8 during the POST and after selecting Repair My Computer the laptop continues right into Windows Vista and no System Recovery Option displays. Can I run the Dell factory restore from the hidden recovery image partition ? If YES then what software do I need in order to this ? Thanks
    As a slave hooked to a Windows 7 computer I cannot see the hidden recovery partition in Disk Management. Same when the drive is booted into Vista safemode.
    How can I restore Vista to Dell factory settings from the hidden recovery partition ? Please see the picture of the disk management snapshot which I have taken when booted into Vista.
    Thanks
    Victor

    Windows Vista is obsolete (no Office 2013, IE10/11 or drivers for new hardware support and no Digital Distribution).
    I'd advise installing a SSD in the system and installing Windows 10 Insider 10074 which is a relatively stable build. Windows 7 and Windows 8.1 users are eligible for a free upgrade to Windows 10 RTM. Windows Vista users aren't eligible for the free upgrade but theres likely going to be a free upgrade from Windows 10 Insider to Windows 10 RTM or at least a significant discount.
    Use 64 Bit and note this is a MBR Legacy BIOS (non-UEFI):
    http://dellwindowsreinstallationguide.com/download-microsoft-windows-and-office/download-microsoft-windows/download-windows-10-technical-preview-iso/
    The drivers should all be installed automatically, if not use these:
    http://dellwindowsreinstallationguide.com/driver-sets/xps-laptops/xps-m1530-windows-7-64-bit/

  • I need help restoreing my ipod nano 3rd gen so its like new

    I need help restoreing my ipod nano 3rd gen so its like new

    Plug it to your computer using iPod USB Cable (any cable should work excluding iPhone 5 and Shuffle cables)...... when you see your iPod in iTunes go to that iPod and click restore...... the whole process should take (depending on what you have on your iPod and its is up to date) it should take no longer than 30 minutes...... then it will ask if you want to set up as new iPod or restore from back-up (itunes back up), since you said:
    so its like new
    click set as new iPod and follow through what they said.

  • HT4859 I need help restore my old messages and pictures to my phone.  I did a restore from my computer and my boyfriends stuff downloaded on my phone.  How do I get my stuff back?

    I need help restoring all of my pictures and infor to my phone.  My ex boyfriend info started downloading on my phone and earsed all of my info

    Mission accomplished. While waiting for your reply,. I found an article that mentioned a copy/paste of the following code from the old pref.js to the new pref.js:
    user_pref("ldap_2.servers.OutlookExpressAddressBoo.position", 0);
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_1.description", "Outlook Express Address Book");
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_1.dirType", 2);
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_1.filename", "impab-1.mab");
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_2.description", "Outlook Express Address Book");
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_2.dirType", 2);
    user_pref("ldap_2.servers.OutlookExpressAddressBoo_2.filename", "impab.mab");
    That identified the impab.mab file, and now all my contacts are showing.
    Here is a link to the article: http://nctritech.com/thunderbird_contact_groups.php
    Case closed. Thanks everyone for all your help.
    Ted

  • Hi, i need help restoring my pictures

    Hi, i need help restoring all my pictures backed up in my iCloud I have tried everything I have read out here ,when I signed into this new iPad I only got a song I purchased on iTunes and some games but my pictures didn't restore ... Need help pls

    Hi LaLaMelodic,
    If you are having issues restoring your iPhone from a backup in iTunes, you may find the following articles helpful:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    iOS: Troubleshooting encrypted backups
    http://support.apple.com/kb/TS5162
    Regards,
    - Brenden

  • HT201210 i need help restoring a locked ipod

    i need help restoring a locked ipod touch

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • I need help restoring the ability to view Youtube and all videos of my 4 year old MacBook after receiviving a meaage the the Adobe ineeds to be updated?  Thanks.ng

    I need help restoring the ability to view Youtube and all videos of my 4 year old MacBook after receiving a message the the Adobe ineeds to be updated?  Thanks.

    Did you upgrade whatever product from Adobe was out of date yet?

  • I need help restoring because it dose it but then it just freezing an its just still like tat plz help i sen u a pick apple wats u email 2 i can sen u a pick

    i need help restoring because it dose it but then it just freezing an its just

    If u haven't resolved this issue yet, I just did.
    What I did:
    1. Toggle the hold switch (turn it on and off)
    2. Reset to 'Disk Mode'
    by pressing the 'Play' and center buttons
    simultaneously
    (it may take a couple of trials to get it right)
    3. Update iPod with latest iTunes in Disk mode.
    4. Incase the 'Can't find firmware' error msg is displayed,
    follow the instructions in the link given below:
    http://docs.info.apple.com/article.html?artnum=304309
    Toshiba SatelliteA30-203, Compaq Presario 3000   Windows XP Pro  

  • Need help restoring disk image

    I recently backed up my HDD to an image and stored it on an external USB hard drive. I just put a new hard drive in my macbook and so far am unable to restore from the image. I used a bootable mountain lion USB, opened the disk utility, partitioned the drive, and tried to restore using the image as the source and the partition as the destination. It scans the image for a while and eventually gives a "unable to scan, internal error". I can't seem to get past this. I have tried mounting the .dmg before restoring as well.
    I went ahead and installed a new copy of os x and that works fine. I tried creating a second partition after booting into os x and restoring the image that way and no luck. I also tried SuperDuper but after it says it copied the contents of the image to the other partition, I browse to that drive and it seems to be blank. I am not sure what to do here. Any help?

    Well that is the problem. Not sure why you can open the BC partition but Mac can't make a image of a Windows system, llet alone restore it. OS X can't write NTFS. If it could no one would ever need a program like Win Clone to clone the BC partition on their Mac
    GCM707 wrote:
    The image has 2 partitions in it, one of them (a bootcamp partition) i can open. the other (my mac os partition) i can't open.

  • P35 Neo2 - OS died, need help restoring RAID after re-install of XP

    I have a P35 Neo2 with on-board Intel RAID.  I need a bit of help getting a two drive RAID going again after reinstalling XP.
    Here's my situation:
    Same hardware, MB, etc. I originally set up the system with a 20gb IDE and two 320gb SATA drives. I put the OS on the 20gb, and set the two 320's up as a RAID. I partitioned the 320's into 200gb + 120gb sections on each drive. The 200gb partitions were mirrored between the two drives, and the remaining 120gb on each drive was used as non-RAID storage space.
    I picked up a nasty virus-spyware a month or two ago that I was struggling to find a fix for when the OS began to BSOD. I put the 20gb IDE to the side, and put a 40gb IDE in it's place. I re-installed XP on it last night, and now need to get the RAID up and running again.
    I went into Disk Management and it showed three dynamic drives with a yellow triangle icon and labeled 'foreign'. I right clicked and found an option to 'import'. I clicked on import and a window popped up showing all of the partitions and logical drives I had previously created on the two drive RAID. I figured I was in business, so I clicked OK.
    Disk Management now shows one dynamic disk as 'Online', but still shows two as 'Foreign'. If I right click on them, and chose import, I get the same window showing my partitions and logical drives, but if I click OK, I get a warning message that: "Some of the volumes you are importing will lose data because you have not moved all of your disks to the system."
    I'm in over my head at this point, so any help would be appreciated.
    Thanks,
    GeoD

    A 200gb partition is restored, but the 120gb is not, which is confusing. ALso, when I look at the logical drives in the partition, I'm beginning to think I had the 200gb mirror /120 gb storage backwards. The data restored is not something I would be concerned with losing. It's installed applications, and multimedia files that I could lose without worry.
    There is also 70gb dynamic drive labeled Missing.  I know I left a small portion of all three of the drives unallocated as a reserve, so that must be what this is. It's like the RAID info is incomplete which leads me to the next piece of info.
    Something I didn't initially mention for the sake of brevity, was when I right-clicked on 'Import Disk' the applet noted the disk was 3/3. I assumed that meant disk 3 of 3 disks. I've since begun to wonder if I imported the disks in the wrong order. ie) I should have imported disk 1/3 first.
    Do you know how to clear out Disk Mgt's info, so I can start over?
    I also noticed only one of the 320 SATA's shows up in Device Mgr, (DM). What I found both confused me and encouraged me.
    When I created the array, I named the the drives RAID0 and RAID1. They both show up in DM. But only one of them shows up as the drive model: WDC WD3201ABYS-01B9A0. There should be two of them.
    The OS knows there should be a RAID, but for some reason only one of the drives show up as hardware.  I rebooted and checked the data and power supply cables, (connected), the BIOS, (both drives show up) and both drives show up in Disk Mgt.  Just not in DM.
    Does that mean the HD has died?
    Part of my difficulty is I had a brain injury in 2001, followed by another in 2003. The 2nd injury caused 6 months of what the docs call it a walking coma - I walked and talked, but have no memory of the time.
    When I 'woke up' in the Fall of 2003, I found I had lost considerable cognitive function and other problems.  These problem have ended up disabling me, (I'm now on SS Disability).
    Until then I had been a 'System Admin' for micro-businesses, (max - 15 computers). I built systems and servers, installed networks, maintained them and did all the support. Basically I was these company's Sys Admin on an as-needed basis.
    One thing I lost was the ability to troubleshoot and repair hardware. Combined with other cognitive problems, I was forced into closing my business. At the time, I was maintaining close to fifty offices; ~20 had Peer-to-Peer networks & ~20 had servers I had built.
    What's doubly frustrating is I was just getting ready to sign up with an online backup service when I got hit with a nasty malware/virus that's so new there's no info on the 'net about it. I got entangled in trying to fix it and spaced out the online back up. Now I find myself in a situation where I desperately need to restore the data on these RAID drives.  Because of the memory problems I now have, I completely depend on my computer as an auxiliary 'brain' - I have stuff on these drives that I have to have.
    I didn't do much with RAID when I was still in the biz, and this is the first time I've had problems with a RAID of my own, so I'm struggling to figure this stuff out.
    Should I be able to install one of these drives by itself so I can get the data from it? The way I understand the theory of RAID is that if one drive dies, you can put another in and the mirrored portion will re-create itself on the new drive.  Couldn't that be a way to get the important data off the drive or drives if they don't want to go back together as a RAID?
    I could back each up to the online service and then just rebuild them.  Not my first choice, but it would reduce my stress level if I thought I could do it.
    Sorry to go on, but now you can see why I'm both struggling & worried.
    Thanks for any info or help.
    Later,
    GeoD

  • I need help restoring data from my time machine.

    1)  On the time machine, where do I find the TRASH file that is located on the dock in my desktop?  I'd like to restore that to a prior date but can't find it.
    2)   I DID A VERY BAD THING & need help to get back to where I was before.   I wanted to delete files that were taking up lots of space.  My OTHER section  was using 160G.  I downloaded OmniDiskSweep and found that 120G was being used by my virtual machine (I run Quicken in Windows, through VMware).  I started to delete files that were called Snapshots assuming these were the snapshots that the program regularly takes of my files. Apparently they were not. I also deleted the program Windows XP Professional because that was never used.  When I try to open VM or quicken program, it says it is missing a particular snapshot, i.e. Snapshot 11104.  I deleted about 20 of these. I left all the other files that said Windows XP Home Edition.  But now it shows that I only have the Professional Edition, even though that's what I deleted.  I'm trying to restore from Time Machine and it looks like the information is not there - I've tried various different backups and nothing seems to have the information I need.  The earliest back up I have is from 5/7 when I started time machine on a new external 1TB HD.  Would that have the information I need since it's the very first back up?  Please Help.

    I am assuming it's real data because it's taking up storage on my HD.  It falls in the category "other" and the total of this section is 160G. Here is a snapshot of the virtual machine.
    I also took a shot of the VM snapshots & it tells how much space is being taken up by the snapshots.
    I've now changed the number of snapshots taken down to 12 (didn't know I had this option) & I can delete alot of the 21 snapshots that have already been saved.  I have no idea how much of the HD was set aside for the VM because someone else installed it for me 5 years ago.  I've had enough problems with it over the years that I've wanted to switch to Quicken for Mac or find another financial program to use. I've upgraded the VM 2x over the years, but didn't want to spend $100 for Version 5.   I understand the concept of a VM but that's about all.
    I did do the disk cleanup in Windows on the C drive.  I deleted 700 MB of temporary files and then compressed 4G of data down to 2G.  While the cleanup was progressing it said that the C drive was 30.99G and 78% of it was free.  That just doesn't make sense to me.  It recommended a defrag, so I did that also.
    I'm pretty sure it's real data because I recently had to switch from a 320G external HD for TM, to a 1T HD.  One TM backup was over 300G which I found to be excessive because I basically use my computer for mail, some word processing, and my financial data.
    Thanks again for all your help. I really appreciate it.

  • Need help restoring iPhoto 08 Library into iPhoto 11

    Ok, I have spent hours trying to figure this out on my own. I'm not being lazy but I need help!  I have a black macbook (2009) that had Leopard (not Snow) and iPhoto 08. It crashed. I had a time machine backup on external drive. I got a new hard drive installed and they upgraded me to Lion and iPhoto 11.  I messed up and started the system without hooking up to time machine. I tried to use migration assistant. It imported only imported 400 pics of my many thousand pics.
    I did several things: I tried to rebuild the library, look for orphans, etc. I deleted the ProjectDBVersion.plist, Projects.db, Projects.db-journal files as someone suggested. I deleted the new iphoto 11 library. i dragged the my old iphoto library from time machine. I held down option and tried to build it again from the old library. I still get the same 400 pics. I even tried the free version of Photo Library Manager. It created the same library with 400 pics. (not sure if I know how to use this app right).
    If I open the new iphoto 11 library, I can see my pics in the  "Masters" file.  I was able to drag these to my desktop and then put in iphoto but does this method save my edits? Should I drag the "Modified" pics into iphoto instead? I don't care much about keywords, I just want my edits. I also don't want old deleted photos put back into iphoto. 
    another question, time machine (TM) is not turned on yet with new hard drive and OS. it doesn't recognize my external drive as TM. It asks if I want to designate it as TM. If I do this, will it delete my old backup (with all my important data) and start a new backup of my new hard drive which doesn't have all the pics yet.
    I don't have a copy of Lion so if I do a complete restore, I will have to buy it and add all info again. Is this my best option? Would it really make a difference?
    Terrance, you out there?
    Thanks for any help!

    It might start backing up your new drive but will not erase what's on it as long as there is sufficient space. Also you can turn on TM and exclude your entire HD via the TM Options pane.
    Then go to your Pictures folder and enter Time Machine.  Go back to the appropriate date, select the library and use the Restore button.
    OT
    NOTE:  if you have trouble entering TM's backups go to the Lion forum and ask your question there.  Also do a search there for Time Machine so see if there are any similar topics there already.

  • Need help restoring itouch - dont have passcode or original PC

    Hello folks -
    My father in law just gave me his old itouch to me. It had been collecting dust for more than a year now.
    I would like to begin using the itouch, but I am unable to access it on my PC. I don't know the passcode for the itouch, and the original PC that the itouch was synced to is long gone.
    I have tried to restore the itouch, but nothing seems to work.
    What do I need to do to begin using the itouch.
    Thanks in advance. All help is greatly appreciated.

    Connect in recovery mode and restore, you'll get the option to rest the passcode during this process:
    iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.

  • I'm needing help restoring an iPod touch 5 back to factory settings because I purchased it used

    I'm needing help in restoring an iPod touch 5th generation back to factory settings. Because I purchased it used from a family member who can not remember their password or sercuity question answers

    They need to call AppleCare, ask to be transferred to the Account Security team.

  • Need help restoring iPad2 please.

    Long story short. I hit Software Update on my iPad. I use iCloud, keep all of my hardware and software up to date. As soon as I did, the iPad displayed the connect to iTunes screen and will not come out of recovery mode. iTunes displays that the iPad is in recovery mode and needs to restore before updating. I go through the prompts. Download goes through and then displays a message saying "The software for the iPad "iPad" was corrupted during download" I have tried this process multiple times and get the same result. I have tried DFU mode but still never get out of the connect to iTunes screen. Very frustrated. I would appreciate any help.

    Are you using itunes 11 on computer?
    You can also try a different computer.
    How did you attempt DFU mode?
    DFU mode = Device Firmware Update mode
    DFU mode is a mode where the iPod Touch/iPhone will be made to force a restore of the firmware into whatever version firmware it is given.
    Getting your iPod Touch/iPhone into DFU mode is somewhat tricky, and it may require some patience/practice because timing is essential to get it to DFU mode and not into recovery mode.
    1. First, Open up iTunes, plug in your iPod Touch/iPhone to the CPU's USB port. Turn on your CPU's speaker and make sure it is loud enough that you can hear it.
    2. Hold down the Home button and the Power button ( simultaneously, until the screen goes black and the device turns off. (past the red slider/slide to power off screen)
    3. Now let go of the Power button, but continue to hold the Home button. Your iPod Touch/iPhone should have turned off and the screen should not be on.
    4. After around ~10-20 seconds, you will hear a noise (beep/ding) from your CPU as if it had just recognized a new hardware device, now iTunes should recognize it in DFU mode.
    5. After iTunes recognizes the iPod Touch/iPhone, let go of the Home button otherwise it will go into recovery mode and you will have to do the entire DFU process over again.
    6. You will know when you have put your iPod Touch/iPhone correctly into DFU mode when the display is blank and that you do not have anything on your device.
    And you are done, now you can install any iPod Touch/iphone,ipad on to your device via the iTunes SHIFT recovery method.

Maybe you are looking for

  • HT4972 i have an ipad version 5.1.1 and my ibooks no longer works. please help there are pdf docs i would like to read

    I have an ipad, version 5.1.1 and ibooks no longer works, i have followed advice re restarting etc but no joy.  is there a way i can send the contents somewhere and retieve them especially pdf's?  i have synced with itunes and they are not accessible

  • Printing basics with Old HP LaserJet

    I have a new Airport Extreme and would like to use an Airport express to connect my network to an HP4050. I have searched the discussions and have seen a number of posts that were relevant, but quite technical. My question is more basic. The HP4050 h

  • Missing latin1 font encoding in Texmaker

    Hey, today I started using Texmaker together with a template for Koma Script. The author suggested using latin1 file encoding instead of utf8x .. \usepackage[latin1]{inputenc} \usepackage[utf8x]{inputenc} ..because some packages like listings, soul e

  • Not able to connect JDev to weblogic

    Hello I just installed standalone weblogic production server (10.3.4) on a server. I am able to access the weblogic console from the server machine but I am not able to access the weblogic console from my machine. I tried with the http://ipaddress:70

  • Data Guard: Verify Configuration

    If I verify the dataguard configuration within the EM (Additional Administration -> Verify Configuration), the check of the agents of the primary and the standby database results in a warning, that something could not be written to a process and that