this post was submitted on 09 Aug 2024
166 points (98.3% liked)

Linux

48366 readers
1231 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
you are viewing a single comment's thread
view the rest of the comments
[–] ColdWater@lemmy.ca 1 points 3 months ago (2 children)

I curious because I don't have the skill to test it myself but can you just manually copy everything to USB it's just work?

[–] Ghoelian@lemmy.dbzer0.com 4 points 3 months ago* (last edited 3 months ago) (1 children)

No, the drive needs a boot partition for the bios to know there is something to be booted on the drive.

Most Linux ISO's do properly include the partitions in the ISO, so you can clone the iso to a drive and that should work, using dd for example. But just copying the files won't work.

iirc windows iso's did use to support just creating a fat32 partition and moving all the files over, not sure how they managed that. But now the international ISO for win 11 has a file that's more than the max 4Gb allowed by fat32, so you can't do that anymore either.

[–] Telorand@reddthat.com 1 points 3 months ago (1 children)

No idea if this exists for Linux, but there's a program for Windows called GuiFormat that allows formatting of larger thumb drives to be fat32.

[–] Ghoelian@lemmy.dbzer0.com 2 points 3 months ago (1 children)

That's not the only issue, fat32 also has a hard limit on single file size. The largest a single file can be is 4GiB, and afaik you just can't get around that with fat.

iirc, the way windows deals with this in its media creation tool is that it strips out locales and other things you don't need, based on the options you selected previously, so the file ends up being small enough to fit.

[–] Telorand@reddthat.com 1 points 3 months ago

Dunno how GuiFormat gets around those limitations (something to do with block sizes, I think), but I've never had any trouble with it.

There's better options than fat32, anyway, just pointing out that the 4GB limit has a workaround, and YMMV.

[–] nyan@sh.itjust.works 2 points 3 months ago

In the general case, no, but there are some rare specific cases where that does work.

If you're trying to produce Linux media that will boot on a single-board computer that has an onboard bootloader, like a Pi 4, you can indeed just partition the target medium and copy the files manually (been there, done that, working with a custom Gentoo install with no ISO).

If the bootloader has to be on the target medium (as it would for a desktop or laptop), then that won't work unless you also do a manual bootloader install after copying everything. Not impossible, but at that point you're hitting the level of complexity where it's easier to figure out the correct dd command.

(As for Windows? Don't even bother. It hates being worked on with anything but its own tools.)