185
submitted 4 months ago by jorge@feddit.cl to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] melmi@lemmy.blahaj.zone 4 points 4 months ago

A lot of Linux ISOs are hybrid images which can be booted if flashed directly to a USB stick.

[-] DmMacniel@feddit.de -2 points 4 months ago

Op was just using cp to copy the iso onto the drive no flashing or anything...

[-] someonesmall@lemmy.ml 4 points 4 months ago* (last edited 4 months ago)

The cp command will write the ISO file directly onto the device. This is the official way that is recommended by Debian:

cp debian.iso /dev/sdX

Source: https://www.debian.org/releases/stable/amd64/ch04s03.en.html

[-] DmMacniel@feddit.de 3 points 4 months ago

Woah...

Damn I'm sorry for questioning this method, I didn't know.

[-] melmi@lemmy.blahaj.zone 4 points 4 months ago

This works because block devices like /dev/sdX are just files. If you cp a file onto another file, it overwrites the data of the destination with the source. A block device represents the device itself, not the filesystem; if you wanted to put the ISO inside the filesystem, you'd have to mount it first.

[-] DmMacniel@feddit.de 1 points 4 months ago

Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE.

this post was submitted on 01 May 2024
185 points (92.6% liked)

Linux

47369 readers
885 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS