Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: modifying /etc/fstab

  1. #1

    Default modifying /etc/fstab

    I am trying to make changes to my fstab file, but am having no luck, have tried using "sudo gedit /etc/fstab", but it tells me that it "can't open display".....I must be having a "senior moment" as I can't figure out what to type in the terminal to be able to edit the file? Please help this old man out

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: modifying /etc/fstab

    gnomesu gedit /etc/fstab
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: modifying /etc/fstab

    Quote Originally Posted by caf4926 View Post
    gnomesu gedit /etc/fstab
    The fact that you didn't know this, has me slightly worried that you might know even less about editing fstab. So make a backup of the contents before you edit it.
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4

    Default Re: modifying /etc/fstab

    The fact that you didn't know this...
    maybe but some of us are "su"& "su -" fanatics and do not normally use sudo

    but nitewalker41 you might WANT to read the man page for fstab
    Code:
    man fstab



  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: modifying /etc/fstab

    On 06/03/2011 06:36 AM, caf4926 wrote:
    >
    > caf4926;2348297 Wrote:
    >> gnomesu gedit /etc/fstab

    >
    > The fact that you didn't know this, has me slightly worried that you
    > might know even less about editing fstab. So make a backup of the
    > contents before you edit it.
    >
    >

    well, i think "sudo gedit" probably works in some distros still...so,
    i'm not sure that is a positive sign of low experience...

    however, it is always good to remind folks to backup..

    for the OP: openSUSE is little different from the other distros in
    several ways (you know, i guess we drifted off from Slack in pre-history
    and pre-date all the variations Debian dreamed up)

    anyway: if using gnome what you want is gnomesu, and if in kde,
    kdesu...otherwise you get that display problem..

    more: http://en.opensuse.org/SDB:Login_as_root

    --
    dd CAVEAT: http://is.gd/bpoMD
    [NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
    Dual booting with Sluggish Loser7 on Acer Aspire One D255

  6. #6

    Default Re: modifying /etc/fstab

    Thanks to you all for your input, problem solved....I will say that it is appreciated and taken to heart....problem solved....I just had a lapse of memory [mine not computers] on the correct way to write proper language for admin access....thanks again....heck to get old.....but better than alternative....

  7. #7
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: modifying /etc/fstab

    On 06/03/2011 05:06 PM, nitewalker41 wrote:
    >
    > ..heck to get old........


    what were we talking about anyway?

    --
    dd CAVEAT: http://is.gd/bpoMD
    [NNTP via openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10]
    Dual booting with Sluggish Loser7 on Acer Aspire One D255

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: modifying /etc/fstab

    On 2011-06-03 06:06, nitewalker41 wrote:
    >
    > I am trying to make changes to my fstab file, but am having no luck,
    > have tried using "sudo gedit /etc/fstab", but it tells me that it "can't
    > open display".....I must be having a "senior moment" as I can't figure
    > out what to type in the terminal to be able to edit the file? Please
    > help this old man out


    In the terminal?

    su -

    then:

    mcedit /etc/fstab

    or

    joe /etc/fstab

    or

    jstar /etc/fstab

    or

    jpico /etc/fstab

    or

    jmacs /etc/fstab

    or

    emacs /etc/fstab

    or

    vi /etc/fstab

    or

    pico /etc/fstab

    or

    nano /etc/fstab



    Enough? :-)


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9
    Will Honea NNTP User

    Default Re: modifying /etc/fstab

    Carlos E. R. wrote:

    > Enough? :-)


    Still haven't seen old faithful:

    sudo vi /etc/fstab

    I'll use one of the others when available, but everyone should know the
    fallback when init 3 is all that is available!

    --
    Will Honea

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: modifying /etc/fstab

    On 2011-06-04 05:09, Will Honea wrote:
    > Carlos E. R. wrote:
    >
    >> Enough? :-)

    >
    > Still haven't seen old faithful:
    >
    > sudo vi /etc/fstab


    Yes, I did :-)

    Number 7.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

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