Systemd error and fstab

Started by sylvain, December 29, 2016, 05:03:13 PM

Previous topic - Next topic

sylvain

Hello

It's my first time posting on the forum but I've been working with various OLinuXino boards for the last 2 years.

I have received a revG of the A20-Lime2 board this week, I'm using the Debian image provided by Olimex (microSD, no NAND, no eMMC), and I have a small issue that doesn't seem to be critical but annoy me because I don't understand.
Using apt-get to add/remove packages, I get this error message several times:
<27>systemd-gpt-auto-generator[914]: Failed to determine partition table type of /dev/mmcblk0: Input/output error
[ 1570.638414] systemd-gpt-auto-generator[914]: Failed to determine partition table type of /dev/mmcblk0: Input/output error


This is the content of the /etc/fstab file in the original iamge:
# UNCONFIGURED FSTAB FOR BASE SYSTEM
#/dev/mmcblk0p2  /  auto  errors=remount-ro  0  1
/dev/mmcblk0p1 /boot vfat defaults 0 0


I was wondering if this could be related, with systemd generating errors because the line about the root filesystem is commented out.
Is the fact that is line is comment-out specific to Olimex images?

I've tried changing /etc/fstab to:
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/mmcblk0p1 /boot vfat  defaults           0  0
/dev/mmcblk0p2 /     auto  errors=remount-ro  0  1

The system seems to be working as before ... and I still get the same error message when using apt-get.
Is /etc/fstab still used by the system or is this one of those legacy stuff that is kept around but do nothing?

Bye,
Sylvain