Hadoop Disk Repair Guide

From Lsdf
Jump to navigationJump to search
  1. In the Grub Boot Maske press "Escape" (Once!)
  2. Key "E" for Edit (1. offered kernel)
  3. Move down one line, key word kernel, again "E" for Edit, at the end of the line enter kernel parameter init=/bin/sh, press Return to conclude Edit operation
  4. Boot by pressing key "B"
  5. At Root Prompt enter PATH=$PATH:/sbin:/usr/sbin
  6. fsck.ext4 -f -y /dev/sda1
  7. fsck.ext4 -f -y /dev/sda3
  8. mdadm --assemble /dev/md0
  9. fsck.ext -f -y /dev/md0
  10. Reboot by pressing CTRL-Alt-Del (reboot or shutdown don't work!)