this post was submitted on 12 Dec 2024
516 points (99.2% liked)

linuxmemes

21580 readers
989 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    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 fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 46 points 6 days ago (2 children)

    Commands like dd are the best. Good ole greybeard-era spells with arcane syntax and the power to casually wipe out the whole universe (from their perspective ofc) if used haphazardly or not in respectful manner.

    [–] [email protected] 21 points 6 days ago (2 children)

    What do you mean? Explicitly having to set if= and of= is way harder to screw up than mixing up the order of arguments for e.g. cp.

    [–] [email protected] 7 points 5 days ago

    I could swear the argument order to "ln" swaps every now and then!

    [–] [email protected] 5 points 6 days ago (3 children)

    Unless you forget what if and of mean. With cp it's simply "cp what where". Never had problems remembering that.

    [–] [email protected] 13 points 6 days ago (1 children)

    is it really hard to remember infile and outfile?

    [–] [email protected] 5 points 6 days ago

    No, but you're just typing if and of, not infile and outfile, and the letters are right next to each other on a qwerty kbd. One can haphazardly misuse a lot of commands, it's just that some commands may lead to nastier outcomes than others.

    load more comments (2 replies)
    [–] [email protected] 1 points 5 days ago

    Computer equivalent of vacuum decay in our universe...

    [–] muhyb 56 points 6 days ago (2 children)

    Always lsblk before dd. The order of /sdX might change from boot to boot. Only /nvme doesn't change.

    [–] [email protected] 1 points 4 days ago

    First thing I do after loading the liveusb is write the "mylsblk" which does the much more sane thing of:

    lsblk -o NAME,LABEL,PARTLABEL,UUID,SIZE,MOUNTPOINTS
    
    [–] [email protected] 6 points 6 days ago (1 children)
    [–] muhyb 15 points 6 days ago (1 children)

    It's a design thing. BIOS can know NVMe disks' location because they're directly mounted to PCIe. SATA isn't like this. Similar logic with the RAM slots.

    load more comments (1 replies)
    [–] [email protected] 41 points 6 days ago (2 children)

    --status=progress. So happy when they added this.

    [–] [email protected] 6 points 6 days ago

    If only I could remember to set status=progress...

    I always end up using killall -USR1 from another terminal

    load more comments (1 replies)
    [–] [email protected] 54 points 1 week ago

    I am become dd, the destroyer of disks

    [–] [email protected] 24 points 6 days ago (3 children)

    i always just

    cat /dev/??? > /dev/null
    

    to make sure the usb blinks

    [–] [email protected] 19 points 6 days ago (1 children)
    [–] [email protected] 10 points 6 days ago

    More like *screams into the void*

    [–] [email protected] 6 points 5 days ago (1 children)

    Me laughing with /dev/nvme0n1p1

    [–] [email protected] 1 points 4 days ago

    well i mean, the original meme was referring to a usb device with an led...

    [–] [email protected] 4 points 6 days ago

    That's a good way of doing it

    [–] [email protected] 26 points 6 days ago* (last edited 6 days ago) (5 children)

    This is the only reason why I still use GUI for making Linux USBs. Can't trust my ADHD ass to write the correct drive name. Also, none of my USB drives have a light.

    Popsicle is pretty nice, it doesn't let you choose the internal drives afaik.

    load more comments (5 replies)
    [–] [email protected] 4 points 5 days ago* (last edited 5 days ago)

    We seriously need a series of DD-Command 4 Dummies guides Also you guys have USB drives with lights ????

    [–] [email protected] 13 points 6 days ago

    heh i do it hardcore, my USB has no light ;)

    [–] [email protected] 7 points 6 days ago (1 children)
    [–] [email protected] 4 points 6 days ago

    don't cross the streams

    [–] [email protected] 6 points 6 days ago

    /dev/disk/by-id/xxx works for me. Never made a mistake.

    [–] [email protected] 6 points 6 days ago* (last edited 6 days ago) (2 children)

    ls /dev > /tmp/before

    ls /dev > /tmp/after

    diff /tmp/before /tmp/after

    <sweating>
    load more comments (2 replies)
    [–] [email protected] 5 points 6 days ago

    Sounds like someone's not up to date with their backups.

    [–] [email protected] 2 points 5 days ago (1 children)

    Doesn't dd pick sda by default?

    [–] [email protected] 1 points 5 days ago

    Reminds me of the DOS days of my youth.

    fdisk does not stand for friendly disk.

    load more comments
    view more: next ›