Results 1 to 6 of 6

Thread: My FSTAB is a real problem. Comments appreciated

  1. #1
    Join Date
    Mar 2005
    Beans
    1,393

    My FSTAB is a real problem. Comments appreciated

    I have tried to replace a failed HD (which was used only to hold data), and have failed..
    I need to somehow edit the bad fstab, and some advice about what my fstb contents SHOULD have been..
    I see that LABEL and also UUID and NAME?) are all now possibilities.
    I have attempted to enter single user mode without success and decided - yes I need advice!

    Comments appreciated

  2. #2
    Join Date
    May 2018
    Location
    Here and There
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: My FSTAB is a real problem. Comments appreciated

    Can you get to the Advanced>>fallback option? (recovery mode)
    Last edited by 1fallen; October 29th, 2024 at 08:49 PM.
    "When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,934
    Distro
    Ubuntu

    Re: My FSTAB is a real problem. Comments appreciated

    Here:
    https://help.ubuntu.com/community/Fstab


    Not much more I can do since i don't see the fstab.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Jun 2014
    Beans
    7,908

    Re: My FSTAB is a real problem. Comments appreciated

    I don't see how anyone can realistically tell you what your fstab 'should' be when you haven't posted any information on the drives/partitions you have nor the current fstab. If you know which partition it is (sdb1, sdc2, etc.) you can get the UUID for it with the blkid or lsblk command and put that in fstab. You might just need to change the UUID. There are different ways to do this but I expect reading through the link in post 3 would be a good starting point.

    I have attempted to enter single user mode without success and decided
    Why? Aren't you using the new drive for data? Do you have Ubuntu or another OS on another drive?

  5. #5
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: My FSTAB is a real problem. Comments appreciated

    You will need administrator privileges to edit the fstab file. The way we do that has changed on Ubuntu 24.04 LTS

    Open a terminal and type

    Code:
    gnome-text-editor admin:/ /etc/fstab
    Enter your user password in the dialog box that appears and away you go.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  6. #6
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: My FSTAB is a real problem. Comments appreciated

    Maybe if you posted your existing /etc/fstab file, someone would see the 1 character that's wrong? People usually get really close.

    And for editing the fstab file, sudoedit is the command. It will use the editor you've setup with the EDITOR environment variable, so feel free to make that editor anything you like - gedit, kate, nano, geany, vim ... or any other THAT is installed on your computer.

    If you'd like to look at examples, these forums have a number of people with their fstab, but yours will be unique, since your system is unique.

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
  •