Build a disk with three partions.
1. exFAT for /boot (needs to be at least 256MB needs to be a primary partition)
2. ext4 for Linux /root (store Linux on a Linux partition)
3. exFAT or NTFS for /media (that's your Windows partition)
They can be MBR primary partitions, you don't need to muck about with logical and extended partitions (unless you understand them).
Linux will can use /mnt for things you mount temporarily.
Assuming it must be on a zero2W (and frankly I'm somewhat surprised Jessie even boots on one as it was EOL four years before the launch of the zero2w) and you do not want a USB stick hanging off it, that's the way I'd go except I'd mount to a sub directory of /srv rather than to /mnt or a subdirectory of it.
For the OS, Raspberry Pi OS Bookworm Lite. RAM is a bit tight for a full desktop.
For mounting the third partition, I'd use /etc/fstab (or a systemd mount unit, maybe) even if booting to desktop it will be more consitent and give you more control over mount options.*
You mention using this on a plane. Unless things have changed since I last flew (and that's likely since that was at the end of '07) WiFi is banned onboard but check with the airline you're flying with. That would make it useless unless you have some other way to make it available to your client devices.**
You might want to consider running Samba as well as a miniDLNA server. That would have the potential for OTA updates to the media via your network.
You may also want to use the readonly overlay filesystem for your root partition to protect againt sudden power loss and undesired changes to the OS.
Before you fixate on FAT32, exFAT, or NTFS I strongly suggest you read up on their limitations, especially their limitations under Linux. If you need something close to universal, your best bet is FAT32 as lots of things other than Linux, Windows, and Macs use it.*** The same cannot be said about exFAT amd NTFS.
*:[shameless self promotion] See Using fstab A Beginner's Guide [/shameless self promotion]
**: SUch as the USB ethernet gadget****, the USB mass storage gadget*****, ethernet, etc.
***: Games consoles, TVs, Digital cameras, ...
****: [shameless self promotion] USB Ethernet Gadget A Beginner's Guide [/shameless self promotion]
*****: [shameless self promotion] See USB Mass Storage Gadget - A Beginner's Guide [/shameless self promotion]
Statistics: Posted by thagrol — Mon May 27, 2024 11:12 pm