zdnet.com

someonesmall , to Linux in How to create a bootable Linux USB drive

If you're already on linux there is no need to install special tools. Simply copy the iso directly to the USB device.

dd if=distribution.iso of=/dev/sdX bs=1M && sync

gr3q , (edited )

You can do the same with cp too. Also safer.

But I use Ventoy nowadays.

Rustmilian ,
@Rustmilian@lemmy.world avatar

cat works as well.

Krtek ,

oflag=sync also works instead of && sync.
Might as well drop a status=progress in there too

fin , to Linux in How to create a bootable Linux USB drive

Some people need everything to have a GUI. They evaporate as soon as they’re required to open the terminal.

DmMacniel ,

Isn't it cool that you only need to use the terminal when you really need it? Simple tasks as flashing an usb stick shouldnt require knowledge of the terminal.

fin ,

If you’re talking about me I didn’t say that I’m one of those. I love CLI and rather hate GUI.

theshatterstone54 ,

And that's why It's great to have choice. Also, if you start off in CLI, it can be quite overwhelming. The first time I had to partition my drive I was super scared not to mess it up. A few months later I knew exactly what I was doing.... when I was using a graphical installer or Gparted. Earlier today, I partitioned my drive using cfdisk (fdisk feels kinda painful; press this, then this, and if, like me, you don't know the commands by heart, it can take too long), and I installed Arch manually cuz I was bored. It was my first time doing a manual install with systemd-boot (always did grub in the past), so I didn't realise I had to write my own boot entries for all 3 kernels (mainline, zen and lts), and because of font issues, I just switched back to Fedora (going up a version from 39 to 40 in the process) where I had an issue with a qt component that meant my sddm theme was not working. It isn't the theme's fault, that's for sure, as it worked perfectly on Fedora 39 and elsewhere, and because pretty much all themes I could find relied on this qt module (it's qtgraphicaleffects, packaged as qt5-qtgraphicaleffects on Fedora) , I got a bit angry and then sat down and rewrote the theme, removing any dependency on graphicaleffects (was only used for drop shadows in some popups), though for some reason some of the colours also got a bit funky but it works and it works well (I also had to hide one of the popups but it wasn't an essential one).

But I digress. Point is, if it's more comfortable for you, you'll use it. If it isn't but you want it to be, then to ill force yourself to use and get better. If you don't, you just won't. That's the power of choice in Linux.

fin ,

For example, when you want to install desktop environments, you need to use CLI. There’s no GUI option. I guess that’s why Linux is considered “difficult” for Windows/MacOS users, while they can use Chromebook, which is also Linux.

The point of original post is how zdnet is trying to let people use Linux, right?

DmMacniel ,

No GUI option you say? Then why can I for example install Kde-full via mints app store? Or any Desktop meta package via Synaptic.

Also ChromeOS Is as much Linux as Android is. Barely.

Sylvartas ,

Good thing that the existence of a GUI for a program doesn't prevent you from using its CLI version then !

andrefsp , to Linux in How to create a bootable Linux USB drive
@andrefsp@lemmy.world avatar

Isn't that just 'sudo cp image.iso /dev/sdX && sync' ?

DmMacniel ,

The only thing you would have achieved that was would be to copy an iso file onto your stick. EFI or Boot doesn't know how to do anything with it.

melmi ,
@melmi@lemmy.blahaj.zone avatar

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

DmMacniel ,

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

someonesmall ,

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 ,

Woah...

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

melmi ,
@melmi@lemmy.blahaj.zone avatar

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 ,

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

nous ,

Not technically. unetbootin and some similar tools like rufus take the USB, partition it, and copy the contents of the disk to it after manually setting up a bootloader on it. This is not required for most Linux ISOs though where you can just cp or dd the image directly to the USB as they are already setup with all that on the image. But other ISOs, like I believe Windows ones have a filesystem on them that is not vfat so cannot be directly copied. Although these days for windows you just need to format the USB as vfat and copy the contents of the windows ISO (aka the files inside it, not the iso filesystem) to the filesystem.

I tend to find unetbootin and rufus break more ISOs then they actually help with though. Personally I find ventoy is the better approach overall, just copy the ISO as a file to the USB filesystem (and you can copy multiple ones as well).

boredsquirrel , to Linux in How to create a bootable Linux USB drive

No shit I think flashing ISOs is now fine that we have Impression, Fedora Media writer und the KDE Usb flash tool.

But how the hell do you install Tails? May have to do that again, but last times it was never bootable.

Nemoder , to Linux in Linus Torvalds takes on evil developers, hardware errors and 'hilarious' AI hype

Hohndel agreed but added that the industry needs to support these smaller projects -- and not only with money. "Companies need to engage with these projects. Have your company adopt a couple of such projects and just participate. Read the code, review the patches, and provide moral support to the maintainers. It's as simple as that."

Really glad he said this, I keep seeing posts about how all these big companies could solve the problem by just throwing money at small projects and while that is better than nothing it would help way more to have their own developers helping to review and fix issues.

BeatTakeshi , to Technology in Reddit's new paid ads look exactly like user posts
@BeatTakeshi@lemmy.world avatar

I like how they try to sell the idea that tricking users is in fact a nice and innovative way to advertise

ininewcrow , to Technology in Don't tell your AI anything personal, Google warns in new Gemini privacy notice
@ininewcrow@lemmy.ca avatar

Don't tell, share, give or allow access to anything personal to corporations

AI are children of corporations .... so don't give anything to the children of corporations

Boozilla , to Technology in Don't tell your AI anything personal, Google warns in new Gemini privacy notice
@Boozilla@lemmy.world avatar

On the one hand, this could be filed under "yeah, no shit, we all know stuff in the cloud is forever".

On the other hand, it's something that's easy to forget with the ubiquitous omnipresence of compute in our lives. We become numb to it, and everyone has moments of crisis or weakness where they may let their guard down.

The US needs better privacy and consumer protection laws. But we're always behind Europe, and way behind technology, when it comes to our crappy legal system.

coffinwood , to Technology in Gen Z is ditching iPhones for $100 'feature phones,' and the numbers don't lie

No they don't. What a rubbish clickbait article.

All they say is that there's a (niche) trend of a few people using feature phones with expected combined sales of $2.8 million. Versus the $200 billions of iPhones alone.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines