My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
NEILSON_MANDALA@lemmy.world to linuxmemes@lemmy.world · 3 days ago

You should try it. It's...it's beautiful

lemmy.world

message-square
20
fedilink
196

You should try it. It's...it's beautiful

lemmy.world

NEILSON_MANDALA@lemmy.world to linuxmemes@lemmy.world · 3 days ago
message-square
20
fedilink
alert-triangle
You must log in or register to comment.
  • sylver_dragon@lemmy.world
    link
    fedilink
    English
    arrow-up
    46
    ·
    3 days ago

    For a physical machine:
    for f in $(lsblk | grep disk | cut -d ' ' -f 1); do sudo dd if=/dev/zero of=/dev/$f bs=4MB status=progress; done

    That will remove all your current software problems. You’ll have new ones, but the old ones will be gone.

    • silenium_dev@feddit.org
      link
      fedilink
      arrow-up
      37
      ·
      3 days ago

      There aren’t any software problems if you don’t have any software

    • cron@feddit.org
      link
      fedilink
      arrow-up
      29
      ·
      3 days ago

      Nice that you added “status=progress” so I can closely follow what is happening.

      • sylver_dragon@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        ·
        3 days ago

        Gotta have that progress bar, otherwise you might be tempted to <Ctrl>-C and you will be left with some of your software problems.

    • lagoon8622@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 days ago

      This is helpful but can I use a larger block size? Any performance implications, security risks, etc?

      • sylver_dragon@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        3 days ago

        Yes, and you can probably get better performance with different block sizes. This is just what I used to fix drives as it was fast enough and I couldn’t be arsed to do any real testing to find the right speed. Also, my stash of drives was no where near homogeneous, so the right size for one type of drive may not have worked for a different type of drive. I also used the 4MB block size when imaging drives to have an ok-ish speed while not losing too much data if there were read errors.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    3 days ago

    …and then you realize the production database was still mounted

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    25
    ·
    3 days ago

    curl ‘https://software.download.prss.microsoft.com/dbazure/Win11_25H2_EnglishInternational_x64.iso?t=9aac58b2-ce2b-404c-af19-2d46a660984e&P1=1767903414&P2=601&P3=2&P4=yELO%2BWbJEvyiRSx%2BuIPm00E5HUK7AkxA50J2smT55F7bCks7t8TQWW8OXgvifN4K%2BUNevu46i%2FD3yO1xXu%2B7OdntJNNd%2BawkcUt5OynkFpvicoo790uCi8%2BVxodUaOKx3h4LWFMsPt%2FoWyUFG45XkDbSecc64mgVuksYivmjUsGQ77zjA%2Bi7XkC8PgKNlaGbIV1R5sHanvrzuzju0F92f%2Fv%2B%2BVfzDaLdDza5FSRiYmUOCoWLg7%2F%2Fj3XTOyniMrTLghlRQY9Dj8nEEz4Hx9n80sTLgypWnX3Vr61xfgacHShbTPhuVdXeMHUBmEVj4sgoWd%2FayrhHnllLUtxEoJ4wUA%3D%3D’ -o /dev/null

    • IngeniousRocks (They/She) @lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      ·
      3 days ago

      Straight to the void where it belongs

  • waigl@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    Spoken like someone who never accidentally typed something into the wrong terminal or accidentally used the wrong keyboard.

  • Snot Flickerman@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    Why not just delete the drive for the virtual machine? I don’t know, spinning up a new machine takes me less than a minute so personally I prefer a clean start with new device settings.

    • everett@lemmy.ml
      link
      fedilink
      arrow-up
      28
      ·
      3 days ago

      Some men just want to watch the world burn.

      • Snot Flickerman@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        13
        ·
        3 days ago

    • Mîm@lemmy.zip
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      Because you want to see what and how it happens if you execute that command.

    • Wispy2891@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      You need to mount / as /mnt/disk in the VM to have the trick work

  • Redacted@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    What happens

    • ThanksForAllTheFish@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      Removes french language pack!

      • DeltaWingDragon@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        And all others

    • NEILSON_MANDALA@lemmy.worldOP
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      your terminal turns into the 4th of july with all the file paths it echoes

      • Redacted@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        Thanks for the answer!

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: [email protected]

Hint: :q!


Sister communities:
  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

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.
  • Don’t come looking for advice, this is not the right community.
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.

  • 414 users / day
  • 2.86K users / week
  • 8.11K users / month
  • 16.8K users / 6 months
  • 1 local subscriber
  • 28.8K subscribers
  • 2.05K Posts
  • 116K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org