archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

use_entire_disk() alternative?

Open wbehrens-on-gh opened this issue 3 years ago • 3 comments

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?

wbehrens-on-gh avatar Feb 03 '23 20:02 wbehrens-on-gh

When manually partitioning is there a way to grab the rest of the disk when making the root partition?

wbehrens-on-gh avatar Feb 14 '23 18:02 wbehrens-on-gh

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

jtyler76 avatar Mar 07 '23 17:03 jtyler76

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.

Torxed avatar Mar 07 '23 19:03 Torxed