Announcement

Collapse
No announcement yet.

/etc/fstab entries

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    /etc/fstab entries

    Hi all,

    apologies for a rather rambling New Guy query on whether it is usual to have two entries for drives in /etc/fstab.

    I'm pretty sure I had one entry before, but after I needed to resize some partitions (using GParted on a Knoppix LiveCD) and then running ntfs-config, one or the other seems to have created some double entries. I'm not sure which as I haven't checked /etc/fstab from my initial install till today:

    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/hda6 :
    UUID=8470bdd8-cd39-42b7-a1bc-41acba12313f / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
    # Entry for /dev/hda7 :
    UUID=f002d970-814e-4c5f-b87c-91e260717254 /home ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
    # Entry for /dev/hda10 :
    UUID=0EEBA2486BC2B991 /media/windownloads ntfs-3g defaults,locale=en_GB.UTF-8 0 1
    # Entry for /dev/hda1 :
    UUID=9448CF3048CF0FC2 /media/windows ntfs-3g defaults,locale=en_GB.UTF-8 0 1
    # Entry for /dev/hda5 :
    UUID=0EEBA130601575D9 /media/wingames ntfs-3g defaults,locale=en_GB.UTF-8 0 1
    # Entry for /dev/hda11 :
    UUID=0EEBA344764DD729 /media/winmusic ntfs-3g defaults,locale=en_GB.UTF-8 0 1
    # Entry for /dev/hda9 :
    UUID=F4389543389505B0 /media/winprograms ntfs-3g defaults,locale=en_GB.UTF-8 0 1
    # Entry for /dev/hda8 :
    UUID=12a4dd5a-c5bd-4b34-9c10-bec4713dea13 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
    /dev/hda1 /media/windows auto nouser,noauto,atime,rw,nodev,noexec,nosuid 0 0
    /dev/hda9 /media/winprograms auto nouser,noauto,atime,rw,nodev,noexec,nosuid 0 0
    /dev/hda10 /media/windownloads auto nouser,noauto,atime,rw,nodev,noexec,nosuid 0 0
    /dev/hda11 /media/winmusic auto nouser,noauto,atime,rw,nodev,noexec,nosuid 0 0
    /dev/hda5 /media/wingames auto nouser,noauto,atime,rw,nodev,noexec,nosuid 0 0

    Is this anything to worry about? I know the mantra 'If it ain't broke...', but I just concerned if it may casue a problem when 7.10 is released. My /etc/fstab under 6.10 was a bit funny, in that it didn't agree with one of the following 'df -h' or 'sudo fdisk -l' (sorry, can't remember which did/ didn't agree) and when I tried the upgrade to 7.04 I had a complete system crash/ freeze: two error boxes came on screen sometime during the upgrade process while I was AFK, both boxes having no text. I ended up re-installing, which at least gave me a nice shiney new install Of course the '/etc/fstab' v 'df -h' v 'fdisk -l' contretemps may have been nothing to do with it!

    Or, the first reply will just say that 'yes, two entries' is normal

    Here's a copy of /etc/fstab before ntfs-config if it helps:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/hda6
    UUID=8470bdd8-cd39-42b7-a1bc-41acba12313f / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda7
    UUID=f002d970-814e-4c5f-b87c-91e260717254 /home ext3 defaults 0 2
    # /dev/hda10
    UUID=0EEBA2486BC2B991 /media/windownloads ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/hda1
    UUID=9448CF3048CF0FC2 /media/windows ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/hda5
    UUID=0EEBA130601575D9 /media/wingames ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/hda11
    UUID=0EEBA344764DD729 /media/winmusic ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/hda9
    UUID=F4389543389505B0 /media/winprograms ntfs defaults,nls=utf8,umask=007,gid=46 0 1
    # /dev/hda8
    UUID=12a4dd5a-c5bd-4b34-9c10-bec4713dea13 none swap sw 0 0
    /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

    #2
    Re: /etc/fstab entries

    Double entries are never a good idea, to say the very least ...

    Settle for plain ntfs-3g or ntfs-config as well as one set of entries to the file system table!

    Comment


      #3
      Re: /etc/fstab entries

      Thanks for the reply, glad I asked- I almost didn't thinking it was too much of a newbie question! Having one entry was what I expected to see

      I followed the instructions from here

      https://help.ubuntu.com/community/Mo...irdPartyNTFS3G

      Which I read as saying install ntfs-3g then run ntfs-config. How should I resolve the issue from here? Is this what I need?

      #/etc/fstab.pre-ntfs.config is the only back-up I seem to have:/
      sudo mv /etc/fstab.pre-ntfs-config /etc/fstab
      #repeat the following line for each of my win* partitions?
      sudo umount /media/<mount point>

      Then unistall ntfs-3g

      Then

      sudo mount -a ?

      Sorry, I'm wearing my newbie hat with pride, and don't want to make a (currently...) working set-up fall down on me, yet

      Comment


        #4
        Re: /etc/fstab entries

        From my experience, ntfs-config may or may not produce useful results;
        I'd revert to the manual configuration of ntfs-3g - it's not that difficult

        Comment


          #5
          Re: /etc/fstab entries

          Thank you for the help, I manually edited the file as suggested & deleted the lower versions, now all is well

          Rick

          Comment

          Working...
          X