Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4714

Beginners • Disable usb automount before install

$
0
0
Hi,

I would like to disable usb automount BEFORE the system is live, i.e. prior to install on a stock raspbian OS install.
I.e. the OS is flashed to storage, and I have access to bootfs before putting the media into the pi.

For example, is it possible to edit cmdline.txt/config.txt or similar to prevent automount?

I've found multiple ways to disable it once the system is live, but can't find a solution for prior to this.

Many thanks.

edit: sorry, context: I'm using duetpi which is basically raspbian with apps already installed. They have included their own USB mounting feature, which conflicts with the standard usb automount. While running I can fix the issue by rm the automount rules, but as I can't do this until after first boot and getting access to a terminal, it produces a lot of errors. If I can disable automount before it tries to do so, it would be advantageous

Statistics: Posted by DropbearNinja — Fri May 10, 2024 2:01 am — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 4714

Trending Articles