Another v131 USB problem on RPi3

Hi Fourdee,

This is the Pi3 that boots from a USB flash drive - no SD card. After upgrading to v131 it booted but I couldn’t get dietpi-software up.

A look in fstab revealed the reason for this and a quick edit and I am running again.

The offending line was
/dev/sda1 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0

And in my setup /dev/sda1 was mounted as /boot - but this line had disappeared.

All fixed but this could catch people out :slight_smile:

John

All fixed but this could catch people out

Hi John,

Yep, apologies for that.

We are looking at avoiding similar issues with updates in the future: https://github.com/Fourdee/DietPi/issues/525

Hi Fourdee,

The disclaimer looks like a good idea. Can I make a couple of suggestions from a user perspective?

If a USB drive is mounted by UUID it likely means there is a specific reason for this and it should be left alone?

Generic /dev/sda type entries in fstab are less likely to be critical.

Secondly if any changes are made to fstab during an update a backup file could be generated?

Again thanks for doing all you do it is appreciated.

John

Hi John,

Yep, all good suggestions, taken on board :slight_smile: