Hello everybody,

I am running some advanced pxe automated installations successfully. I been trying to update the default kernel and all is working, except I can not seem to update-grub and get the kernel to show in the grub.cfg.

ubiquity ubiquity/success_command string \
in-target apt-get install -y openssh-server vim intel-microcode amd64-microcode; \ wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-modules-5.4.0-47-generic_5.4.0-47.51_amd64.deb -O /target/tmp/linux-modules-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \ wget http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-modules-extra-5.4.0-47-generic_5.4.0-47.51_amd64.deb -O /target/tmp/linux-modules-extra-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \ wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-signed/linux-image-5.4.0-47-generic_5.4.0-47.51_amd64.deb -O /target/tmp/linux-image-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \ chroot /target dpkg -i /tmp/linux-modules-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \ chroot /target dpkg -i /tmp/linux-image-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \ chroot /target dpkg -i /tmp/linux-modules-extra-5.4.0-47-generic_5.4.0-47.51_amd64.deb; \
    chroot /target update-grub2; \
    chroot /target grub-mkconfig -o /boot/grub/grub.cfg;

Can somebody tell me why all my update-grub2 or grub-mkconfig commands are not working and suggest an solution?

Kind regards,

Jelle de Jong

--
Ubuntu-installer mailing list
Ubuntu-installer@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer

Reply via email to