d8thstar
Posts: 10
Joined: Tue Mar 24, 2015 6:04 am

usb drive not auto mounting

Fri Apr 17, 2015 4:41 am

hi all,

i just upgraded my hd to a 2tb disc, copied everything over from the 1tb, all is good.

except that the drive no longer mounts at boot, i have to quit EmulationStation (ES), type in the commend “sudo mount -a” to mount the drive. restart ES and everything is back. from blkid, i get the following:

/dev/sda1: LABEL=”2TB” UUID=”18ba8ee8-7a31-4efe-8625-bd64e13790fe” TYPE=”ext4″

i have edited the /etc/fstab file with the following line:

UUID=”18ba8ee8-7a31-4efe-8625-bd64e13790fe” /mnt ext4 defaults 0 0

that line obviously works since “sudo mount -a” mounts the drive. did I miss a step?

thanks all

User avatar
DougieLawson
Posts: 35798
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: usb drive not auto mounting

Fri Apr 17, 2015 8:23 am

Add

Code: Select all

rootdelay=5
to /boot/config.txt to give the drive a chance to spin up before you try to mount it.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

d8thstar
Posts: 10
Joined: Tue Mar 24, 2015 6:04 am

Re: usb drive not auto mounting

Fri Apr 17, 2015 8:35 pm

thanks douglas but that didn't work for me.

i came across this and it worked a charm:

add the line:

sudo mount -a

to this file:

/etc/rc.local

i appreciate the feedback!

Return to “Troubleshooting”