Mount USB drive at boot?

Asked by lifestream

How can I boot my NTFS USB drive at boot?
I have this in fstab:
UUID=55D123D9E79ABF54 /media/USB\040Drive ntfs-3g defaults,force,users 0 0
I've also tried:
/dev/sdb1 /media/USB\040Drive ntfs-3g defaults,force,users 0 0

Which does NOT work, however if I mount manually:
mount /dev/sdb1
or
mount -a

It works.

What's wrong? Can you help me?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
lifestream
Solved:
Last query:
Last reply:
Revision history for this message
lifestream (lifestream) said :
#1

I've also tried with auto, without force, without users.........
I've tried with UUID.
I've tried putting it on cron tab.
What am I doing wrong?

Revision history for this message
lifestream (lifestream) said :
#2

Ah yeah forgot to mention, for the people who don't realize \040 is not a bad thing -_-;
YES I have tried without spaces. I'm not dumb :P

Revision history for this message
Christophe Painchaud (dash-ionblast) said :
#3

Hello,

I think you forgot option 'auto' , for auto-mount at startup:

auto and noauto With the auto option, the device will be mounted automatically (at bootup, just like I told you a bit earlier, or when you issue the mount -a command). auto is the default option. If you don't want the device to be mounted automatically, use the noauto option in /etc/fstab. With noauto, the device can be mounted only explicitly.

so ... the result would be:

UUID=55D123D9E79ABF54 /media/USB\040Drive ntfs-3g auto,defaults,force,users 0 0

Revision history for this message
Christophe Painchaud (dash-ionblast) said :
#4

I noticed that sometimes if auto is not specified, it wont mount at boot even if its the default ...

Revision history for this message
lifestream (lifestream) said :
#5

That didn't work either. I ended up just backing up the drive and formatting it to ext3. It mounts fine at boot now.
Thanks.