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:
then I readied my OS to install on the drive... after that I used...
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
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!
I used:
Code:
sudo diskutil unmountDisk disk1
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
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
3) Is there any other advice you have for me? Did I do something wrong in the Terminal???
Thanks all in advance!
Last edited: