I have set up my Raspberry Pi 2 Model B to boot from a USB flash drive like in this article. Basically, I have burned the Raspbian image to a USB drive, then copied the boot partition to my SD card, and edited
cmdline.txt in the following way:
Whenever I try and boot my Raspberry, I get the following message:
Checking file system...fsck from util-linux 2.20.1 open: No such file or directory dosfsck 3.0.13, 30 Jun 2012, FAT32, LFM fsck died with exit status 6 fsck died with exit code 6 [FAIL] File system check failed. [warn] A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot
When I try fsck in the maintenance shell, I get the following error:
No such file or directory while trying to open /dev/mmcblk0p2
When I control-d uit of the shell, the system boots normally.
Why does this error take place and what can I do about it?