Page 1 of 6 123 ... LastLast
Results 1 to 10 of 51

Thread: Very Novice: Unbuntu can't read /etc/fstab

  1. #1
    Join Date
    Feb 2020
    Beans
    34

    Very Novice: Unbuntu can't read /etc/fstab

    My server crashed and i don't know what to do. Any advice would be greatly appreciated

    Things i know:
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /mnt/BootInfo/LVM/pierserv-root: unknown filesystem type ''

    And

    It says can't read /etc/stab

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,297
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Very Novice: Unbuntu can't read /etc/fstab

    Perhaps if you shared some of the things you know here, someone might be able to help? Of course, I could be wrong.
    * check the log files? Any errors or warnings?
    * can you boot from a "Try Ubuntu" environment?
    * can you boot from a "Recovery console" environment?

    The mount line above doesn't make sense. What does bootinfo have to do with anything? Hopefully, you aren't trying to run boot-repair. That tool has been less-than-great since UEFI booting began. From inside a Try Ubuntu boot, you can troubleshoot almost everything.

    Not booting could be almost anything. You'll need to be much more specific to get help. When booting, how far does the process get? Back screens wth text? Any prompts? Any images?

  3. #3
    Join Date
    Feb 2020
    Beans
    34

    Re: Very Novice: Unbuntu can't read /etc/fstab

    I can boot in "Try Unbuntu"

    I cannot from recovery console

    I tried boot repair and got this, but honestly its a little over my head

    http://paste.ubuntu.com/p/3ZVNYGxp4b/

  4. #4
    Join Date
    Mar 2007
    Beans
    572

    Re: Very Novice: Unbuntu can't read /etc/fstab

    Perhaps if you posted th results of

    Code:
    ls -l /etc/fstab
    
    cat /etc/fstab

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,297
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Very Novice: Unbuntu can't read /etc/fstab

    This is what is important from all that output. It shows an 80G HDD, with MBR partitioning, using LVM. LVM is an advanced storage management technique not usually selected by non-experts.

    Code:
    Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x0001af86
    
    Device     Boot  Start       End   Sectors  Size Id Type
    /dev/sda1  *      2048    499711    497664  243M 83 Linux
    /dev/sda2       501758 156301311 155799554 74.3G  5 Extended
    /dev/sda5       501760 156301311 155799552 74.3G 8e Linux LVM
    There are 4 different storage devices connected. 2 appear to be some flash media. Unplug both of those and see if the system boots. The BIOS might be set to boot from USB devices first. Report the result.

    If that doesn't solve it, unplug the 1TB disk. Either removing the power or the SATA cable should be sufficient. Try booting with just a single HDD connected. Report the result.

    Now, with just the 1 HDD connected, using a new 18.04 flash "Try Ubuntu", boot into the try ubuntu environment. When that comes up, run
    Code:
    lsblk -o name,size,type,fstype,mountpoint
    and show the results. We may need to install a few packages into the try ubuntu environment to get good results. IDK. If that output works, we can reinstall grub onto sda, then tell grub to update there.

    If none of those things work, time to look at the log file for HW errors. An 80G HDD could have faults that should show in the logs. But we aren't at a point where I'm worried about data loss.

  6. #6
    Join Date
    Feb 2020
    Beans
    34

    Re: Very Novice: Unbuntu can't read /etc/fstab

    First of all you both are so kind to answer, thank you so much. I didn't set this up I just inherited this.

    There was two jump drives because I used one to boot up through the "Try Unbuntu" just so i could use the other jump drive to get some files off.

    Without the boot jump drive, the machine will only boot to the busy box

    Code:
    ls-l etc/fstab
    
    reads
    
    -rw-r--r-- 1 root root 59 Feb 28 20:09 /etc/fstab (this is with the stick plugged in, not sure if that matters)
    
    cat /etc/fstab
    
    overlay / overlay rw 0 0
    tmpfs / tmp tmpfs nosuid, nodev 0 0
    Last edited by DuckHook; March 2nd, 2020 at 06:30 PM. Reason: Added [CODE] tags.

  7. #7
    Join Date
    Feb 2020
    Beans
    34

    Re: Very Novice: Unbuntu can't read /etc/fstab

    https://i.imgur.com/NQyh2o5.jpg

    This is with the one 80 gb only hooked up
    Last edited by DuckHook; March 2nd, 2020 at 06:29 PM. Reason: Replaced large image with link

  8. #8
    Join Date
    Feb 2020
    Beans
    34

    Re: Very Novice: Unbuntu can't read /etc/fstab

    Last edited by DuckHook; March 2nd, 2020 at 06:29 PM. Reason: Replaced large image with link

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,297
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Very Novice: Unbuntu can't read /etc/fstab

    Code:
    -rw-r--r-- 1 root root 59 Feb 28 20:09 /etc/fstab
    Is for the Try Ubuntu stick environment. You'll need to mount the correct partition somewhere (perhaps /mnt/ ?) , then move down to the directory into /etc/ and show the ls -l for /mnt/etc/fstab.
    Please.

    Also, please don't post images. Definitely, NOT inline. For blind people, they aren't helpful. Some people are paying by the byte to visit these forums. Copy/paste the text or use redirection to put the text into a file if you need to use a different system to post here.

    Plus, we can't copy/paste lines from an image to point out stuff.

    Thanks.

    I'm looking for result comments for each of the other things requested. Have you tried those first? Did they work or not? The order for each attempt mattered.
    Last edited by TheFu; March 2nd, 2020 at 04:56 PM.

  10. #10
    Join Date
    Feb 2020
    Beans
    34

    Re: Very Novice: Unbuntu can't read /etc/fstab

    I'm so sorry, thanks for telling me.

    Is there a way to know what i should try to mount (sorry if that is a silly question)

Page 1 of 6 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
  •