Clarification on metal installation using the ISO #9060
-
Hi all, I have a general question on the installation process on bare metal. https://www.talos.dev/v1.7/talos-guides/install/bare-metal-platforms/iso/ I have a x86_64 UEFI machine that I would like to install Talos on. I tried booting the machine from a USB stick on which I dd'ed the ISO. I also tried dd'ing the RAW image to the machine's disk (and manually created a EFI boot entry for this). I found tutorials doing both, booting from USB and putting the raw image to disk. From the documentation I would have thought that after applying the configuration the machine would "install" Talos to disk and reboot into the installed system.
Is my general assumption of "boot from USB stick and then it installs to disk" correct? If so, is there any indication on how long it should take to install? Does it reboot automatically? In my experiments, I could apply the configuration but it almost instantly told me that it was waiting for me to bootstrap the cluster (according to the After issuing a reboot using talosctl the machine boots up pristine, e.g. without any of the network settings I have in my controlplane.yaml. So somehow it did not "install" to disk. Maybe I am missing something or overlooking a detail, so any hints are highly appreciated. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
If you're using a disk image, Talos is already installed, so applying machine configuration turns it immediately into a running system. If you're booting off an ISO (or PXE booting, or the equivalent of it), Talos is not installed, and applying machine config will trigger reading
|
Beta Was this translation helpful? Give feedback.
-
OK, one thing I noticed which could explain parts of my confusion: The machine is connected to a monitor, which shows the boot log (with some network-related errors when e.g. NTP was tried before the network was ready). This screen never changes! I just triggered a powercycle reboot (not just a kexec) using Having "something" happen there on actions would be a nice help for Talos newbies like me. Is there a setting to show the logs also on this console? Or at least show things like shutting down services during reboot? Or is that impossible due to the way the dashboard works? (I found https://www.talos.dev/v1.7/reference/kernel/#talosdashboarddisabled which looks like it is either dashboard or console...) |
Beta Was this translation helpful? Give feedback.
Talos is using GRUB bootloader for the boot process (unless you're using SecureBoot).
When you do
talosctl reboot
, the default is tokexec
, so Talos will read configuration from GRUB.If you skip GRUB on boot via EFI bootloader, and specify cmdline there, Talos will not be able to use that. You have an option to skip
kexec
on reboots, or just use Talos disk image and your EFI bootloader should boot into GRUB from it without any extra entries to set up.Image Factory allows you to specify extra kernel args for the disk image if you need to.
Usually
ip=
args are used temporarily (for the initial PXE boot), and specifying network configuration in the machine configuration is used afterwards.S…