How to Link to the Dell Diagnostic partition from your Ubuntu Linux operating system on a Dell PC

How to Link to the Dell Diagnostic partition from your Ubuntu Linux operating system on a Dell PC

The following article provides information on how to use the Dell diagnostics on boot if you've reinstalled with Ubuntu Linux on your Dell PC.

Table of Contents:

  1. Using the Dell diagnostics with an Ubuntu install
  2. Dell Diagnostic Partition
  3. GRUB2 Menu Configuration

Using the Dell diagnostics with a Ubuntu install

This guide takes you through linking the GRUB2 boot loader to the partition that contains the Dell diagnostics from when the system was originally configured in the factory.

It will let you boot to the diagnostics if you are experiencing any hardware issues with your Dell PC.

If you get any errors from these diagnostics, please contact your Technical Support for a resolution.

If you have recently reinstalled your Dell PC with an Ubuntu Linux Operating System (OS) then you will want to read and follow the guide below.

Note: If you get any errors from these diagnostics, please contact your Technical Support for a resolution.

Back to Top

Dell Diagnostics Partition

  1. Did your system ship with a Dell Diagnostics Partition installed?

    1. No, it didn't ship with any onboard diagnostics. Then, I'm afraid this guide isn't going to do you any good.

    2. Yes, but you wiped and formatted the whole Hard Drive. Again, I'm afraid if there's no existing partition to link to then this guide isn't going to do you any good.

    3. Yes and the partition is still there. Most of our newer systems, including desktops do ship with this partition. Then please follow the steps below to get this partition working again.

      Note: Originally the way to boot to these diagnostics was by pressing the F12 key at the Dell Splash Screen. This brought up a Boot Once menu and by using the cursor/Arrow keys, you could select Diagnostics and press the Enter key to boot to them.
    4. If you're unsure if you had this partition you can check if the partition still exists by running this command in Ubuntu.

sudo mount -t vfat /dev/sda1 /mnt

Note: For the purpose of these examples, I'm calling the diagnostics partition /dev/sda1 and the drive location as hd0.1. For naming Conventions you can find out more from one of our Ubuntu articles.

Back to Top

GRUB2 Configuration Menu

  1. Have you already installed the Ubuntu OS on your system?

    1. Yes, then follow step 2 below.

    2. No, then please ensure you don't delete the diagnostics partition when you choose which partitions to delete and which to install to during the install process and then come back and pick up this guide from step 3.

  1. During the install the GRUB program will have run a probe for any other bootable partitions on your Hard Drive. However because the diagnostics partition is a small DOS partition that's formatted in FAT, GRUB will not pick it up. You will need to configure it manually.

  2. You will need to edit the file which defines the custom bootable partitions. /etc/grub.d/40_custom. It should show an entry like the picture below.

exec tail -n +3 $0
# This file provides and easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
  1. Append the lines below to the end of the file.

Note: Make sure there are no extra characters.
menuentry "Dell DOS Diagnostics (on /dev/sda1)" {
insmod chain
insmod fat
set root=(hd0.1)
chainloader +1}
  1. Update the GRUB2 Menu, using the command below.

sudo update-grub2
  1. Now reboot your system and test if it worked?

    Dell DOS Diagnostics should have appeared as the last line in the GRUB2 boot menu and you should be able to boot to it and the diagnostics should run from that point.

    Once the diagnostics have run through, the system should reboot to the GRUB2 menu.

Back to Top

Additional Information :

Software support is provided by Canonical through the following methods:
Technical Support is provided by Dell :

Back to Top

Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

Article ID: SLN151665

Last Date Modified: 09/21/2019 10:54 AM

Rate this article

Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.