I decided to give a shot to httpboot instead of the traditional PXE boot.
Everything works as expected, grub.cfg (after all needed files were fetched and downloaded from the HTTP server) is being loaded and the menu to select the OS to be installed appears.
After selecting the appropriate entry (only one - Centos7-1908-minimal), I can see that vmlinuz and init ramdisk are being requested and server responds successfully with status 200. Despite this, after selecting the entry in order to load the kernel and the ramdisk and to initiate the installation procedure, I am having the well known:
Of course, this is followed by a call trace, and system hangs.No filesystem could mount root
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Grub.cfg file:
---
---set default 0
set timeout=10
menuentry 'Install Centos 7 Minimal' {
echo "Loading vmlinuz"
linuxefi /correct/path/to/vmlinuz ip=dhcp inst.repo=http://x.x.x.x/centos7-1908-minimal/
echo "Loading initrd.img"
initrdefi /correct/path/to/initrd.img
}
This is the same file that could be used on a TFTP-based PXE installation.
Am I missing something here? Maybe inst.stage2 parameter?
Regards,
Chris