Showing posts with label fsck commad. Show all posts
Showing posts with label fsck commad. Show all posts

Sunday, October 9, 2011

initramfs ERROR!

Your PC starts and shows boot screen like:

intramfs:


Some reasons:
  1. Maybe you play around with your drives.
  2. Maybe with some other OS.
  3. Maybe there was an abnormal shutdown.

How to solve it:
  1. Boot with any live cd.
  2. Run >  sudo fdisk -l /dev/sda1 (if sda1 is your main partition; where your linux is installed)
    It will show the output regarding your sda1 drive.
    If you want to identify which is your primary partition
    Run > sudo fdisk -l
  3. Run > sudo fsck -yV /dev/sda1
fsck - file system check; you can read more about it by man fsck in terminal.

After that, restart your computer.
Your file system is repaired.