sudo sh -c "echo '/dev/mmcblk0p2 / auto errors=remount-ro 0 1' >> /mnt/rootfs/etc/fstab" sudo sh -c "echo '/dev/mmcblk0p1 /boot/uboot auto defaults 0 2' >> /mnt/rootfs/etc/fstab"