Keep bricking using Fstab

Working on a little project for a server with 2 external USB Harddrive using powered USB Hub supplying 2 Amps.
I used image BBB-eMMC-flasher-ubuntu-13.04-2013-06-14.img to run Ubuntu 13.04 ARM.

I keep bricking my fstab mostly when I try to mount automatically hard drives issue commands like this:
UUID=f2491639-c9f8-4100-91db-c9f80c69df59 /media/USBHDD1 noatime,data=writeback,barrier=0,nobh,errors=remount-ro 0 1

My questions are:

  • what I am doing wrong?
  • how do I unbrick (boot freezing post penguin). I tried to put ubuntu-raring-13.04-armhf-3.8.13-bone20.img on another class 4 microSDHC card but I could not boot to it holding boot button on the BeagleBone Black? Any better image to unbrick it?
  • can I mount internal eMMC and fix the stab once I boot to another image?
  • what’s the best way to back up the image from internal eMMC?

Thank you for any suggestions.

Working on a little project for a server with 2 external USB Harddrive using
powered USB Hub supplying 2 Amps.
I used image BBB-eMMC-flasher-ubuntu-13.04-2013-06-14.img to run Ubuntu
13.04 ARM.

I keep bricking my fstab mostly when I try to mount automatically hard
drives issue commands like this:
UUID=f2491639-c9f8-4100-91db-c9f80c69df59 /media/USBHDD1
noatime,data=writeback,barrier=0,nobh,errors=remount-ro 0 1

So "1" is used for the root filesystem with the highest priory...
Change it to 2 (lower then root, but fsck is still called) or 0 (fsck
isn't used)..

next: (try)
"noatime,data=writeback,barrier=0,nobh,errors=remount-ro" ->
"noatime,errors=remount-ro"

My questions are:
- what I am doing wrong?

First, do you have the usb-serial adapter?

- how do I unbrick (boot freezing post penguin). I tried to put
ubuntu-raring-13.04-armhf-3.8.13-bone20.img on another class 4 microSDHC
card but I could not boot to it holding boot button on the BeagleBone Black?

It really depends, do you have usb-serial adapter so we can see what's
actually happening at boot?

Any better image to unbrick it?
- can I mount internal eMMC and fix the stab once I boot to another image?

yes..

- what's the best way to back up the image from internal eMMC?

debian/ubuntu: this script will copy the eMMC -> microSD...
https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-copy-eMMC-to-microSD.sh

Regards,

Thanks Robert for replying

  1. I changed the fstab per your suggestion and I will monitor the stability. It is working so far.
  2. Based on the amount projects I do on both RPi and BBB I probably got to invest in usb-serial adapters.
  3. Thanks for the back up script I presume that if I flipped destination and source I could flash eMMC with the image from the SD-Card. Any better way of doing it?

Thanks Robert for replying

1. I changed the fstab per your suggestion and I will monitor the stability.
It is working so far.

I'm guessing fsk was just waiting for your input, so it was stuck
waiting for user input..

2. Based on the amount projects I do on both RPi and BBB I probably got to
invest in usb-serial adapters.

Nah.. it works now, so you can wait a little longer. :wink:

3. Thanks for the back up script I presume that if I flipped destination and
source I could flash eMMC with the image from the SD-Card. Any better way of
doing it?

Well depending on which version of the script, that's essentially what
it does now..

for example on head:
https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-copy-eMMC-to-microSD.sh
https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh

The only difference is the source/destination are reversed. :wink:

It's probably about time to unify them under one... :wink:

Regards,

Thanks Robert :slight_smile:

Hi Robert,

Bricked it again, but it was running solid for 9 days. I got the debug cable from Adafruit. I checked the two external drives on another linux machine and they are clean as a whistle. The problem has to be with Ubuntu 13.04 on eMMC. How can I easly mount bbb to another linux box to take a look at the files to try to figure out what’s wrong with it.

Thanks,
Oskar