fstab automounting is not working

Ask questions about Arch Linux ARM. Please search before making a new topic.

fstab automounting is not working

Postby gonny95 » Mon Jun 15, 2015 6:18 pm

I need to automatically mount /dev/sda1 to /mnt everytime I reboot.
So I wrote /etc/fstab like this:
$this->bbcode_second_pass_code('', '
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda1 /mnt ext4 auto,rw,relatime,nofail 0 0
')
Unfortunatly It didn't work. but I can mount it using "mount -a" with no problems.
I have no idea why it doesn't work :?:
gonny95
 
Posts: 5
Joined: Tue Mar 31, 2015 1:26 am

Re: fstab automounting is not working

Postby jeajea » Mon Jun 22, 2015 1:32 am

Is /sda1 your boot drive?
This is how I mount /dev/sda2

$this->bbcode_second_pass_code('', '
cat fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda2 /sd-a2 auto defaults,noatime 0 2
# EOF
[root@PL250 etc]#
')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 12 guests