Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikimotoH/6b1ed323ea29b87ad60d88be3084ef35 to your computer and use it in GitHub Desktop.
Save MikimotoH/6b1ed323ea29b87ad60d88be3084ef35 to your computer and use it in GitHub Desktop.
recover Ubuntu after unmount system disk
我的Ubuntu 14.04.3 LTS Desktop,我把左測的Files -> Devices 中的Ubuntu System disk給 unmount之後,從公司ssh連回家後發現做什麼都
disk i/o write error。
我強迫重開機後,進入黑白的GRUB command line,用了 set prefix=(hda2,2)/boot/grub ; insmod normal ; normal
也沒有效果。
使用 USB Boot Disk也沒有辦法修復。
我以為這裡面的data都毀了corrupted,救不回來了。
後來,我把ubuntu的SSD OCZ 240GB SSD 拆開到另一台電腦,用外接硬碟連接,另一台電腦用也用Ubuntu USB boot,沒想到發現外接SSD
裡面的資料完好如初。
後來,我把那/boot/grub/grub.cfg 中的ro都改成rw,再接回原來的電腦,沒想到就可以用了。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment