Я хотел стереть все данные на устройстве USB. Дело в том, что я случайно смонтировал /dev/sda1вместо себя /dev/sdb1и случайно удалил раздел восстановления Windows.
Я запускал это из Ubuntu 14.04. Любые идеи, как отменить это?
Я хотел стереть все данные на устройстве USB. Дело в том, что я случайно смонтировал /dev/sda1вместо себя /dev/sdb1и случайно удалил раздел восстановления Windows.
Я запускал это из Ubuntu 14.04. Любые идеи, как отменить это?
Not sure what you mean by sda1 other than just meaning /dev/sda1.
Anyways, sorry to say that you're pretty much hosed if you're expecting things to return to normal. However, there might be some hope if what you care about recovering most is media files, zip files or doc files. There is a program called foremost that will try to recover various types of files based on their magic byte. If all that was lost in the rm -r is the metadata (filenames, modification times) then you should be able to recover some of the data. Although you'll have to then go through each file and rename it to something meaningful again. Good luck.
Ctrl+K или / — быстрый поиск Начните вводить запрос для поиска по сайту