Skip to main content
Topic: Mount USB drive during boot (Read 1905 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Mount USB drive during boot

Reply #15
I moved that PC to my father's workshop. So I cannot post mkinitcpio or dmesg here now.
From what I have checked.
Dmesg didn't show any error related to mounting.
Root fs got mounted at 1,3x point,  usb drive got recognized at 3,5, long time after all internal drives were mounted already.
Mkinitcpio might be good place to check.
Mounting external drive from fstab works fine for me on different pc. I don't modify mkinitcpio myself so if there is anything missing, Artix must have changed behaviour because on PC where it works, I have installation that dates back to time when Artix got started, while on new PC it was fresh install using the latest ISO.
Linux user since 1997.
Red Hat -> Mandrake - > Arch - > Slackware -> Manjaro -> Artix / OpenBSD

Re: Mount USB drive during boot

Reply #16
I moved that PC to my father's workshop. So I cannot post mkinitcpio or dmesg here now.
From what I have checked.
Dmesg didn't show any error related to mounting.
Root fs got mounted at 1,3x point,  usb drive got recognized at 3,5, long time after all internal drives were mounted already.
Mkinitcpio might be good place to check.
Mounting external drive from fstab works fine for me on different pc. I don't modify mkinitcpio myself so if there is anything missing, Artix must have changed behaviour because on PC where it works, I have installation that dates back to time when Artix got started, while on new PC it was fresh install using the latest ISO.

which init you use?

Re: Mount USB drive during boot

Reply #17
I use OpenRC everywhere
Linux user since 1997.
Red Hat -> Mandrake - > Arch - > Slackware -> Manjaro -> Artix / OpenBSD

Re: Mount USB drive during boot

Reply #18
It may be worth adding ohci_pci (and/or xhci_pci, if the box has got USB3 ports) in /etc/mkinitpio's MODULES array and re-generate initrd. This - in theory - will initialize the USB subsystem sooner and make the disk available for mounting, if your problem is a race condition.