You are not logged in.

#1 2009-10-21 09:25:52

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

[Solved]Fstab issue,

Hello, so yesterday I manage to install Arch for the first time following the begining guide...

Now I have an issue with my ftsab, I have been using the same setup into other disto and never add any issue. so I don't understand why a "mount -a" return a "[mntent]: line ** in /etc/fstab is bad" about all my extra lines.

see below those extra partition I wish to auto mount, as information all the files are created in /media/ Even my swap doesn't want to mount....

/dev/sdc1        swap             swap        defaults         0   0
/dev/sdb1        /media/space     ext4        relatime         0   2
/dev/sdc2     /media/Music     vfat        defaults,umask=0            0    0
/dev/sdc3     /media/Exchange    ntfs-3g       rw,user,auto,gid=100,uid=1000,nls=utf8,umask=0     0    0
/dev/sdd1     /media/z        ntfs-3g       rw,user,auto,gid=100,uid=1000,nls=utf8,umask=0     0    0
/dev/sdd1     /media/key      vfat        defaults,umask=0            0    0

The two last line are "z" for my external hard drive, as my previous distro wasn't mounting it automaticly, and the "key" is for usb key.

Many thanks,:P

Last edited by sweetthdevil (2009-10-21 16:45:53)

Offline

#2 2009-10-21 11:56:45

Squall90
Member
From: Germany
Registered: 2008-10-19
Posts: 26

Re: [Solved]Fstab issue,

One thing is that you're trying to mount /dev/sdd1 twice.
And did check if ntfs-3g is installed?

Offline

#3 2009-10-21 12:18:30

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: [Solved]Fstab issue,

Yes, the sdd1 as I mention are the line for my External Hard Drive and usb key, I had them there because I was using frugalware and I had to mount it manually like "mount /media/z"

And yes ntfs-3g is installed, sdc3 Exchange is actually working but it's the only one. ( I haven't tried sdd1 yet)

Thanks for your help,

Offline

#4 2009-10-21 12:47:16

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved]Fstab issue,

Yup, I don't think you can have multiple entries for one device in fstab. Better mount them by UUID or LABEL.


1000

Offline

#5 2009-10-21 12:51:31

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: [Solved]Fstab issue,

removable devices are usally not in fstab but should be handled though hal or devkit though your DE (GNOME / KDE?) Most of this is automagically out-of-the-box with those.


Arch i686 on Phenom X4 | GTX760

Offline

#6 2009-10-21 12:58:08

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: [Solved]Fstab issue,

Right, ok, will try later on today; what about my partition, any idea what's wrong??

Offline

#7 2009-10-21 15:47:53

Squall90
Member
From: Germany
Registered: 2008-10-19
Posts: 26

Re: [Solved]Fstab issue,

What entries are in your /etc/rc.conf? Is there a "hal" entry?

Last edited by Squall90 (2009-10-21 15:48:12)

Offline

#8 2009-10-21 15:53:21

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: [Solved]Fstab issue,

yes it's there

DAEMONS=(syslog-ng hal @network netfs alsa crond gdm)

Offline

#9 2009-10-21 15:59:37

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Solved]Fstab issue,

Doesn't netfs depend on network? From the beginners guide:

Do not background daemons that are needed by other daemons

Last edited by grey (2009-10-21 16:00:34)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#10 2009-10-21 16:04:15

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: [Solved]Fstab issue,

Alright, I was going to try because setting up the network take few seconds while booting up.

Offline

#11 2009-10-21 16:45:39

sweetthdevil
Member
Registered: 2009-10-20
Posts: 415

Re: [Solved]Fstab issue,

Well I manage to fix by playing with it a little. I hope the swap is use however. I must check that.

Please see below my fstab in case it might help someone.

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda2     /         ext3         defaults 0 1
/dev/sdc3     /media/Exchange    ntfs-3g        rw,user,auto,gid=95,dmask=0002,fmask=0113 0 1
/dev/sdc2     /media/Music    vfat          defaults,auto   0 0
/dev/sdb1     /media/space      ext4        defaults,auto   0 0
/dev/sdc1     swap              swap            defaults         0   0

Offline

Board footer

Powered by FluxBB