oomichi / try-kubernetes

12 stars 5 forks source link

preseed doesn't work on intel nuc #5

Closed oomichi closed 7 years ago

oomichi commented 7 years ago

When preseeding on intel nuc with pxeboot, we faced

[!!] Partition disks

No root file system No root file system is defined. Please correct this from the partition menu.

oomichi commented 7 years ago

When trying non-automated installation by removing pxeboot option from menu.cfg, the installer detects m.2 SSD drive and succeeded to install ubuntu 16.04. So maybe the preseed config needs to be fixed for Intel Nuc.

oomichi commented 7 years ago

Intel Nuc's root file system device is /dev/nvme0n1p1, so now I guess the reason is that the device is different from /dev/sda which is written on preseed.cfg.

oomichi commented 7 years ago

/var/lib/tftpboot/preseed.cfg

The above change works for Intel Nuc. and partman doesn't seem to support falling-back way for another device after first choice. So we need to have separated preseed.cfg for Intel Nuc, maybe it is necessary to manage them according to mac-address.