Find the answer to your Linux question:
Results 1 to 3 of 3
Hello. Am trying to install an external usb drive. Have read message posted on how to do this but it requires that I edit the file /etc/fstab. Have insufficient permissions ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    3

    fstab


    Hello. Am trying to install an external usb drive. Have read message posted on how to do this but it requires that I edit the file /etc/fstab. Have insufficient permissions to save changes - can't even use chmod to change these permissions. Is there anything I can do

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Use pico in the command line to edit the file, and do it as root:
    Code:
    su
    [rootpass]
    pico /etc/fstab
    edit then save and then quit;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    First of all, this depends on the distro you're using. If you're using a distro that is enabled with udev, hal, dbus and g-v-m, such as Fedora Core 3 or the latest release of Ubuntu Linux, you shouldn't need to edit fstab at all -- it should all be happening automagically for you.

    However, if you need to edit fstab, you need to be root, since only root has write privileges to fstab. To become root in a terminal, run "su -" (`s', `u', space, dash, that is), and type in the root password.

  4. $spacer_open
    $spacer_close

Posting Permissions

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