help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use grub2 (uEFI netboot) to boot local OS


From: Steven Shiau
Subject: Use grub2 (uEFI netboot) to boot local OS
Date: Thu, 23 May 2019 18:53:37 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Dear all,

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)

Thank you very much.

Steven

--
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]