Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem with fstab [SOLVED]

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
ckosloff
Posts: 500
Joined: 2011-12-29 15:08
Location: South Florida, USA

Problem with fstab [SOLVED]

#1 Post by ckosloff »

I wanted to avoid the repetition of entering root password for mounting my internal storage drive.
So i decided to edit fstab, I copied from output of blkid, here is the line:
/dev/sdb1: LABEL="Data" UUID="3477a04f-d073-46d9-8c7e-237012714900" TYPE="ext4"
computer starts OK but it is still asking for password.
Last edited by ckosloff on 2017-10-29 12:17, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Problem with fstab

#2 Post by 4D696B65 »

/dev/sdb1: LABEL="Data" UUID="3477a04f-d073-46d9-8c7e-237012714900" TYPE="ext4"
Is not a properly formatted fstab line.

User avatar
ckosloff
Posts: 500
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: Problem with fstab

#3 Post by ckosloff »

So what is the proper formatting, please?

MALsPa
Posts: 678
Joined: 2007-12-07 19:20
Location: albuquerque
Been thanked: 2 times

Re: Problem with fstab

#4 Post by MALsPa »

See: https://wiki.debian.org/fstab

And, maybe this will help, although it's a different situation... My line in fstab for a storage partition on my hard drive looks like this:

Code: Select all

/dev/sda5     /mnt/sda5     ext3     defaults     0     2


andre@home
Posts: 398
Joined: 2011-10-02 08:00

Re: Problem with fstab

#6 Post by andre@home »

This works great at my place (Debian 8 )

Code: Select all

UUID=xxxxxxxxx-b1e4-4190-b263-yyyyyyyyyyyy /data/webdav1   ext4, user,auto     0       0

User avatar
ckosloff
Posts: 500
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: Problem with fstab

#7 Post by ckosloff »

Thanks for all answers.
I looked in another computer for an fstab that works and solved.
first the UUID, then the mount point (easier to identify if there is a label). then follow the columns in the file itself i.e. type(ext4) , then defaults , 0, 2.
Thank you

Post Reply