Skip to content

Installing Arch on Flash drive

I want to install Arch on a flash drive 256 gb memory. It's my first time installing Arch. It's just for practice. Any advices or suggestions?. It's really worth to install it on a flash ?

5 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
ehpc6c

Author

5
posts
25
comments
0
media
View profile

9 comments

It is almost as simple as regular install. One important step is to try minimizing writes to it, this means no swap, no journaling and preferably disabling history and cache in browser.

I have a 32gb drive that survived 5-6 installs, many pacman updates and it still works well.

https://wiki.archlinux.org/index.php/Install_Arch_Linux_on_a_USB_key#Installation_tweaks

7 points

Also, add noatime to /etc/fstab to not write file access times.

6 points

F2FS is a fantastic thing. The idea is that it does many of the things an SSD controller does, but on the host so you can still get those benefits on a flash media that doesn't have such a controller. Like a flash drive, or eMMC, SD card, etc.

4 points

don't, you'll make your pendrive hurt

3 points

Why? Edit: Because of the limited writes on flash I suppose...

1 points

I've run Arch, Fedora and other distros as full installs to USB flash drives on a long term basis with no failures at all. I've done no tweaks to limit writes. Do it! Invaluable as a full feature rescue tool, as well as showing Arch running on friends computers. I would suggest you use USB 3 drives connected to USB 3 ports. Pretty surprising performance! I use Sandisk Ultra CZ48 and Extreme models.

I've since started using Qemu/kvm + libvirt for most of that.

7 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.