Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7373A781A98 for ; Thu, 12 Mar 2020 08:25:00 +0000 (UTC) Received: from postfix.malikania.fr ([5.135.187.121]) by mwinf5d57 with ME id DLQz2200R2dbEiD03LR0Y8; Thu, 12 Mar 2020 09:25:00 +0100 X-ME-Helo: postfix.malikania.fr X-ME-Auth: ZGVtZWxpZXIuZGF2aWRAb3JhbmdlLmZy X-ME-Date: Thu, 12 Mar 2020 09:25:00 +0100 X-ME-IP: 5.135.187.121 Received: from [167.3.108.158] (unknown [77.159.242.250]) by postfix.malikania.fr (Postfix) with ESMTPSA id 97BB81CCE1 for ; Thu, 12 Mar 2020 09:24:59 +0100 (CET) To: alpine-user@lists.alpinelinux.org From: David Demelier Subject: USB device not available at early boot on Raspberry Pi 4? Message-ID: <8ad77f91-16a3-3426-3696-6ed105d046a2@malikania.fr> Date: Thu, 12 Mar 2020 09:24:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 7bit Hey there, I've installed Alpine Linux as "classic" mode on my Raspberry Pi 4 (aarch64 version). It has a USB hard drive connected to it permanently so I wanted it to be available at boot thus I've dropped a simple line in the fstab: /dev/sda1 /mnt defaults 1 1 When booting, openrc mounts every filesystems except that one. I can see the error between all OpenRC status lines: /dev/sda1: No such file or directory This indicates that while booting the USB device seems to not be immediately probed as I need to wait until I logged in and manually mount it afterwards. Someone also advised on IRC that modules may be missing in the initramfs but I don't think so (I have usb also in mkinitfs.conf). Is there any way to make the OpenRC boot script to wait more for the device to be available? Or any other solution, I wanted to use autofs but seems buggy yet (several crashes at the moment). So I can avoid typing `sudo mount -a` everytime I log in :-). -- David