Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Switching to UEFI+GPT+GRUB2 on btrfs -based system.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1520
Location: KUUSANKOSKI, Finland

PostPosted: Thu Jul 13, 2017 3:38 pm    Post subject: Switching to UEFI+GPT+GRUB2 on btrfs -based system. Reply with quote

I'm planning to repartition my server and desktop filesystem layouts so that hotswappable hard drives only contain (bare) btrfs. I plan to put boot files and at least (hibernation) swap on a USB flash. Currently I have one kind of hack on my desktop that has swap on mdraid5. It makes waking up from hibernation faster and gives me the possibility to swap out one drive at the time without doing swapoff. While I would like to preserve that feature It's not mandatory. Leaving swap out would make the hotswappable hard drives btrfs only. Which would make swapping drives a breeze (maybe even automated).
My main concern is if GRUB2 can boot from 5 or 6 disk btrfs filesystem. Also can I make /boot a btrfs subvolume? That way I could have only /boot/efi on the USB flash... among with possible swap.
I also would like to put some rescue .isos on the USB flash for grub to load if something goes wrong.

Suggestions? How would you build the system if the target was to have most of the data on single multi-device btrfs?

Note that my PCs have 16GB and 32GB of RAM and I rarely see swap usage. And if needed I can tune vm.swappiness.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum