Another v131 USB problem on RPi3

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Another v131 USB problem on RPi3

Post by johnvick »

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 :)

John
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Another v131 USB problem on RPi3

Post by Fourdee »

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
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Another v131 USB problem on RPi3

Post by johnvick »

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
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Another v131 USB problem on RPi3

Post by Fourdee »

johnvick wrote: If a USB drive is mounted by UUID it likely means there is a specific reason for this and it should be left alone?
Secondly if any changes are made to fstab during an update a backup file could be generated?
Hi John,

Yep, all good suggestions, taken on board :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply