▲ 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
[–] rotopenguin@infosec.pub 9 points 2 years ago (1 child) I would like to install a distro on a USB stick, without it doing something stupid to my internal drive's EFI. permalink fedilink source hideshow 2 child comments replies: [–] Anarchistcowboy@lemmy.world 2 points 2 years ago (1 child) I see people say this a lot and I have no experience with this but I wonder why you wouldn't use a USB nvme SSD enclosure it seems a lot easier and idk if running it over USB would limit the speed but it could preform better than a USB stick. permalink fedilink source parent hideshow 2 child comments replies: [–] rotopenguin@infosec.pub 3 points 2 years ago* (last edited 2 years ago) (1 child) A dumb little stick is fine for the occasional "fix something up" or "take a snapshot of a Windows drive because dd is objectively better than anything that Windows itself could do". A live iso distro precludes me from adding a handful of other useful tools. Late breaking edit : What I ended up doing was formatting a stick as small EFI / 5GB btrfs / rest exfat. Chattr +c the btrfs, and debootstrap in there. Put rEFInd on the efi and tell its conf file about the stick (or maybe it'll detect). Put non-free-firmware & stable-security into apt's sources.list. In a chroot shell, apt get live-task-non-free-firmware-pc gdm3 systemd-timesyncd linux-image-amd64 locales gnome-terminal. Add other tools to suit taste. Fix up the fstab, make /tmp tmpfs, make the exfat mount nofail. With btrfs compression, I can have a gnome environment inside of 2.5GB. It would be even more smol if I could figure out booting directly into Weston. permalink fedilink source parent hideshow 2 child comments replies: [–] Hule@lemmy.world 1 point 2 years ago "persistent storage" is a thing. But USB drives can't endure standard Linux for long. Too many logs and other files written all the time.. permalink fedilink source parent
[–] Anarchistcowboy@lemmy.world 2 points 2 years ago (1 child) I see people say this a lot and I have no experience with this but I wonder why you wouldn't use a USB nvme SSD enclosure it seems a lot easier and idk if running it over USB would limit the speed but it could preform better than a USB stick. permalink fedilink source parent hideshow 2 child comments replies: [–] rotopenguin@infosec.pub 3 points 2 years ago* (last edited 2 years ago) (1 child) A dumb little stick is fine for the occasional "fix something up" or "take a snapshot of a Windows drive because dd is objectively better than anything that Windows itself could do". A live iso distro precludes me from adding a handful of other useful tools. Late breaking edit : What I ended up doing was formatting a stick as small EFI / 5GB btrfs / rest exfat. Chattr +c the btrfs, and debootstrap in there. Put rEFInd on the efi and tell its conf file about the stick (or maybe it'll detect). Put non-free-firmware & stable-security into apt's sources.list. In a chroot shell, apt get live-task-non-free-firmware-pc gdm3 systemd-timesyncd linux-image-amd64 locales gnome-terminal. Add other tools to suit taste. Fix up the fstab, make /tmp tmpfs, make the exfat mount nofail. With btrfs compression, I can have a gnome environment inside of 2.5GB. It would be even more smol if I could figure out booting directly into Weston. permalink fedilink source parent hideshow 2 child comments replies: [–] Hule@lemmy.world 1 point 2 years ago "persistent storage" is a thing. But USB drives can't endure standard Linux for long. Too many logs and other files written all the time.. permalink fedilink source parent
[–] rotopenguin@infosec.pub 3 points 2 years ago* (last edited 2 years ago) (1 child) A dumb little stick is fine for the occasional "fix something up" or "take a snapshot of a Windows drive because dd is objectively better than anything that Windows itself could do". A live iso distro precludes me from adding a handful of other useful tools. Late breaking edit : What I ended up doing was formatting a stick as small EFI / 5GB btrfs / rest exfat. Chattr +c the btrfs, and debootstrap in there. Put rEFInd on the efi and tell its conf file about the stick (or maybe it'll detect). Put non-free-firmware & stable-security into apt's sources.list. In a chroot shell, apt get live-task-non-free-firmware-pc gdm3 systemd-timesyncd linux-image-amd64 locales gnome-terminal. Add other tools to suit taste. Fix up the fstab, make /tmp tmpfs, make the exfat mount nofail. With btrfs compression, I can have a gnome environment inside of 2.5GB. It would be even more smol if I could figure out booting directly into Weston. permalink fedilink source parent hideshow 2 child comments replies: [–] Hule@lemmy.world 1 point 2 years ago "persistent storage" is a thing. But USB drives can't endure standard Linux for long. Too many logs and other files written all the time.. permalink fedilink source parent
[–] Hule@lemmy.world 1 point 2 years ago "persistent storage" is a thing. But USB drives can't endure standard Linux for long. Too many logs and other files written all the time.. permalink fedilink source parent