Results 1 to 4 of 4

Thread: How to fix, or repair a Btrfs file system?

  1. Default How to fix, or repair a Btrfs file system?

    Hi,

    For some reason my openSUSE Tumbleweed system doesn't seem to be able to get past the stage of systemd starting up. I cannot seem to get to the point where I either have the command-line or a GUI available to use, so effectively my OT system is useless at the moment. When systemd starts up a few errors are reported like Plymouth services fail, systemd-flush-journal service fails, etc. The mounting of my file systems does not fail (which indicates to me that this isn't the same as this previous issue of mine). In my own efforts to fix this problem I tried to repair my Btrfs file system by running:

    Code:
    btrfs check --repair /dev/sda2
    where /dev/sda2 is my root Btrfs OT partition; this returned: this. I then rebooted OT, hoping that my problems will now be over, but nope, getting the same errors. I wish I had the systemd logs for you but running journalctl -xe from a chroot into my OT system merely returns:

    Code:
    No journal files were found.
    -- No entries --
    Any ideas what I need to do?

    Thanks for your time,
    Brenton
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  2. #2

    Default Re: How to fix, or repair a Btrfs file system?

    Maybe try to prevent Plymouth from starting altogether?

    This fellow was able to get back into his system after disabling Plymouth: https://forums.opensuse.org/showthre...t-after-update
    Tumbleweed on a Dell Inspiron 15 - 5578

  3. Default Re: How to fix, or repair a Btrfs file system?

    Thanks, seems to have worked. Here is my new /etc/default/grub file in case anyone else is having this problem and what's my fix:

    Code:
    # If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
    # /boot/grub2/grub.cfg.
    
    
    # Uncomment to set your own custom distributor. If you leave it unset or empty, the default
    # policy is to determine the value from /etc/os-release
    GRUB_DISTRIBUTOR=
    GRUB_DEFAULT=saved
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-uuid/52099d62-d00d-4ceb-af51-306a864e9bfa splash=verbose plymouth.enable=0 quiet showopts"
    GRUB_CMDLINE_LINUX=""
    
    
    # Uncomment to automatically save last booted menu entry in GRUB2 environment
    
    
    # variable `saved_entry'
    # GRUB_SAVEDEFAULT="true"
    #Uncomment to enable BadRAM filtering, modify to suit your needs
    
    
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    # GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    #Uncomment to disable graphical terminal (grub-pc only)
    
    
    GRUB_TERMINAL="gfxterm"
    # The resolution used on graphical terminal
    #note that you can use only modes which your graphic card supports via VBE
    
    
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE="auto"
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    # GRUB_DISABLE_LINUX_UUID=true
    #Uncomment to disable generation of recovery mode menu entries
    
    
    # GRUB_DISABLE_LINUX_RECOVERY="true"
    #Uncomment to get a beep at grub start
    
    
    # GRUB_INIT_TUNE="480 440 1"
    GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png
    GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt
    SUSE_BTRFS_SNAPSHOT_BOOTING="true"
    GRUB_DISABLE_OS_PROBER="false"
    GRUB_ENABLE_CRYPTODISK="n"
    the most relevant part is:

    Code:
    splash=verbose plymouth.enable=0
    which was previously:

    Code:
    splash=silent
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  4. #4

    Default Re: How to fix, or repair a Btrfs file system?

    Quote Originally Posted by fusion809 View Post
    Thanks, seems to have worked. Here is my new /etc/default/grub file in case anyone else is having this problem and what's my fix:
    That's great! I'm glad it worked. I wasn't sure it would.
    Tumbleweed on a Dell Inspiron 15 - 5578

Tags for this Thread

Posting Permissions

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