Comments (6)
The following PR's is contributing towards this goal:
from archinstall.
As of 530edb5, the guided installer can detect and report the current partitioning scheme as well as the mountpoints and the filesystems in use. It does not yet have the capability to seamlessly erase the partitions according to the current setup, as use_entire_disk
will erase with some pre-chosen formats anyway.
That's the next step in fixing this :) Probably we'll rely on partition.filesystem
instead of hardcoding in a format, which makes sense.
from archinstall.
Moving closer to having this resolved. e2cd617 introduces a new workflow for dealing with partitions. Partitions now have a formatting lock on them through self.allow_formatting = False
(default). This prevents accidental formatting of partitions.
The changes introduced also allows for the partitioning logic further ahead which is the next change to come.
The installer will check for any partitions with a target_mountpoint
(those are relative mount-points to within an installation) and perform actions on those based on the information:
- partition fstype
- relative mountpoint
- encryption state
I will try to have that logic done in the next day or so.
After which users should be able to create more complex pre-configured filesystem setups as long as we support the filesystems in questions (since we need to handle unique packages and function calls for different types of filesystems).
This adds one additional step to the installer when selecting to keep the partitions, and that is to ask which partitions to use (and modify).
I've tested on a 1TB disk with multiple OS:es on it, and the end goal is to only touch those that we select and leave the others completely untouched.
from archinstall.
Almost there! The partitioning logic can now:
- Wipe entire drive
- Keep existing partitioning scheme
- Detect if /boot is empty or not, and wipe it if it is just to be sure or keep it as is and other OS:es should be intact
There's still the selection/logic of disk encryptions and the target filesystem-type.
In the above picture the target filesystem inside the encrypted volume should be ext4
and thus /dev/sda3
got formatted as ext4
when in fact it should be formatted with luks2
and once unlocked should be formatted with ext4
.
But that's just a logic tweak, after which this should be done and dusted! : )
from archinstall.
Initial tests looks promising.
Partitioning and installation passes all the way to final boot-loader installation.
The boot-loader fails due to wrong partition format ESP by the looks of it.
But I think that has to do with how I manually did parted mklabel gpt
and so on when setting up the /boot
to contain a fake windows loader. To see if archinstall would break or leave it untouched.
Will run some more tests later today.
from archinstall.
As of 3f8f002, archinstall now supports a more flexible partitioning scheme.
It's still a bit in it's infancy, but it should now support existing partitioning layouts. As well as other operating systems (it won't touch them) including a shared EFI boot partition. Which means you can use partial disks for the setup now by partitioning the disk before running the setup.
It also properly detects encrypted partitions and their inner filesystem (if the old disk encryption password is the same as the new one). If not, the user will have to properly define the inner filesystem upon being asked - if the autodetect fails.. or if the user don't want to auto-detect at all.
It also has the option to wipe the entire drive, which fullfills this issue and task.
I will release a release candidate later tonight for proper testing before this gets shipped into the wild.
from archinstall.
Related Issues (20)
- Grub doesnt recognize Windows after installing Arch through Archinstall HOT 4
- Error installing HOT 2
- `--help` should not require sudo HOT 1
- the auto partitioning size for /boot is too small HOT 10
- power-profiles-daemon package should be installed by default HOT 2
- ImportError: /usr/lib/libcrypto.so.3: version 'OPENSSL_3.3.P' HOT 3
- Something happen when i try install arch HOT 3
- Grub Install Failure HOT 2
- Selecting a single partition (ext4) it still creates different partitions for root and home. HOT 5
- sof-firmware and alsa-ucm-conf where not installed with pulse HOT 4
- /boot being mounted before / and its causing a crash HOT 5
- Israel is missing in mirror list HOT 1
- Archinstall failed HOT 4
- Nvidia Optimus option when choosing drivers HOT 1
- Archinstall failed HOT 4
- Archinstall crashes with target path already exists: /mnt/arch_btrfs/@ when duel booting
- Unable to reuse existing /home partition when uid is not the default one (1000)
- Suggestion for cinnamon default_profile HOT 3
- [Request] Hardware Encryption Support HOT 2
- Reuse DHCP HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archinstall.