Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Edited Fstab and now Ubuntu will not boot

  1. #11
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Edited Fstab and now Ubuntu will not boot

    +1 on jamesisin suggestion

    Bootinfo report should show fstab. It should see the file in line 52 with the boot files, and then output the fstab further down, but I do not see it. Did it get renamed to .backup or something and not get restored or restored to correct location.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Edited Fstab and now Ubuntu will not boot

    Why?

    Perhaps I missed something, but I did copy/paste the blkid from the boot-info output and matched it with the fstab he posted. Seemed correct to me.

    Can someone else review it please, since I could have missed something.

    At the bottom of the boot-info, there was a comment about what a repair would do.

  3. #13
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Edited Fstab and now Ubuntu will not boot

    Boot-Repair does not create a missing fstab. It may add an efi entry to an existing fstab if converting from grub-pc to grub-efi. Actually I do not think Boot-Repair even does that, but it is the grub2 install of grub-efi.

    The fstab entries shown in post #1 look ok, but no fstab is shown in the correct /etc/fstab location for bootinfoscript to list it.

    Run these command like I did.

    fred@fred-Precise:~$ cd /etc
    fred@fred-Precise:/etc$ ls fst* -l
    -rw-r--r-- 1 root root 1164 Jul 19 11:00 fstab
    Last edited by oldfred; November 5th, 2013 at 07:26 PM.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #14
    Join Date
    Nov 2013
    Beans
    8

    Re: Edited Fstab and now Ubuntu will not boot

    Quote Originally Posted by oldfred View Post
    Boot-Repair does not create a missing fstab. It may add an efi entry to an existing fstab if converting from grub-pc to grub-efi. Actually I do not think Boot-Repair even does that, but it is the grub2 install of grub-efi.

    The fstab entries shown in post #1 look ok, but no fstab is shown in the correct /etc/fstab location for bootinfoscript to list it.

    Run these command like I did.

    fred@fred-Precise:~$ cd /etc
    fred@fred-Precise:/etc$ ls fst* -l
    -rw-r--r-- 1 root root 1164 Jul 19 11:00 fstab
    I don't see how the list command will solve the problem.

  5. #15
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Edited Fstab and now Ubuntu will not boot

    He's not solving the matter. He's demonstrating whether the fstab file exists.

    Alternatively you could do this:

    Code:
    ls -al /etc | grep fstab
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  6. #16
    Join Date
    Nov 2013
    Beans
    8

    Re: Edited Fstab and now Ubuntu will not boot

    Quote Originally Posted by jamesisin View Post
    He's not solving the matter. He's demonstrating whether the fstab file exists.

    Alternatively you could do this:

    Code:
    ls -al /etc | grep fstab
    Okay then. It exists.

  7. #17
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Edited Fstab and now Ubuntu will not boot

    And does it have correct permissions? That was part of original question.

    Then post this, as it should be the same as your original list in post #1. And if all is correct as you say then it must work.

    cat /etc/fstab
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #18
    Join Date
    Nov 2013
    Beans
    8

    Re: Edited Fstab and now Ubuntu will not boot

    Quote Originally Posted by oldfred View Post
    And does it have correct permissions? That was part of original question.

    Then post this, as it should be the same as your original list in post #1. And if all is correct as you say then it must work.

    cat /etc/fstab
    Yes, I have all the proper permissions. I really don't see how concatenation would help me here but I did it. It didn't fix anything.

  9. #19
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Edited Fstab and now Ubuntu will not boot

    It is not that you running it solves anything, but often having many eyes reviewing it sees something that is otherwise missed. I have looked at issues for hours and then see the problem later. Often quicker when many can review it.
    If everything is then correct we move onto what else may be the issue.
    But please post both commands outputs.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #20
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Edited Fstab and now Ubuntu will not boot

    Quote Originally Posted by aideds View Post
    I really don't see how concatenation would help me here but I did it. It didn't fix anything.
    Oldfred was not asking you to concatenate anything. The command cat /etc/fstab simply puts out the contents of the fstab file which needs to be seen to compare with what you posted in post #1.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

Page 2 of 3 FirstFirst 123 LastLast

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
  •