this post was submitted on 06 Aug 2023
442 points (95.7% liked)

linuxmemes

20880 readers
2 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 47 comments
sorted by: hot top controversial new old
[–] [email protected] 69 points 1 year ago (2 children)

Why would you put a file system on the drive if you dd a disto image?

[–] gogosempai 33 points 1 year ago (3 children)

Not needed, just an extra step to fill up step 2 in this meme format.

[–] [email protected] 14 points 1 year ago (2 children)

Maybe “fdisk -l” could be the first panel, then move the original to the second panel.

[–] gogosempai 4 points 1 year ago

Much better, didn't think of that at the time.

[–] [email protected] 2 points 1 year ago
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

I've also seen this meme format having the same text on the third and fourth pane.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Well it would, except it was stored on /dev/sda1...

[–] gogosempai 1 points 1 year ago

Could be if you were on Reddit, had made this a couple of years ago I think and posted on r/ProgrammarHumor or some other related subreddit. That was the day of the dd tragedy, still haunts me.

[–] [email protected] 3 points 1 year ago

Me staring blankly for two panes trying to figure out what happened works too :-)

[–] [email protected] 13 points 1 year ago

He didn't. But yes, the joke doesn't really work here.

[–] [email protected] 47 points 1 year ago (1 children)

disk destroyer strikes again

[–] [email protected] 18 points 1 year ago (1 children)

I heard it was called Data Destroyer.

[–] [email protected] 12 points 1 year ago (1 children)

The beast goes by many names

[–] [email protected] 2 points 1 year ago

Dick destroyer

[–] [email protected] 39 points 1 year ago* (last edited 1 year ago) (1 children)

Nothing happened because he forgot to uncomment the commands im_stuff.jpg

[–] [email protected] 22 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago (1 children)

I have been using Linux for 3 years,

And I just learned this from your comment

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

That's kind of great, because root is not intended for regular users.

[–] [email protected] 1 points 1 year ago (1 children)

How can that be true when nearly every command asks for root, including regular system updates? E.g: Sudo apt-get upgrade

[–] [email protected] 2 points 1 year ago

That's what "sudo" does, it basically means run this as if you were logged in as root.

[–] gogosempai 29 points 1 year ago (4 children)

ALWAYS be careful of the disk names you give to dd as input.

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

There's a reason they call 'dd' Data Destroyer!

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

Can you dd over a still mounted disk?

[–] [email protected] 11 points 1 year ago

Probably, dd doesn't care. dd does what it is told.

Though there would probably be some weird effects.

[–] [email protected] 1 points 1 year ago

Took me a whole to realize

[–] [email protected] 24 points 1 year ago (1 children)

[X] I ran dd and now my computer won't boot

[–] [email protected] 10 points 1 year ago (1 children)

Sure it will, to the iso you just overwrote your boot drive with lmao

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

If the ISO was on his boot drive, dd might have broken the partition before it finished reading the file.

It's a reference to the Arch Linux fuck-up assessment form anyway.

[–] [email protected] 14 points 1 year ago (1 children)

You guys are still using SATA?confused Timmy

[–] gogosempai 5 points 1 year ago* (last edited 1 year ago) (1 children)

Shhh let's pretend we are for Groo's sake here.

Although in all seriousness, my desktop has both: a 512 GB NVMe where the OS and apps are installed and a 2 TB 7200 rpm HDD where I dump data and some slower games.

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

It's insane how much more affordable NVMEs are. When I got my 2tb it was almost three times as much as it is now.

[–] [email protected] 12 points 1 year ago (1 children)

Though, why formating a partition when it's completely overriden in the very next command. Also you won't be able to boot it anyways, you should flash the entire disk, not a partition.

[–] gogosempai 12 points 1 year ago

Not needed, just an extra step to fill up step 2 in this meme format.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

After wiping a backup drive, I decided to only use /dev/disk/{by-id,by-label}/ now, it is longer, but much less error prone.

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

That's what tab complete is for.

[–] [email protected] 8 points 1 year ago (1 children)

It's ok though, you had a backup. Right? You had a backup?

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

[insert Anakin & Padme meme]

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

Where my Linux 😔

[–] [email protected] 2 points 1 year ago

cp distro.iso /dev/sdX

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

This is dumb, the is no point in using mkfs just before dding an ISO on a drive, even if it is the wrong one.

[–] gogosempai 1 points 1 year ago (1 children)

That was just an extra step to fit this 4 layer meme format. fdisk -l on the first would have been better instead as others have pointed out.

[–] [email protected] 1 points 1 year ago

That, but also the canvas on the last 2 could have just been blank too. It's common in this format, and also makes sense

[–] [email protected] 1 points 1 year ago

You know, a few monts ago I was installing windows on my sister's machine. I downloaded the iso and thought it would work on my sister's laptop so I thought I was done with mine so I turned it off. And then the usb didn't work so I tried to burn the iso again but I plugged the usb before booting my pc. So kernel just reversed the order of drives. And then I ran the same command. Boom wrong drive got overwritten and 2 TB of files vanished. So much was learnt that night.

[–] [email protected] 1 points 1 year ago

Ahh, I remember the time I forgot I had my external drive attached, then plug usb flash drive and dd an iso like I always do.

I ended with a perfectly bootable external hard drive, and lots of data loss.

Fun times.

[–] [email protected] 1 points 1 year ago

destroydisk

[–] [email protected] 1 points 1 year ago

Always make a backup first, don't do 'heavy administration' when tired or in a rush. Or learn that lesson for next time 🥲