[Solved] beaglebone black not booting after fstab edit

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[Solved] beaglebone black not booting after fstab edit

Postby eslarsen » Sat Mar 29, 2014 12:32 pm

Sooo.

I bravely copied Arch linux to the EMMC. Did a lot of changes, set it up nicely, tried rebooting a few times, everything seemed ok.

Switched to new systemd-network setup because the one included did not give me dns resolution in time for ntp.

Reboot, all working.

Now this is what's new:

I connected a usb disk (with power from a 3A 5V adapter) and set it up in fstab to mount.
/dev/sda2 /files auto defaults,noatime 0 2

reboot

Network comes up (ping responds), but SSH does not (connection refused).

Disconnect usb drive.

Still same.

Tried putting in the sd card I made the install from and it does not boot, nothing happens, does not seem to even boot.

Is there a way to salvage this? Did I just brick it haha?

I have very little clue about micro controllers, but lots of linux experience. Hoping anyone can help!
Last edited by eslarsen on Sat Mar 29, 2014 2:31 pm, edited 1 time in total.
eslarsen
 
Posts: 5
Joined: Fri Mar 28, 2014 12:02 pm

Re: beaglebone black not booting after fstab edit

Postby eslarsen » Sat Mar 29, 2014 1:25 pm

I had not used the SD card, but I reformatted and copied bootloader again and it worked to boot from sd card. Hoping I can salvage this :)

Now how can I debug the bootup process of the EMMC?

Would like to review the systemd bootlog for the last couple of boots...

edit:
After booting to the sd-card:

mount emmc on /mnt/boot

I figure a chroot /mnt/boot /bin/bash

then running journalctl will give me bootlog of the emmc?

In that case:
Jan 01 01:01:32 blackarch systemd[133]: Failed at step EXEC spawning /bin/plymouth: No such file or directory

dont know what plymouth does or is for.

Also this looks suspicious:
$this->bbcode_second_pass_code('', '
Jan 01 01:01:31 blackarch systemd[1]: Job dev-sda2.device/start timed out.
Jan 01 01:01:31 blackarch systemd[1]: Timed out waiting for device dev-sda2.device.
Jan 01 01:01:31 blackarch systemd[1]: Dependency failed for /dl/data.
Jan 01 01:01:31 blackarch systemd[1]: Dependency failed for Local File Systems.
Jan 01 01:01:31 blackarch systemd[1]: Triggering OnFailure= dependencies of local-fs.target.
Jan 01 01:01:31 blackarch systemd[1]: Dependency failed for File System Check on /dev/sda2.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Getty on tty1.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Serial Getty on ttyO0.
Jan 01 01:01:31 blackarch systemd[1]: Stopped target Graphical Interface.
Jan 01 01:01:31 blackarch systemd[1]: Stopped target Multi-User System.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Network Time Service.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Entropy Harvesting Daemon.
Jan 01 01:01:31 blackarch systemd[1]: Stopped Network Time Service (one-shot ntpdate mode).
')

Edit2:
Confirmed it was a problem with the fstab.

fixed by adding nofail to mount options:
nofail - Mount device when present but ignore if absent. This prevents errors being reported at boot for removable media.
eslarsen
 
Posts: 5
Joined: Fri Mar 28, 2014 12:02 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 11 guests