lonestar-lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
einfach_orangensaft@feddit.de to linuxmemes@lemmy.world · 2 years ago

chroot is still black magic

feddit.de

message-square
33
link
fedilink
475

chroot is still black magic

feddit.de

einfach_orangensaft@feddit.de to linuxmemes@lemmy.world · 2 years ago
message-square
33
link
fedilink
alert-triangle
You must log in or register to comment.
  • MildlyArdvark@feddit.dk
    link
    fedilink
    arrow-up
    52
    arrow-down
    1
    ·
    2 years ago

    I never understood these. Arch has always been rock solid for me and in 10 years or so I have never had to chroot to fix an issue. The most annoying issues have been related to PGP signatures or old certificates but those have been easily fixed.

    What is it you people do to your arch installs that fucks them up so much?

    • einfach_orangensaft@feddit.deOP
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      2 years ago

      forcing reboot when mid update cause u think the system froze

      • elxeno@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        2 years ago

        Drop to tty when in doubt

        • adolf_hitler@reddthat.com
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          deleted by creator

      • Uranium 🟩@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        2 years ago

        Flashbacks to me having borked my manjaro install trying to update after having gotten stable diffusion running on older AMD hardware, and subsequently panicking and fucking it up more trying to repair it

      • mrvictory1@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        I redownload and reinstall all packages if an update is interrupted. Sometimes a pacman -Syu completes the upgrade but usually it is not enough. https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Reinstalling_all_packages

    • Fuck Lemmy.World @lemmy.worldBanned
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      2 years ago

      Removed by mod

    • Eavolution@kbin.social
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      The only time is during setup once I forgot to download iwd so I had to chroot back in to install that from within the installer.

    • kekwa@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Using Manjaro+Nvidia. About a 20% of kernel or driver updates leaves me with a black screen. Then I do rollback and wait for a bit more stable version ¯_(ツ)_/¯

      • BeautifulPain@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        2 years ago

        Your mistake was using manjaro

        • ryannathans@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          And/or nvidia

    • eldain@feddit.nl
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      X11 had some breaking updates in the past, my monolithic multi monitor config was suddenly in the wrong spot. Or packages I was supposed to delete before an upgrade according to the newspage, but I updated impulsively bam chroot times. That was years ago and made me switch, maybe it has become better?

    • ruckblack@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      I’ve fucked up my grub install before, that’s the only time I’ve needed to use it, and it was an easy fix

    • s4if@lemmy.my.id
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago
      • Nvidia driver (not me, I’m poor)
      • dubious/niche AUR packages
      • Wrong settings on BIOS/UEFI
      • Windows Update on dual-boot setup (sometimes)

      I don’t know why, but my archlinux bootloader always disappear if I connet bootable disk when my computer is booting, lol…

      • Tb0n3@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        2 years ago

        It’s possible your uefi has a thing about default EFI boot names. I ended up changing mine to just boot because if I update the bios it clears everything and doesn’t automatically pick up any EFI except boot.

        • MonsiuerPatEBrown@reddthat.com
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          2 years ago

          My advice is that you make sure you use a full unblemished calf for sacrifice with gilded horns of gold.

          If you don’t gild the horns and burn the fatty thigh parts in the fire then it will never boot.

        • s4if@lemmy.my.id
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Hmm may be, I’ll try to check that. Thx…

      • 5redie8@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        What the hell are people finding on the AUR? I just need it to install like… Discord and Lutrus?

        • s4if@lemmy.my.id
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Some custom or git version of application. Once a time I need to use sddm git to fix bug with my hylrland.

    • Zaros@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Only time I’ve had to do it so far was due to dual booting Windows and it overriding boot thingies. Apart from that it has been running more or less flawlessly for a few years now.

    • oshitwaddup@lemmy.antemeridiem.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I recently had to when sbupdate wasn’t compatible with the latest systemd

    • Rossel@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      2 years ago

      I personally had my Arch install broken 2 times from standard updates about 5 years ago. Jumped ship and never installed Arch again.

  • MalReynolds@slrpnk.net
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 years ago

    In and out, 20 minutes…

    • R0cket_M00se@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Best I can do is 20 business minutes.

  • Sh1nyM3t4l4ss@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    Btrfs snapshots are a blessing. Call me a cheater :P

    • sounddrill@lemmy.antemeridiem.xyz
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Timeshift makes it even easier

      • happyhippo@feddit.it
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Timeshift <<< btrfs + snapper

        Snapper comes (at least in TW) with snapper-grub, so yeah, you can go back to a working state from grub.

        If an update botches your boot process, you’re SOL with Timeshift.

        • sounddrill@lemmy.antemeridiem.xyz
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Timeshift also allows you to boot snapshots from grub wdym

          • happyhippo@feddit.it
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Oh really? I didn’t know that! Guess it’s time to go do some reading, thanks for the TIL!

  • dopeshark@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Ratman!

  • nottheengineer@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    I chrooted in about 30 times on my first day.

  • Simplesyrup@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Laughs in simple ubuntu setup, that only took me 10% of effort mostly installing it :p

  • MonkderZweite@feddit.ch
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    That was my own fault, i configured Booster wrong.

  • molave@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    So basically, if you ask how it works, it’ll just answer: “I am chroot”

    • Newchair@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I am Groot

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.32K users / day
  • 2.13K users / week
  • 9.42K users / month
  • 19K users / 6 months
  • 1 local subscriber
  • 24.9K subscribers
  • 1.63K Posts
  • 90K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org