Page 7 of 21 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 205

Thread: How to fstab

  1. #61
    Join Date
    Sep 2007
    Location
    Missouri, USA
    Beans
    89
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to fstab

    Hi guys. Found a typo in your options list.

    The correct line should read:
    Code:
    • dev/nodev - Interpret/Do not interpret character or block special devices on the file system.
    Reference: http://wiki.linuxquestions.org/wiki/Fstab

  2. #62
    Join Date
    Jul 2006
    Location
    France
    Beans
    74
    Distro
    Ubuntu 8.04 Hardy Heron

    Question Re: How to fstab

    Hello,
    I use ubuntu 8.04, and I have two nfts partition witch are detected and functionnal with read/write support, but they are not mounted at boot.
    I suppose that they use ntfs-3g to have write support.
    To acces those partitions, I have to clic on the partition's name in the menu "Shortcut" near "System" menu. Then, the partition is mounted, and can be accessed through the desktop or the file navigator.

    I want to mount automaticaly at boot one of these partition.
    She mounted in /media/STOCKAGE

    Here the fstab :
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sda6
    UUID=6523d9ef-e07a-48bf-86cb-a8328e2fcaa5 /               ext3    relatime,errors=remount-ro 0       1
    # /dev/sda8
    UUID=f59fedf2-decb-4622-be68-2e73e88a0f64 /home           ext3    relatime        0       2
    # /dev/sda7
    UUID=dc8a3772-1364-46b6-b19b-121bab521a27 none            swap    sw              0       0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    
    
    ## usbfs is the USB group in fstab file:
    none /proc/bus/usb usbfs devgid=125,devmode=664 0 0
    And here the mtab :
    Code:
    /dev/sda6 / ext3 rw,relatime,errors=remount-ro 0 0
    proc /proc proc rw,noexec,nosuid,nodev 0 0
    /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
    varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
    varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
    procbususb /proc/bus/usb usbfs rw 0 0
    udev /dev tmpfs rw,mode=0755 0 0
    devshm /dev/shm tmpfs rw 0 0
    devpts /dev/pts devpts rw,gid=5,mode=620 0 0
    lrm /lib/modules/2.6.24-16-generic/volatile tmpfs rw 0 0
    /dev/sda8 /home ext3 rw,relatime 0 0
    none /proc/bus/usb usbfs rw,devgid=125,devmode=664 0 0
    securityfs /sys/kernel/security securityfs rw 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
    gvfs-fuse-daemon /home/pierrick/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=pierrick 0 0
    /dev/sda5 /media/STOCKAGE fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
    /dev/sda1 /media/SYSTEME-HP fuseblk rw,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
    gvfs-fuse-daemon /root/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev 0 0
    I don't know how to auto mount at boot or startup the STOCKAGE partition.
    Can someone help me ?

    Thanks
    Miles
    Nous avons trop tendance à devenir pareils aux pires de nos ennemis.
    Coda Bene Gesserit

  3. #63
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: How to fstab

    Quote Originally Posted by MilesTEG1 View Post
    Hello,
    I use ubuntu 8.04, and I have two nfts partition witch are detected and functionnal with read/write support, but they are not mounted at boot.
    I suppose that they use ntfs-3g to have write support.
    To acces those partitions, I have to clic on the partition's name in the menu "Shortcut" near "System" menu. Then, the partition is mounted, and can be accessed through the desktop or the file navigator.

    I want to mount automaticaly at boot one of these partition.
    She mounted in /media/STOCKAGE
    You didn't specify what type of drive you're dealing with, but assuming it's a partition on an internal hard drive that isn't going to change partition numbers, the following fstab line should get you started. These are the options I use. You may need to change them to fit your situation (I'm guessing from your signature that your locale is French, not English).
    Code:
    /dev/sda5     /media/STOCKAGE     ntfs-3g     defaults,locale=en_US.UTF-8     0     1

  4. #64
    Join Date
    May 2008
    Beans
    32

    Re: How to fstab

    Thanks OP, finding disk ID's was exactly what I needed

  5. #65
    Join Date
    May 2008
    Beans
    12
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: How to fstab

    Hi there!
    exactly what is the effect of turning the pass column in vfat partitions from 1 to 0 ? the last time I did it boot time improved but windows keeps running the check utility as if the machine was improperly shut down

  6. #66
    Join Date
    Jul 2008
    Beans
    13

    Smile Re: How to fstab

    Congratulations,

    It's a very thorough tutorial. Very useful.

    Thanks in advance.

  7. #67
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    I've read through this post a few times aznd still can't figure out why my usb drive doesn't show in xubuntu 7.10. It reads it:
    Code:
    lsusb
    Bus 001 Device 002: ID 067b:2506 Prolific Technology, Inc. 
    Bus 001 Device 001: ID 0000:0000
    but it says it doesn't have a valid partition table:
    Code:
    sudo fdisk -l
    [sudo] password for flor:
    
    Disk /dev/hda: 20.0 GB, 20003880960 bytes
    255 heads, 63 sectors/track, 2432 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe21ae21a
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1        2037    16362171    7  HPFS/NTFS
    /dev/hda2            2038        2407     2972025   83  Linux
    /dev/hda3            2408        2432      200812+   5  Extended
    /dev/hda5            2408        2432      200781   82  Linux swap / Solaris
    
    Disk /dev/sda: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
    Disk /dev/sda doesn't contain a valid partition table
    any advice?

  8. #68
    Join Date
    Jun 2006
    Location
    Gwangju, Korea
    Beans
    3,479

    Re: How to fstab

    Quote Originally Posted by Daverobb View Post
    I've read through this post a few times aznd still can't figure out why my usb drive doesn't show in xubuntu 7.10.
    It appears that your drive is corrupt. Does it work on another system?

  9. #69
    Join Date
    Apr 2008
    Beans
    117

    Re: How to fstab

    I'll check on another computer.

  10. #70
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: How to fstab

    you can write a partition table with fdisk

    sudo fdisk /dev/sda

    just go ahead an manually add in the partitions, just use your post for start and end of partitions.

    Alternately try testdisk.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Page 7 of 21 FirstFirst ... 5678917 ... LastLast

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
  •