use_entire_disk() alternative?
Currently I have a custom arch install script that contains the following
mode = archinstall.GPT
if archinstall.has_uefi() is False:
mode = archinstall.MBR
with archinstall.Filesystem(harddrive, mode) as fs:
# We create a filesystem layout that will use the entire drive
fs.use_entire_disk(root_filesystem_type='btrfs')
# Create root partition and subvolumes
root = fs.find_partition('/')
root.subvolumes = {
'@': '/',
'@home': '/home',
'@log': '/var/log',
'@snapshots': '/.snapshots',
'@pkgs': '/var/cache/pacman/pkg'
}
when trying to use it I get an error that use_entire_disk() has to be reworked but no alternative command is provided to use? what am I supposed to do for the time being?
When manually partitioning is there a way to grab the rest of the disk when making the root partition?
+1 on this.
It would be nice if the example in the main readme was runnable. It currently fails on the use_entire_disk() call.
I'll be getting a bit more free time coming up, together with @jaybent we can probably revamp the documentation quite a bit. No promises but it's going to be a main focus of mine together with separate /boot.