Hi Pascal, On 5/24/19 2:21 AM, Pascal Hambourg wrote: > Hello, > > Le 23/05/2019 à 12:53, Steven Shiau a écrit : >> >> I need to switch to boot the OS on the local disk even when the >> client machine is booted by uEFI netboot. However, it does not find >> any block device. I entered the grub shell in the netbooted client, >> ran "ls", then it showed me only "(proc)". >> >> The bootx64.efi on the netboot server was created by this command: >> >> grub-mkimage -C xz -O x86_64-efi -o /tftpboot/nbi_img/bootx64.efi >> '--prefix=(tftp)/grub-efi.cfg/' -c >> /tmp/grub-efi.FnbG08/grub-header.cfg normal tftp efinet chain echo >> net gzio xzio linux efi_gop efi_uga png gfxterm gfxterm_background >> gfxterm_menu serial part_gpt part_msdos boot multiboot progress >> search ext2 xfs reiserfs jfs hfsplus fat ntfs configfile test sleep >> tr reboot halt >> and the grub modules were put by this command: >> grub-mknetdir --net-directory=/tftpboot/nbi_img/grub-efi.cfg --subdir=/ >> >> Did I miss something? How can I do so that the block device can be >> found in the grub shell in the netbooted client? So that in the grub >> shell in the netbooted client, if I run command "ls", it can show me >> something like: >> (memorydisk), (hd0), (hd0,gpt1), (hd0,gpt2), (hd0,gpt3) > > Maybe you need to load or include some *disk* module in the core image ? Thank you for your reply. Yes, I did try to load disk.mod or nativedisk.mod. However, it did not work. Something I must have missed so that it should be in the non-(proc) mode.
Steven > > _______________________________________________ > Help-grub mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/help-grub -- Steven Shiau <steven _at_ stevenshiau org> Public Key Server PGP Key ID: 4096R/163E3FB0 Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0 _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
