1

I have been encountering problems regarding my raspberry pi 2. I've been following the instructions given @ https://learn.adafruit.com/pi-thermal-printer/overview

when I change parameters in my /boot/cmdline.txt and assuming that i have to disable serial-getty@ttyAMA0.service in exchange to commenting out the /etc/initab file. I still get a boot error: unable to mount root fs on unknown-block(179 2).

The sd card is fine, I just need to mount an image and it will run again.

I followed the instructions one by one and it seems that when I edit my cmdline.txt and disable my getty-service (in exchange of editing /etc/inittab) I reboot and get the error.

goldilocks
  • 60,325
  • 17
  • 117
  • 234
littlewil
  • 11
  • 3

1 Answers1

1

when I change parameters in my /boot/cmdline.txt

You did this wrong. You must make sure cmdline.txt still includes:

root=/dev/mmcblk0p2 rootfstype=ext4

And:

  • That there is a space between each parameter, but no spaces within a parameter (most of them are key=value but they can be one term with no =).
  • That there is only ONE line in the file. There must be no linebreaks.
goldilocks
  • 60,325
  • 17
  • 117
  • 234