Hi,
I am trying to create custom flasher image using https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh
It works fine and flasher is doing its job, but when I try to modify this script to add fstab entry resulting flasher unable to finish flashing with all leds going on and off constantly.
I am adding simple “/dev/sda1 /data ext4 defaults 0 0”
my modify script:
`
wget https://raw.github.com/RobertCNelson/tools/master/scripts/beaglebone-black-make-microSD-flasher-from-eMMC.sh
sed
-i '/debugfs.*fstab/a \techo “/dev/sda1 /data ext4 defaults 0 0”
/tmp/rootfs/etc/fstab’
beaglebone-black-make-microSD-flasher-from-eMMC.sh
chmod +x beaglebone-black-make-microSD-flasher-from-eMMC.sh
./beaglebone-black-make-microSD-flasher-from-eMMC.sh
`
If I insert this line into /etc/fstab on a flashed device mounting works fine, but I would like it to come from flasher.
Is this the right way to modify fstab for flasher?
Thanks.