LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu issues with preseeding (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-issues-with-preseeding-4175636321/)

terbonit 08-14-2018 02:58 AM

Ubuntu issues with preseeding
 
Hello!

I'd like to ask a question about preseeding ubuntu netboot installation.

My case is that Dell released nvme drives in their XX90 series and I'm unable to get partman working in preseed file. The installation goes automatically until it gets to the partitioning step. Then it just drops to manual. Drive is being detected as /dev/nvme0n1 and can be automatically partitioned by clicking 'Guided partitioning' in the installer, but won't do that through the seed file, please help

The error I see in log console (ctrl+alt+f4) is:
Code:

partman: no matching physical volumes found
my pressed file looks like this:

Code:

d-i partman-auto/disk string /dev/nvme0n1
d-i partman-auto/method string crypto
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device  boolean true
d-i partman-auto-lvm/new_vg_name string system
d-i partman-auto/expert_recipe string        \
  boot-crypto ::                            \
      1 1 1 free                              \
        $bios_boot{ }                        \
        method{ biosgrub } .                \
      256 256 256 fat32                      \
        $primary{ } $lvmignore{ }            \
        method{ efi } format{ } .            \
      512 512 512 ext2                        \
        $primary{ } $bootable{ }            \
        method{ format } format{ }          \
        use_filesystem{ } filesystem{ ext2 } \
        mountpoint{ /boot } .                \
      40000 40000 -1 ext4                    \
        $lvmok{ }                            \
        method{ format } format{ }          \
        use_filesystem{ } filesystem{ ext4 } \
        mountpoint{ / } .                    \
      16384 16384 16384 linux-swap            \
        $lvmok{ }                            \
        method{ swap } format{ } .
d-i partman-lvm/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman-crypto/passphrase string someAdvPasswordz33
d-i partman-crypto/passphrase-again string someAdvPasswordz33
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

I'd be happy to post any additional info needed

rtmistler 08-15-2018 06:50 AM

I don't know much about the process you're following, however the complaint seems pretty clear:
Quote:

partman: no matching physical volumes found
While you may feel that it clearly detects the drive as that, this process does not recognize that string, for whatever reason.

Therefore check your assumption of: /dev/nvme0n1


All times are GMT -5. The time now is 08:20 PM.