Skip to content

archinstall - automate install with btrfs timeshift compatible layout

Hi all,

I am looking to automate installing using archinstall.

However, I stumble a little over btrfs and subvolumes. I want to use @, "@home" for timeshift autosnapshots.

Can I automate archinstall partitioning using that partition scheme?

All the best from Germany :-)

​

EDIT: Since some people are asking via DM and others responded and deleted their comments: I know how to do it manually, thanks! But since archinstall is part of the default arch iso, and is able to use an unattended file answering the questions, AND is able to have this unattended file differing for machines according to their MAC addresses, this seems to be perfect for auto mass deploy of VMs and Laptops.

And thats what I am after with this question, ultimately.

Edited 11 Sep 2021. We only hold this version.

66 points6 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
66 · 96% up
Kind
Text
ID
pm5lt0

Author

5
posts
100
comments
2
media
View profile

8 comments

Do you know that you can just rename a btrfs subvolume with the Linux mv command?

19 points

Yes, indeed I know :-)

I just want to automate the process for mass deployment, I don't want to rename all the volumes. Then again, if the rest is perfect, I could always automate the renaming.

4 points

I'll be honest here and say I had legit no idea you could do that. Then again I'm only just now diving into btrfs.

4 points

Doesn't Archfi do that? Here are some helpful links I used during my install. I even think there is a YouTube video of it.

https://github.com/MatMoul/archfi

https://gist.github.com/esa1975/48cb01ee3285811ffdf3d5f9b6801491

9 points

Will look it up. I just stumbled upon archinstall since its part of all the archiso files and is able to have it running unattended with config files separate for different MAC addresses. Perfect for mass auto deployment.

1 points
unknown author

Deleted before we saved it.

1 points
unknown author

Deleted before we saved it.

1 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.