Strona główna / Społeczność / Blog / Diskless computer using PXE and iSCSI - kernel upgrade

Diskless computer using PXE and iSCSI - kernel upgrade

I would like to upgrade kernel on diskless machine.

First upgrade system as regular one:

Copy new installed initramfs and vmlinuz files somewhere, I've copied them directly to TFTP server

as you can see my TFTP (and also PXE/iSCSI) server is 192.168.1.28.

Then you have to expose new files via TFTP server and modify PXE config files.

My TFTP server files are in /data/tftpboot, and I've decided to store boot files in /networkboot/CentOS7-2003 directory so:

You can edit /data/tftpboot/pxelinux.cfg/default. I've per-machine PXE config files that's why I added to /data/tftpboot/pxelinux.cfg/4c4c4544-0042-4410-8053-b2c04f43334a instead of default:

as you can see kernel and initrd are updated to point at new files.

When You test that system boots from this new config you can change set it as default.

Komentarze

Log in or create a user account to comment.

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30