01.05.2016 17:25, dE пишет: > Hi! > I'm trying to make a grub pxe image to a execute an OS installed on > the local hard disk (this's the first thing I want to achieve). > > My first objective is to get the grub menu to show up (even if they're > wrong) and get a grub command prompt. > > The image was created as such -- > > grub2-mkimage -vO i386-pc-pxe -o /tmp/tftproot/pxe -p '(pxe)' pxe >
Your image does not contain any protocol driver necessary to load files over network. Please use grub-mknetdir to generate image and tftpboot structure. > The contents of the /boot/grub directory were copied over to > /tmp/tftproot/. > > However as soon as the pxe image loads, grub reboots the system. It does > not attempt to load grub.cfg or load any of the modules (I know this > cause the pxe image does not issue any calls to the tftp server). > See above. It probably reboots because it cannot access its root/prefix. It ideally should handle it more gracefully though. Care to file bug report so it is not forgotten? _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
