Today when learning Linux, a sudden brain convulsions, in the root directory executed such a command
RM-RF *
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/89/24/wKiom1gIvFjxanwcAABQ9FLsuEY458.jpg-wh_500x0-wm_3 -wmp_4-s_1768825561.jpg "title=" encourage. jpg "alt=" wkiom1givfjxanwcaabq9flsuey458.jpg-wh_50 "/>
At that time, the air solidified ...
It was also not expected to recover with data recovery software. It was restarted directly.
After restarting, it's just going to be
Grub>
Halo Dish.
Suddenly think of the time to rescue mode, the system rescued back. There are backups of data and stuff. Then you can upload the data directly.
My partition information is boot partition sda1, swap partition sda2, root partition Sda3
Then the CD-ROM entered the rescue mode. Restore the/bin/directory and the command is back. And then the/etc,/usr/
and follow the great God's method to restore boot http://www.jb51.net/os/RedHat/316987.html
Then reboot found that detecting the hard drive is not capable of Mount hint error is
Dracut Warning:can ' t mount Root filesystem
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/89/21/wKioL1gIw6Chq1kGAAD7pY2B3No086.jpg-wh_500x0-wm_3 -wmp_4-s_1235337174.jpg "Title=" mount. JPG "alt=" Wkiol1giw6chq1kgaad7py2b3no086.jpg-wh_50 "/>
Then enter the rescue mode, found that the rescue mode will not enter.
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/21/wKioL1gIw-XgbK5wAADA8r-78zg027.jpg-wh_500x0-wm_3 -wmp_4-s_2478663793.jpg "title=" output. JPG "alt=" Wkiol1giw-xgbk5waada8r-78zg027.jpg-wh_50 "/>
The whole place, feel the collapse, powerless to save. Finally give up ...
Write down this article today to warn yourself and be cautious.
Linux Learning and lessons