Results 1 to 6 of 6

Thread: fstab problem

  1. #1
    Join Date
    Jun 2011
    Location
    N.Z
    Beans
    14
    Distro
    Ubuntu 11.04 Natty Narwhal

    fstab problem

    Hey all

    I'm going through the processes of learning/understanding the CLI by going through tutorials on different sites to get a few different ways of doing things rather than just sticking by one persons way of doing things and so far so good, it all seems logical.

    What is confusing me is i have got to 'Editing and understanding fstab' on one particular site http://www.tuxfiles.org/linuxhelp/fstab.html
    But instead of the nice neat rows of understandable text i get

    /etc$ cat fstab

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sda1 during installation
    UUID=********-****-****-****-************ / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=********-****-****-****-*********eda none swap sw 0 0

    i've got no idea what this means (i've blanked out the numbers/letters that UUID= as i'm not sure if i should be printing them online or not, if they are needed i can always put them on a later post.
    can someone tell me why this is coming up and how to change it /use a command to make it legible pls

  2. #2
    Join Date
    Nov 2006
    Beans
    432

    Re: fstab problem

    I'm a nooby, but I have been going through all of this "fstab" "blkid" UUID" stuff the past few days, and beings that no one has replied yet I will tell you what little I know, until some one more knowledgeable comes on.
    The UUID is simply a very unique identifier given to devices that are so random that they probably won't be duplicated anywhere. If you go into your terminal and type "sudo blkid" ( without the quotes of course, you will get these unique identifiers for the partitions on your HD. The "fstab" file in your /etc directory is a file that is read at boot and the identifiers in the fstab file must match what you are shown by doing the blkid command.
    On the file that you displayed ( the fstab file ), the # at the beginning of a lines do not mean anything to the computer, they are only remarks for humans to read, you can put anything after them that you want.

    For example, your post of this:
    Code:
    UUID=********-****-****-****-************ / ext4 errors=remount-ro 0 1
    would mean that the unique identifier ****whatever is for "/"
    which is the root directory and "ext4" is the type of file system that is for this UUID. I don't know what the "errors=remoutsetcetcetc" mean.

    You also have a UUID for the swap partition and some people have more that 2 partitions and the fstab file would need to know about each of them so data could be correctly wrote to the right place.

  3. #3
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: fstab problem

    You can make it humanely readable but its not as effective as BLKID and I would dissuade you from trying.Here's another link providing fstab formats.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  4. #4
    Join Date
    Jun 2011
    Location
    N.Z
    Beans
    14
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: fstab problem

    Thanks for that. Link was helpful.

  5. #5
    Join Date
    Mar 2006
    Location
    Sevierville, Tennessee
    Beans
    1,279
    Distro
    Ubuntu Development Release

    Re: fstab problem

    I believe your drive is encrypted.
    Gary
    Linux since 1995, Ubuntu since 2006

  6. #6
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: fstab problem

    Quote Originally Posted by dFlyer View Post
    I believe your drive is encrypted.
    Hi, dFlyer......how do arrive at that conclusion?
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •