[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
How can I run Linux off of a flash drive without killing it with
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 30
Thread images: 1
How can I run Linux off of a flash drive without killing it with constant writes? Is there a distro that's made with this in mind?
>>
Goddamn it /g/ pull yourself away from your anime wallpaper generals for a second
>>
Holy shit, it's on every distro's wiki ever. kys
>>
there's a bunch of things you can do, such as setting a large commit value on its filesystem mounts (specifies a max amount of time writes can be buffered in cache)
>>
>>54393628
Get an USB3 flashdrive, those work internally like SSDs
>>
pretty sure Kali Linux has this in mind, mostly for privacy reasons it runs very well from flash drive. Hell, you can even have persistance in the live USB: https://www.offensive-security.com/kali-linux/kali-encrypted-usb-persistence/
>>
>>54393628
How poor are you to not afford a $10 flash drive every year IF that.
>>
You're not going to kill a flash drive made in the past 5 years.
>>
>>54393628
puppy Linux will run entirely in ram after being loaded initially off of the usb
>>
>>54393977
Did last year with Bunsen labs installed on a sandisk cruzer
>>54394001
This sounds perfect thanks
>>
>>54393628

Disable swapping

I remember puppy running fully from ram but it can't remember sessions.
>>
Don't constantly write to it? lol
>>
>>54393628
just don't write to it ?
>>
>>54394011
welcome anon, I personally use a 64GB USB 3 to run puppy on my college computers because win7 is so locked down there, luckily the IT Adkins are stupid enough to leave the bios unprotected.
>>
>>54394031
>>54394046
kill yourself
>>
>>54393943
kali is dead but now it has a successor, tails i think?
>>
the fanciest method would be to use overlayfs, with the overlay on a ramdisk, then rsync the ramdisk back the flash drive when you're done
this way you only write the changes once during the whole session
>>
>>54394064
No OP, you kys
>>
>>54394075
Since when?
>>
>>54394075
>Kali is dead
No
>Successor of Kali is Tails
No

Kali = Penetrating Security
Tails = Gaining Security
>>
>>54393628
Linux is just a kernel.
You are just OP, a faggot as always.
>>
It's GNU/Linux OP

Also gentoo is the best at this sort of thing
>>
>>54393628
Make an initramfs and use a normal init system instead of a script.
>>
>>54394075
>kali is dead but now it has a successor, tails i think?

Go be stupid on another board. Those two distros are not related. Kali is very popular.
>>
>>54395763

...if u want spent 10 hours installing

debian8+xfce(--no-recommends)
>>
>>54393628

Install the OS onto the flash, put /home on a different partition. Create a memfs and union mount it on top of the /home partition.
>>
>>54393628
Any live version of any linux distro. Debian Live is the best one.
>>
I have odroid-c1 running with sdcard about year now? Still doing fine.
I have installed kubuntu to usb drive, using tmpfs for /tmp but haven't done anything else to reduce writes.
>>
>>54393628
Porteus. It only writes changes on shutdown.
>>
>>54393882
kek
Thread replies: 30
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.