▲ 175 ▼ How to create a bootable Linux USB drive (www.zdnet.com) submitted 2 years ago by jorge@feddit.cl to c/linux@lemmy.ml 80 comments fedilink hide all child comments
[–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) A lot of Linux ISOs are hybrid images which can be booted if flashed directly to a USB stick. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de -2 points 2 years ago (1 child) Op was just using cp to copy the iso onto the drive no flashing or anything... permalink fedilink source parent hideshow 2 child comments replies: [–] someonesmall@lemmy.ml 4 points 2 years ago* (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 3 points 2 years ago (1 child) Woah... Damn I'm sorry for questioning this method, I didn't know. permalink fedilink source parent hideshow 2 child comments replies: [–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent
[–] DmMacniel@feddit.de -2 points 2 years ago (1 child) Op was just using cp to copy the iso onto the drive no flashing or anything... permalink fedilink source parent hideshow 2 child comments replies: [–] someonesmall@lemmy.ml 4 points 2 years ago* (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 3 points 2 years ago (1 child) Woah... Damn I'm sorry for questioning this method, I didn't know. permalink fedilink source parent hideshow 2 child comments replies: [–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent
[–] someonesmall@lemmy.ml 4 points 2 years ago* (1 child) 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 permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 3 points 2 years ago (1 child) Woah... Damn I'm sorry for questioning this method, I didn't know. permalink fedilink source parent hideshow 2 child comments replies: [–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent
[–] DmMacniel@feddit.de 3 points 2 years ago (1 child) Woah... Damn I'm sorry for questioning this method, I didn't know. permalink fedilink source parent hideshow 2 child comments replies: [–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent
[–] melmi@lemmy.blahaj.zone 4 points 2 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent
[–] DmMacniel@feddit.de 1 point 2 years ago Next time I'll test out another distro I'll try just that... Sadly I just hopped yesterday from Fedora 40 to LMDE. permalink fedilink source parent