UNSOLVED

RandyWei

updated

9 years ago

R

RandyWei

8 Posts

0

3329

April 19th, 2018 11:00

Can Linux DTK 6.10 be made to uEFI PXE boot?

I am trying to uEFI PXE boot the Dell EMC OpenManage Deployment Toolkit (Linux) v6.1.0 for OM 9.1.0.

I have extracted the Content of the ISO to my Linux PXE server,  but get an error booting.

No filesystem could mount root.

Kernel Panic ................

Any example of the grub.cfg that shows the kernel options for allowing this to work?

 

Thanks,

Randy

 

  • DELL-Josh Cr

    Community Manager

    •

    9801 Posts

    •

    45350 Points

    2866

    0

    Posted April 19th, 2018 14:00

    Hi,

    Can you private message me the service tag so we can get some additional information?

     

    We have not validated booting it from uefi pxe only from physical or virtual media on the iDRAC.

  • RandyWei

    8 Posts

    2807

    0

    Posted April 25th, 2018 10:00

    As a system Integrator, PXE booting the DTK would be extremely helpful.

    As most new hardware is uEFI, I would prefer an option for that.

     

    Thanks

  • kgajjar

    6 Posts

    2811

    0

    Posted April 25th, 2018 10:00

    I have same issue, trying to boot UEFI PXE for Dell DTK and getting an grub error

  • kgajjar

    6 Posts

    2802

    0

    Posted April 25th, 2018 11:00

    Yes all our new hardware ships as UEFI bios and unable to use Dell DTK out of the box.

     

    What exactly error are you getting ?

  • RandyWei

    8 Posts

    2785

    0

    Posted April 26th, 2018 07:00

    I can Legacy PXE boot the Linux DTK... I also can EFI boot the CD/DVD..

    I am using DTK_6.1.0_2768_Linux64_A00.iso as my starting point.

    I am seeing Kernel Panic - not syncing: VFS: Unable to mount root fs on unkown-block(0,0)

    If I could see an example grub.cfg entry that works, that would be great.

    Thanks 

     

    Randy

     

  • kgajjar

    6 Posts

    2778

    0

    Posted April 26th, 2018 10:00

    grub.cfg entry example already located on same DTK ISO 

    find dtk_grub.cfg file under DTK_6.1.0_2768_Linux64_A00\EFI\BOOT

    pasting here for you as well, I have updated grub.cfg entry both via PXE and Virtual ISO getting an grub error.

    set default=0
    set timeout=10
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    insmod test
    menuentry "Dell Deployment Toolkit 6.1.0 (UEFI Mode)" {
     set gfxpayload=keep
     echo "Current bootmode is set to UEFI, loading DTK ELI in UEFI mode..."
     linux /isolinux/SA.1 root=/dev/ram0 rw DEBUG=0 share_type=cdrom loglevel=1 BUILD=2768 init=/init selinux=0 edd=off quiet --
     initrd /isolinux/SA.2
    }
    menuentry "Media Check" {
     set gfxpayload=keep
     echo "Current bootmode is set to UEFI, Media Check in progress..."
     linux /isolinux/SA.1 root=/dev/ram0 rw DEBUG=9 share_type=cdrom loglevel=1 BUILD=2768 force_mediacheck=1 init=/init selinux=0 end=off
     initrd /isolinux/SA.2
    }
    menuentry "Exit" {
     normal /EFI/BOOT/exit.cfg
    }
  • RandyWei

    8 Posts

    2773

    0

    Posted April 26th, 2018 11:00

    That file does not have PXE.. only on loading the script from a nfs share.

    Here is the Legacy pxelinux entry that I have working:


    label testDTK
    kernel /dell_dtk1/isolinux/SA.1
    append initrd=/dell_dtk1/isolinux/SA.2 ramdisk_size=12345 ramdisk_blocksize=4096 DEBUG=0 Stage3_type=nfs Stage3_opts=nolock Stage3_source=10.8.28.11:/data/tftpboot/dell_dtk1/ share_type=nfs share_location=10.8.28.11:/data/tftpboot/dell_dtk1 share_script=shell.sh share_opts=nolock selinux=0

    I am having problems getting this to work under uEFI pxe, and would like to see a grub.cfg example that does.

    Thanks for the help

    Randy

     

  • kgajjar

    6 Posts

    2770

    0

    Posted April 26th, 2018 11:00

    if you look un-commented lines there is an example already 

    # Modify and uncomment this menuentry if dtk files are on a nfs share.
    # the mount command will become...
    # mount -t $share_type -o $share_opts $share_location /opt/dell/toolkit/systems/
    
    #menuentry "Dell Deployment Toolkit 6.1.0 (UEFI Mode) with Network-NFS" {
    #	set gfxpayload=keep
    #	echo "Current bootmode is set to UEFI, loading DTK ELI in UEFI mode with shared script present in NFS..."
    #	linux	/isolinux/SA.1 ramdisk_size=##RAMDISK_SIZE##  Stage3_type=cdrom DEBUG=0 quiet BUILD=2768 vmalloc=256M share_type=nfs share_location=:/path/to/share share_script=
       share_opts=nolock selinux=0
    #	initrd	/isolinux/SA.2
      
     
  • kgajjar

    6 Posts

    1001

    0

    Posted April 26th, 2018 12:00

    I'm using Stage3_type=cdrom in Legacy BIOS setup and it's working fine for Legacy BIOS

    Official dell grub example use Stage3_type=cdrom

    Please try with that option in UEFI but you will see grub error.

    Here is what i'm using for Legacy BIOS for NFS

    DEFAULT delldtkauto 
     
    label delldtkauto 
          menu label ^delldtkauto 
          kernel /delldtk/isolinux/SA.1 
          append initrd=/delldtk/isolinux/SA.2 ramdisk_size=156482  Stage3_type=cdrom DEBUG=0 quiet share_type=nfs share_location=netapp84:/vol/nobackup1/bb-goodies2 share_script=/delldtk/r230.sh share_opts=ro,nolock selinux=0

     

  • RandyWei

    8 Posts

    2763

    0

    Posted April 26th, 2018 12:00

     

    That does not support PXE, uEFI or otherwise.  I have tried that.  You'll notice the Option:

    Stage3_type=cdrom

    In my example for legacy per my last post,  you'll notice that Stage3_type=nfs, etc.   Otherwise the Kernel is still looking for CDROM media to complete the boot process..  Which defeats the purpose of PXE.