Recovering from a problematic fstab

So, I installed debian onto a BBB, and all was well until I edited the fstab to add a mount for an external drive. Emphasis: add. No change to the root mount.

I don’t know what I’ve done wrong, but I’ve done it wrong three times. The result is that the BBB, rebooted, never reaches the point of reachability via SSH, or via disk mounts on my Mac.

It’s just sitting there blinking its lights.

I’m guessing that debian is sitting there having bailed the boot process. Do I have any options other than:

  • reflash
  • plug in display and such and probably find myself interacting with the single-user boot, complaining about something.
    As a side note, it seems as if once I’ve flashed the eMMc from the microSD image of debian, that image self-modifies so that I can’t repeat the process without re-copying the image onto the microSD. Is this my imagination? It is sure inconvenient.

So, I installed debian onto a BBB, and all was well until I edited the fstab
to add a mount for an external drive. Emphasis: add. No change to the root
mount.

So you probably incorrectly added the new mount, and now it's stuck on
boot waiting for something.. Grab a usb-serial adapter and find out
from the boot error, so you can fix it..

I don't know what I've done wrong, but I've done it wrong three times. The
result is that the BBB, rebooted, never reaches the point of reachability
via SSH, or via disk mounts on my Mac.

It's just sitting there blinking its lights.

I'm guessing that debian is sitting there having bailed the boot process. Do
I have any options other than:

reflash
plug in display and such and probably find myself interacting with the
single-user boot, complaining about something.

As a side note, it seems as if once I've flashed the eMMc from the microSD
image of debian, that image self-modifies so that I can't repeat the process
without re-copying the image onto the microSD. Is this my imagination? It is
sure inconvenient.

Why would it do that? Software only does what it's told to do, not
random things.

Regards,

So, I installed debian onto a BBB, and all was well until I edited the fstab
to add a mount for an external drive. Emphasis: add. No change to the root
mount.

So you probably incorrectly added the new mount, and now it’s stuck on
boot waiting for something… Grab a usb-serial adapter and find out
from the boot error, so you can fix it…

Can you elaborate on ‘grab a usb-serial adapter’? I’ve googled for how this up from my Mac, and I can’t seem to find a working procedure for using the connection as a /dev/ttySomething instead as a network connection.

I don’t know what I’ve done wrong, but I’ve done it wrong three times. The
result is that the BBB, rebooted, never reaches the point of reachability
via SSH, or via disk mounts on my Mac.

It’s just sitting there blinking its lights.

I’m guessing that debian is sitting there having bailed the boot process. Do
I have any options other than:

reflash
plug in display and such and probably find myself interacting with the
single-user boot, complaining about something.

As a side note, it seems as if once I’ve flashed the eMMc from the microSD
image of debian, that image self-modifies so that I can’t repeat the process
without re-copying the image onto the microSD. Is this my imagination? It is
sure inconvenient.

Why would it do that? Software only does what it’s told to do, not
random things.

Well, someone might have made an error writing the scripting for eMMc flashing for Debian. All I know is that I’ve tried this multiple times: try to flash, recopy to the microsd, flash successfully, try to flash again, fail, etc.

So you probably incorrectly added the new mount, and now it's stuck on
boot waiting for something.. Grab a usb-serial adapter and find out
from the boot error, so you can fix it..

Can you elaborate on 'grab a usb-serial adapter'? I've googled for how this
up from my Mac, and I can't seem to find a working procedure for using the
connection as a /dev/ttySomething instead as a network connection.

I was referring to the literal meaning of grab...

Aka something similar to (3.3v ttl):
http://www.digikey.com/product-detail/en/TTL-232R-3V3/768-1015-ND/1836393?cur=USD

and plug in. :wink:

Why would it do that? Software only does what it's told to do, not
random things.

Well, someone might have made an error writing the scripting for eMMc
flashing for Debian. All I know is that I've tried this multiple times: try
to flash, recopy to the microsd, flash successfully, try to flash again,
fail, etc.

Maybe.. This image will do it for you:
http://elinux.org/BeagleBoardDebian#eMMC:_BeagleBone_Black

Regards,