Preseed deletes data on partitions, how can I stop this?
Here is my main preseed file:
# Partition Disks
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string regular
d-i partman-
boot-root :: \
30000 30000 30000 btrfs \
. \
8000 8000 8000 linux-swap \
. \
30000 30000 30000 ext4 \
. \
15000 15000 15000 ext4 \
.
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman/
And this is the preseed that should format and do a fresh install, but not touch the partitions or the data on the partitions:
# Partition Disks
d-i partman-
boot-root :: \
30000 30000 30000 btrfs \
. \
8000 8000 8000 linux-swap \
. \
30000 30000 30000 ext4 \
. \
15000 15000 15000 ext4 \
.
partman-
d-i partman/
d-i partman/confirm boolean true
d-i partman/
d-i partman/
After running the install with this preseed, the files within data and work are gone.
I have looked at https:/
The partitions are fine and still remaind, just the files within the partitions are gone.
My end goal is to have a unattended installation where it will format and restaill ubuntu, but still keep the partitions and the data still intact.
Thank you!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: