Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cdustybk

macrumors member
Original poster
Jul 15, 2011
57
0
Hi all. I have quite a unique issue. I was trying to install a custom OS on a USB disk today using the terminal...
I used:
Code:
sudo diskutil unmountDisk disk1
then I readied my OS to install on the drive... after that I used...

Code:
sudo dd if=MyOS.img of=/dev/rdisk1

I waited about 45 minutes, and noticed my prompt was back on the terminal. I was thinking "man, I thought it would take at least an hour and a half to do that..." I then used a
Code:
diskutil eject disk1
but the terminal said "Unable to find disk for disk1". So, I went to Disk Utility to find the USB Disk, but it's not showing up. It was there the whole time it was copying, though.

I guess my questions are:
1) Did I corrupt the drive?
2) If I did, how can I "reset" it? Maybe on the hardware side? I've already popped the cover off and I'd love to learn how to super-hard reset a USB drive ;) Also, I don't mind formatting the drive if I can get Disk Utility to find it....
3) Is there any other advice you have for me? Did I do something wrong in the Terminal???

Thanks all in advance!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.