Results 1 to 1 of 1

Thread: Ubuntu network installation :: UEFI+PXE+grub

  1. #1
    Join Date
    Dec 2020
    Beans
    1

    Ubuntu network installation :: UEFI+PXE+grub

    Hello,

    I am attempting to install Ubuntu 20.04 LTS over network to Lenovo desktop and looking for an assistance.

    Current setup
    1. Lenovo desktop UEFI Secure boot option enabled
    2. DHCP server set to serve DHCP request to boot shim.efi.singed from 'next server'
    3. TFTP server has grub directory with shim.efi.signed, grubnetx64.efi.signed, grub.conf files and directory x86_64-efi
    4. Desktop booted with F12 to select network boot over IP4
    5. shim.efi.signed picks up grubnetx64.efi.signed and grub.conf files
    6. grub menu presented on the screen
    7. selected option to boot Ubuntu 20.04 live
    8. on screen appears 'error: File not found'
    9. on timeout, it looks like kernel boots and can not find root fs (I assume that initrd file was not found) then kernel panic

    Code:
    ....
    [ 0.554888] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [ 0.555295] Please append a correct "root=" boot option; here are the available partitions:
    [ 0.555712] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    .....
    [ 0.562027] --- [ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
    The files shim.efi.signed, grubnetx64.efi.signed, grub.conf and x86_64-efi directory are taken from Ubuntu 20.04 ISO image.
    The file grub.conf was edited to accommodate location of vmlinuz, initrd files on TFTP server.

    The files shim.efi.signed, grubnetx64.efi.signed was extracted from ISO image for matching packages with following command

    Code:
    dpkg -x package.deb
    I did some reading on the internet and still can not to figure out where is the problem hidden

    grub.conf

    Code:
    menuentry "Install Ubuntu" {
               set gfxpayload=keep
               linuxefi  /Ubuntu/20.04/amd64/vlinuz .....
               initrdefi /Ubuntu/20.04/amd64/initrd.gz
    }
    Any clues and pointers are greatly appreciated.

    NOTE #1: vmlinuz and initrd files are taken from netboot and system able to proceed with installation in 'BIOS/CSM' compatibility mode

    NOTE #2: an attempt to boot Fedora and REHEL with similar menu options produces 'error: RHEL/.../vmlinuz has invalid signature' -- it appears that secure boot detects that kernel of these OSes are not signed

    Thank you,
    Polar Bear
    Last edited by polarbear20; December 13th, 2020 at 07:52 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •