Karnel modules fail to load-why?

Asked by Navin Talati

When I starts my system, while booting (i.e. before Login screen) it appears warning on the black-screen stating "Failed to start load Kernel Modules". Then onward the usual Login screen appears and could be login as usual.
Why this happens?
How to find which kernels' modules are installed in the system?
How to find which kernels' modules fail to load?
How to remove unnecessary kernels?
Please state the required command lines and help me to resolve the issue.
Thanks in anticipation.
Navin Talati / 12-05-2017

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Navin Talati
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does the server startup OK despite the message?

Revision history for this message
Navin Talati (n-m-talati) said :
#2

After login to the system everything goes normal and also Firefox browser works normally. Thus I understand that the server start-up is OK. If some command is there to assess the server start-up and its activities, please give me the relevant stuff so that I can upload the out-put to check further.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Is there any additional information shown besides "Failed to start load Kernel Modules", e.g. the name of the module that could not be loaded?

You could also use the system log viewer to search for messages that provide a more detailed description of what failed.
And the file /var/log/kern.log and the dmesg command might also be able to reveal the cause of the error message.

Revision history for this message
Navin Talati (n-m-talati) said :
#4

Initially, in the first line it gives message about /dev/sda2/: clean some files and blocks.

Then......

[ FAILED] Failed to start load kernel Modules
See ‘systemctl status systemd-modules-load.services’ for detail
  Start apply Kernel variables....
then ....

some [OK] continues.

Again....

[FAILED] Failed to start load kernel Modules
See ‘systemctl status systemd-modules-load.services’ for detail

and then .....

some [OK] continues.

In the last

Ubuntu 16.04.2 LTS linux tty1

and

linux login:

------------------------------------------------------------------------------------------------------------

please guide further with appropriate command lines to solve the issue as I am not well conversant with linux command lines and its structures.

Revision history for this message
Navin Talati (n-m-talati) said :
#5

(1).
I step-wise reached to /var/log/kern.log files.
There exist following FIVE kern.log files.
kern.log
kern.log.1
kern.log.2.gz
kern.log.3.gz
kern.log.4.gz

out of that while opening 'kern.log.3.gz' file it exhibits the error stating

"There was a problem opening the file “/home/navin/.cache/.fr-lQ3Pmh/kern.log.3”.

What to do further?

(2).
Applying the command 'dmesg" in the terminal, it gives very huge output and i am unable to understand it.

How to find ERROR from this output?
How to rectify the ERROR?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

What do you get for the command that is listed in the error message?
See ‘systemctl status systemd-modules-load.services’ for detail

Revision history for this message
Navin Talati (n-m-talati) said :
#7

The output of the error message is as under:
--------------------------------------------------------------------------------------------------
navin@linux:~$ systemctl status systemd-modules-load.services
● systemd-modules-load.services.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
navin@linux:~$
---------------------------------------------------------------------------------------------------
How could this be rectified?
Please guide with appropriate command lines for this.
Thanks.

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

"No such file or directory"
It seems that a required file was deleted.

I suggest that you try reinstalling the systemd package.

and for further diagnostics please provide the output that you receive for the commands

uname -a
lsb_release -crid
sudo dpkg --audit

Revision history for this message
Navin Talati (n-m-talati) said :
#9

Thanks for the reply.

Please suggest a command line to reinstall the systemd package. Could it be install through Synaptic Package Manager?

The OUTPUT of the above THREE commands is as under:
-----------------------------------------------------------------------------------------
navin@linux:~$ uname -a
Linux linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
navin@linux:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
navin@linux:~$ sudo dpkg --audit
[sudo] password for navin:
navin@linux:~$
-----------------------------------------------------------------------------------------

Please guide further.
Thanks.

Revision history for this message
Navin Talati (n-m-talati) said :
#10

In Synaptic Package Manager, it is found in the status that ‘systemd’ and related packages installed in the system are as under:
----------------------------------------------
Packages & Installed latest versions.
sustemd 229-4ubuntu17
python3-systemd 231-2build1
systemd-sysv 229-4ubuntu17
libsystemd0 229-4ubuntu17
libsystemd0:i386 229-4ubuntu17
gnome-logs 3.18.1-1ubuntu1
libpam-systemd 229-4ubuntu17
-------------------------------------------------

They all are reinstalled through SPM and the machine was restarted but the result is the same and the problem persists.
This is as additional information.

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

The version of the kernel that you are running is more than a year old.
The current version is 4.4.0-78, but you are running 4.4.0-22
Is there a specific reason that you do not regularly update the kernel packages?

Revision history for this message
Navin Talati (n-m-talati) said :
#12

There is no specific reason.

I am usually almost regularly updating and upgrading through terminal and also through Software Updater. This way I understand that kernels are also updating. But somehow it is not. - So even I am not knowing that the system is running on old version of kernel! ( this has happened due to poor knowledge of mine about linux).

I wish to keep the Ubuntu 16.04 LTS as O.S. and not the next versions. Please tell me:-

(1). How to update & upgrade the kernel From "4.4.0-22" to "4.4.0-78" ?
(2). How to remove residual kernels packages if they remain?

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

Please provide the output of the commands

sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Navin Talati (n-m-talati) said :
#14

The OUTPUT of the above TWO commands is as under:
----------------------------------------------------------------------------------------------------------------------
navin@linux:~$ sudo apt-get update
[sudo] password for navin:
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial InRelease
Hit:4 http://dl.google.com/linux/earth/deb stable Release
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:6 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/costales/folder-color/ubuntu xenial InRelease
Hit:8 http://archive.canonical.com/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/dawidd0811/neofetch/ubuntu xenial InRelease
Get:11 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:12 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial InRelease
Get:14 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [544 kB]
Hit:16 http://ppa.launchpad.net/jconti/recent-notifications/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/libreoffice/libreoffice-5-3/ubuntu xenial InRelease
Hit:18 http://ppa.launchpad.net/mhsabbagh/greenproject/ubuntu xenial InRelease
Hit:19 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial InRelease
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [528 kB]
Hit:21 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu xenial InRelease
Get:22 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease [17.5 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [298 kB]
Hit:24 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial InRelease
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [195 kB]
Hit:26 http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu xenial InRelease
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [471 kB]
Hit:28 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Hit:29 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease
Get:30 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 Packages [10.5 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [456 kB]
Get:32 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main i386 Packages [10.5 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [160 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [188 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,520 B]
Get:36 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:37 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [3,976 B]
Get:38 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [276 kB]
Get:39 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [263 kB]
Get:40 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.6 kB]
Get:41 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [45.7 kB]
Get:42 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [125 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [112 kB]
Get:44 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32.2 kB]
Get:45 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37.0 kB]
Fetched 4,140 kB in 9s (451 kB/s)
Reading package lists... Done
navin@linux:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  glade2script libopenshot11 pastebinit
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  gimp gimp-data libgegl-0.3-0 libgimp2.0 libmypaint libtasn1-6
  libtasn1-6:i386
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.6 MB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 libtasn1-6 i386 4.7-3ubuntu0.16.04.2 [45.4 kB]
Get:2 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 gimp amd64 2.9.5~111-0x0~ppa~85aab2a [3,582 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtasn1-6 amd64 4.7-3ubuntu0.16.04.2 [43.3 kB]
Get:4 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 gimp-data all 2.9.5~111-0x0~ppa~85aab2a [9,300 kB]
Get:5 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 libgegl-0.3-0 amd64 1:0.3.19~3-0x0~ppa~5db8928 [773 kB]
Get:6 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 libgimp2.0 amd64 2.9.5~111-0x0~ppa~85aab2a [775 kB]
Get:7 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial/main amd64 libmypaint amd64 1.4.0~3-0x0~ppa~c196a86 [33.9 kB]
Fetched 14.6 MB in 43s (332 kB/s)
(Reading database ... 419396 files and directories currently installed.)
Preparing to unpack .../libtasn1-6_4.7-3ubuntu0.16.04.2_i386.deb ...
De-configuring libtasn1-6:amd64 (4.7-3ubuntu0.16.04.1) ...
Unpacking libtasn1-6:i386 (4.7-3ubuntu0.16.04.2) over (4.7-3ubuntu0.16.04.1) ...
Preparing to unpack .../libtasn1-6_4.7-3ubuntu0.16.04.2_amd64.deb ...
Unpacking libtasn1-6:amd64 (4.7-3ubuntu0.16.04.2) over (4.7-3ubuntu0.16.04.1) ...
Preparing to unpack .../gimp_2.9.5~111-0x0~ppa~85aab2a_amd64.deb ...
Unpacking gimp (2.9.5~111-0x0~ppa~85aab2a) over (2.9.5~109-0x4~ppa~fcc52da) ...
Preparing to unpack .../gimp-data_2.9.5~111-0x0~ppa~85aab2a_all.deb ...
Unpacking gimp-data (2.9.5~111-0x0~ppa~85aab2a) over (2.9.5~109-0x4~ppa~fcc52da) ...
Preparing to unpack .../libgegl-0.3-0_1%3a0.3.19~3-0x0~ppa~5db8928_amd64.deb ...
Unpacking libgegl-0.3-0:amd64 (1:0.3.19~3-0x0~ppa~5db8928) over (1:0.3.19~1-0x4~ppa~7260ef9) ...
Preparing to unpack .../libgimp2.0_2.9.5~111-0x0~ppa~85aab2a_amd64.deb ...
Unpacking libgimp2.0 (2.9.5~111-0x0~ppa~85aab2a) over (2.9.5~109-0x4~ppa~fcc52da) ...
Preparing to unpack .../libmypaint_1.4.0~3-0x0~ppa~c196a86_amd64.deb ...
Unpacking libmypaint (1.4.0~3-0x0~ppa~c196a86) over (1.4.0~1-0x0~ppa~4213d8c) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Error in `/usr/share/doc-base/libmypaint', line 20: all `Format' sections are invalid.
Note: `install-docs --verbose --check file_name' may give more details about the above error.
Registering documents with scrollkeeper...
Setting up libtasn1-6:amd64 (4.7-3ubuntu0.16.04.2) ...
Setting up libtasn1-6:i386 (4.7-3ubuntu0.16.04.2) ...
Setting up libgegl-0.3-0:amd64 (1:0.3.19~3-0x0~ppa~5db8928) ...
Setting up libgimp2.0 (2.9.5~111-0x0~ppa~85aab2a) ...
Setting up gimp-data (2.9.5~111-0x0~ppa~85aab2a) ...
Setting up libmypaint (1.4.0~3-0x0~ppa~c196a86) ...
Setting up gimp (2.9.5~111-0x0~ppa~85aab2a) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
navin@linux:~$
-----------------------------------------------------------------------------------------------------------------
This is the information required.
Thanks.

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

OK.
The only error message that I see comes from a PPA, but it should not cause a runtime error.

What is the output of

dpkg -l | grep ' linux-'

Revision history for this message
Navin Talati (n-m-talati) said :
#16

The OUTPUT of -----> dpkg -l | grep ' linux-'
------------------------------------------------------------------------------------------------------
navin@linux:~$ dpkg -l | grep ' linux-'
ii linux-base 4.0ubuntu1 all Linux image base package
ii linux-firmware 1.157.10 all Firmware for Linux kernel drivers
ii linux-generic 4.4.0.78.84 amd64 Complete Generic Linux kernel and headers
ii linux-headers-4.4.0-22 4.4.0-22.40 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-77 4.4.0-77.98 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-77-generic 4.4.0-77.98 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-78 4.4.0-78.99 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-78-generic 4.4.0-78.99 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-generic 4.4.0.78.84 amd64 Generic Linux kernel headers
ii linux-image-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-77-generic 4.4.0-77.98 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-78-generic 4.4.0-78.99 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-77-generic 4.4.0-77.98 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-78-generic 4.4.0-78.99 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 4.4.0.78.84 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 4.4.0-78.99 amd64 Linux Kernel Headers for development
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
navin@linux:~$
---------------------------------------------------------------------------------------------------------------------

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

The 4.4.0-78-generic version of the kernel seems to be correctly installed.
I do not understand why your system is still using the old and outdated one.
Do you select specific options from the grub menu when booting?

What is the output of the command
sudo update-grub

Revision history for this message
Navin Talati (n-m-talati) said :
#18

The OUTPUT of the command fpr updating the grub is s under:
-------------------------------------------------------------------------------------------------
navin@linux:~$ sudo update-grub
[sudo] password for navin:
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-78-generic
Found initrd image: /boot/initrd.img-4.4.0-78-generic
Found linux image: /boot/vmlinuz-4.4.0-77-generic
Found initrd image: /boot/initrd.img-4.4.0-77-generic
Found linux image: /boot/vmlinuz-4.4.0-45-generic
Found initrd image: /boot/initrd.img-4.4.0-45-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
navin@linux:~$
---------------------------------------------------------------------------------------------------

NOTE (For your kind information)

I am normally using Ubuntu. For convenience of other users, I keep Windows versions XP and 7. out of these, XP is rarely used and some of my applications are well set in that, so it is not disturbed.

Win-7 is more used - next to Ubuntu 16.04.

I have TWO hdd each of 1 Tb for huge data storage. To keep these data undisturbed, I have not removed their initial O.S. (Win.XP and Ubuntu 15.10) and left them as such on my data hdd by compromising little space of about 50 Gb occupied by each O.S.

I have kept Win-7 (32 bit) on a separate 160 Gb hdd, but as the same hdd is expected to be little disturbed, I have installed Win-7 (64 bit) on another 250 Gb hdd and after its completion and properly settings (of this OS), I shell transfer all required data from 160Gb hdd and shell remove from the system.

Ubuntu 16.04 LTS is also on a separate hdd of 250 Gb.

So finally my system will be consisting of :
1. 250 Gb. Hdd for Ubuntu (presently it is 16.04 LTS)
2. 250 Gb Hdd for Win-7 (64 bit)
3. 1 Tb Hdd Data drive with residual Ubuntu 15.10 as stated earlier.
4. 1 Tb Hdd Data drive with residual Win-XP as stated earlier.
5. Optical Disc Drive

So mainly O.S. bearing HDDs are separate from Data Hdd for a safety purpose.

I keep Ubuntu latest version Hdd as FIRST bootable, and from the grub select the other OS as and when desired.

Since the disturbance of kernel loading issue, the New 250 Gb Win-7 hdd is not displayed in the Magenta colour Grub Screen in the Ubuntu 16.06 booting. Same is the thing if I boot through 15.10.
Actually it should be displayed. In both the cases, after starting the OS, we can get all the HDDs mounted and accessible but not on the grub screen. So I am unable to select Win-7 (64 bit)-250Gb hdd from any of the installed Ubuntu versions.

This is the BRIEF of my system hardware and my purpose.

If somehow I get the solution of the captioned issue of loading the kernel, i can normalise the system as per my desire mentioned above. So your help is very personally and sincerely requested.

Thanks in anticipation.

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

1. If you reboot into Ubuntu and then issue the command
uname -a
what version of the kernel is shown?

2. Is Windows 7 already installed on the new 250 GB hdd?
The output of the update-grub command shows that are Windows 7 Installations on sdb1 and on sde1, and XP on sdd1.
They should also be selectable from the grub menu.

In Ubuntu, what output do you get for the commands
sudo fdisk -l
sudo lsblk

Revision history for this message
Navin Talati (n-m-talati) said :
#20

1. It shows the version 4.4.0.22 as under:
----------------------------------------------------------------------------------
navin@linux:~$ uname -a
Linux linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
navin@linux:~$
----------------------------------------------------------------------------------

2. Yes Sir, Win-7 is already installede on a New 250 GB hdd.

Right now Hard Drives and Optical Drive are connected on the motherboard 's SATA ports in following order

SATA-1 --> 250 GB hdd (Ubuntu 16.04)
SATA-2 --> 250 GB hdd (Win-7) -New
SATA-3 --> ODD [HL-DT-ST DVDRAM GH]
SATA-4 --> 1 TB hdd (old Ubuntu 15.10) - Old
SATA-5 --> 1 TB hdd (old Win-XP) Old
SATA-6 --> 160 GB hdd (Win-7)-Old (this is to be removed after completing the settings of New Win-7 OS)

Out of all these, the Newly Installed WIN-7 (SATA-2 --> 250 GB hdd (Win-7) -New) is not appearing in the grub menu and hence it remains Unselected through the grub menu.

3. the output of "sudo fdisk -l' & "sudo lsblk' are as under

------------------------OUTPUT of "sudo fdisk -l" ----------------------------------
navin@linux:~$ sudo fdisk -l
[sudo] password for navin:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 78.4 MiB, 82153472 bytes, 160456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 79.5 MiB, 83349504 bytes, 162792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 190.7 MiB, 199921664 bytes, 390472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5a04941a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 5859327 5857280 2.8G 83 Linux
/dev/sda2 5859328 201170943 195311616 93.1G 83 Linux
/dev/sda3 201170944 224608255 23437312 11.2G 82 Linux swap / Solaris
/dev/sda4 224610302 488396799 263786498 125.8G 5 Extended
/dev/sda5 224610304 488396799 263786496 125.8G 83 Linux

Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb146d0a1

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 488394751 488187904 232.8G 7 HPFS/NTFS/exFAT

Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000333ba

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 5855231 5853184 2.8G 83 Linux
/dev/sdc2 97652734 1953503999 1855851266 885G f W95 Ext'd (LBA)
/dev/sdc3 5855232 74215423 68360192 32.6G 83 Linux
/dev/sdc4 74215424 97650687 23435264 11.2G 82 Linux swap / Solaris
/dev/sdc5 409593303 1228795784 819202482 390.6G 7 HPFS/NTFS/exFAT
/dev/sdc6 1228795848 1953503999 724708152 345.6G 7 HPFS/NTFS/exFAT
/dev/sdc7 97652736 409591807 311939072 148.8G 7 HPFS/NTFS/exFAT

Partition table entries are not in disk order.

Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x9e309e30

Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 63 512007614 512007552 244.1G 7 HPFS/NTFS/exFAT
/dev/sdd2 512007615 1953503999 1441496385 687.4G f W95 Ext'd (LBA)
/dev/sdd5 512007678 1843201709 1331194032 634.8G 7 HPFS/NTFS/exFAT
/dev/sdd6 1843201773 1953503999 110302227 52.6G 7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 5 does not start on physical sector boundary.
Partition 6 does not start on physical sector boundary.

Disk /dev/sde: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x12131212

Device Boot Start End Sectors Size Id Type
/dev/sde1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sde2 206848 206645247 206438400 98.4G 7 HPFS/NTFS/exFAT
/dev/sde3 206645248 312578047 105932800 50.5G 7 HPFS/NTFS/exFAT
navin@linux:~$
---------------------------------------------------------------------------------

and
------------------------ OUTPUT of "sudo lsblk" -----------------------
navin@linux:~$ sudo lsblk
[sudo] password for navin:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 2.8G 0 part /mnt/7611f767-d1da-4f1e-b831-db2c612c6f47
├─sda2 8:2 0 93.1G 0 part /
├─sda3 8:3 0 11.2G 0 part [SWAP]
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 125.8G 0 part /home
sdb 8:16 0 232.9G 0 disk
├─sdb1 8:17 0 100M 0 part
└─sdb2 8:18 0 232.8G 0 part
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 2.8G 0 part /mnt/38cc5c6b-e46c-4365-a7e3-89c65638d279
├─sdc2 8:34 0 1K 0 part
├─sdc3 8:35 0 32.6G 0 part
├─sdc4 8:36 0 11.2G 0 part
├─sdc5 8:37 0 390.6G 0 part
├─sdc6 8:38 0 345.6G 0 part
└─sdc7 8:39 0 148.8G 0 part
sdd 8:48 0 931.5G 0 disk
├─sdd1 8:49 0 244.1G 0 part
├─sdd2 8:50 0 1K 0 part
├─sdd5 8:53 0 634.8G 0 part
└─sdd6 8:54 0 52.6G 0 part
sde 8:64 0 149.1G 0 disk
├─sde1 8:65 0 100M 0 part
├─sde2 8:66 0 98.4G 0 part
└─sde3 8:67 0 50.5G 0 part
sr0 11:0 1 1024M 0 rom
loop0 7:0 0 4K 0 loop /snap/anbox-installer/10
loop1 7:1 0 4K 0 loop /snap/anbox-installer/12
loop2 7:2 0 78.4M 0 loop /snap/core/1577
loop3 7:3 0 79.5M 0 loop /snap/core/1689
loop4 7:4 0 4K 0 loop /snap/anbox-installer/11
loop5 7:5 0 190.7M 0 loop /snap/kicad-snap/2
navin@linux:~$
-----------------------------------------------------------------------------------

I assume that if the old kernel version could be replaced by a latest one, the issue may get solved. (of-course, my conclusion may be wrong due to sever limitation of the Linux knowledge !)

I really highly appreciate your continuous help.

Thanks in anticipation.

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

Your output is somewhat contradictory:

update-grub shows that the following kernels are installed:
4.4.0-78-generic
4.4.0-77-generic
4.4.0-45-generic
but uname -a shows that you booted
4.4.0-22-generic

I assume that the BIOS boots from a different disk than the one which is updated by grub.
What are the boot priority settings from BIOS?

I suggest that you run the bootinfo script and upload the results to pastebin.

Revision history for this message
Navin Talati (n-m-talati) said :
#22

I shell check once again the BIOS setting and let you know the detail.
Meanwhile i request you to send me a command line to run the bootinfo script in a terminal so that I can upload the results.

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Can't you do some basic web search yourself?

https://help.ubuntu.com/community/Boot-Info

Revision history for this message
Navin Talati (n-m-talati) said :
#24

Thank you Sir.
Actually I had gone through the page you referred, but I could not conclude that this is the solution, so I submit a request as per #22. I shell update the resultant outcome of the operation.

Mean while let me submit you the feedback for BIOS information and Trial with other HDDs I did.

(1). BIOS

The BIOS Set up is for M4A88T-M Asus Motherboard. I checked that there is no scope of retaining even temporary memory something about “Boot-menu” appearing on the magenta screen of Ubuntu. I checked
(i) Boot Device Priority and (ii) Hard Disk Drives availability/displaying under the “BOOT” in the bios.
The First Drive selected under “ Hard Disk Drives” occupies its preferred place as 1 st Boot Device under
“Boot Device Priority”. Here we can select which hdd is to be made bootable. And from that the system will boot. Hence the possibility of “...BIOS boots from a different disk..” is not there. I also discussed this point with some of my friends having professional expertise in computer hardware. So the conclusion is that the bios boots from the hdd which is made First Drive in Boot Device Priority. Here in our case it is the 250 GB HDD with Ubuntu 16.04.

(2). Trial with other HDDs I did:

(a). I kept only 250 GB HDD with Ubuntu 16.04 and detached all others. Made this bootable (also automatically it becomes, as it is the only one hdd therein). From Ubuntu 16.04, I upgraded the grub through Terminal and restarted the system couple of times but the Boot-menu is not changing/upgrading and remains as such an old one showing all WinXP, Win-7, Ub.15.10 etc. though these hdds are not there at all.

(b) I kept only 1TB HDD with old Ubuntu 15.10 and detached remaining all. Carried out the same operation as in (a) and found that grub is updating.

Then gradually one by one added/connected all the remaining HDDs in the following sequence (keeping 1TB HDD with old Ubuntu 15.10 as bootable every time)
250 GB hdd (Win-7) -New Installation
160 GB hdd (Win-7)-Old (which I wants to remove later on after completion of settings)
1 TB hdd (old Win-XP) Old
250 GB hdd (Ubuntu 16.04) – New installation
and at every stage of addition, Grub was updated and the Boot-menu was appearing upgraded as per the added HDDs and the concerned OS appearing to selectable and was operating as normal.

Only the drawback appeared in starting Ubuntu 16.04 through Ubuntu 15.10 was regarding the Screen Resolution which was highest1280X1024 (5:4 ratio) and no higher resolution value was available. And also while booting, the usual message of ....[ FAILED] Failed to start load kernel Modules .. etc...etc... was appearing.

Conclusion;
Thus, (1) & (2) implies that the issue is with 250 GB hdd (Ubuntu 16.04) installation and that is to be repaired, possibly through the procedure described in https://help.ubuntu.com/community/Boot-Info.
as per #23.

I understand that for safety purpose the detachment of all other HDDs is advisable to and while repairing 250 GB hdd (Ubuntu 16.04) for and through Boot-info as described in the above link.

Thanks in anticipation.

Revision history for this message
Manfred Hampl (m-hampl) said :
#25

"(a). I kept only 250 GB HDD with Ubuntu 16.04 and detached all others. Made this bootable (also automatically it becomes, as it is the only one hdd therein). From Ubuntu 16.04, I upgraded the grub through Terminal and restarted the system couple of times but the Boot-menu is not changing/upgrading and remains as such an old one showing all WinXP, Win-7, Ub.15.10 etc. though these hdds are not there at all."

This is strange. If the other operating systems are not present any more and you do an update-grub, then the other OSes must be removed. If this is not the case, then something is wrong in the setup of grub. I expect that the bootinfo script may shed a light in the cause of that, so please provide the output of the bootinfo script as already requested.

(Remark: What I request is just the boot-info diagnostic information script. I am not talking about any modification by boot-repair etc.)

Revision history for this message
Launchpad Janitor (janitor) said :
#26

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Navin Talati (n-m-talati) said :
#27

Sir,
Due to my health issues, I was out of station and could not continue the communication.
I shell provide the information requested in due course. Please bear with me.

Revision history for this message
Navin Talati (n-m-talati) said :
#28

I have used the Standard Method.

1. All the other HDDs were disconnected except on with Ubuntu 16.04

2.Grub was upgraded but it shows the same unchanged.

3.Computer was booted on Ubuntu 16.04 Installation DVD (the prevailing installation was done through this DVD while 16.04 LTS was launched). ---> "Try Ubuntu" -----> Terminal opened (Ctrl+Alt+T)

4.Following commands were applied one after the other (i.e. after completion of process of 1 st command, 2 nd was applied)

      1 st: sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

       2 nd: sudo apt-get install -y boot-info && boot-info

5."Boot-Info" window appeared. ----> Clicked on "Online Report"

6. A Boot-Info window appeared with following instruction instead of indicating an URL

A new file (~/Boot-Info_2017-06-30__14h09.txt) will open in your text viewer.

If you are experiencing boot issues, indicate the content of this file to people who help you. For example on forums or via email.

7. A separate "Boot-Info_2017-06-30__13h42.txt" file appeared. As there is no URL link, I am adding the content hereunder:

------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------
 Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]

============================= Boot Info Summary: ===============================

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/grub. It also embeds following components:

    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files: /grub/grub.cfg /grub/i386-pc/core.img

sda2: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 16.04.2 LTS
    Boot files: /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

sda4: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: -
    Boot sector info:

sda5: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 5,859,327 5,857,280 83 Linux
/dev/sda2 5,859,328 201,170,943 195,311,616 83 Linux
/dev/sda3 201,170,944 224,608,255 23,437,312 82 Linux swap / Solaris
/dev/sda4 224,610,302 488,396,799 263,786,498 5 Extended
/dev/sda5 224,610,304 488,396,799 263,786,496 83 Linux

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 7611f767-d1da-4f1e-b831-db2c612c6f47 ext4
/dev/sda2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ext4
/dev/sda3 cb67db02-51fa-415d-8b11-0eb1407f58bd swap
/dev/sda5 2db6576f-1ae7-4d80-bc37-3b171ceff63b ext4
/dev/sr0 2016-04-20-22-29-52-00 iso9660 Ubuntu 16.04 LTS amd64

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root 9 Jun 30 13:29 ata-HL-DT-ST_DVDRAM_GH22NS50_K00ACRF2215 -> ../../sr0
lrwxrwxrwx 1 root root 9 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF -> ../../sda
lrwxrwxrwx 1 root root 10 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 30 13:42 ata-ST3250823NS_9ND0DSQF-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jun 30 13:29 wwn-0x5001480000000000 -> ../../sr0

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)

============================= sda1/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
else
  search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_IN
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
 else
   search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
 fi
 linux /vmlinuz-4.4.0-22-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
 initrd /initrd.img-4.4.0-22-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
 menuentry 'Ubuntu, with Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-22-generic ...'
  linux /vmlinuz-4.4.0-22-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-22-generic ...'
  linux /vmlinuz-4.4.0-22-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-22-generic ...'
  linux /vmlinuz-4.4.0-22-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-21-generic ...'
  linux /vmlinuz-4.4.0-21-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-21-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-21-generic ...'
  linux /vmlinuz-4.4.0-21-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-21-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
  else
    search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
  fi
  echo 'Loading Linux 4.4.0-21-generic ...'
  linux /vmlinuz-4.4.0-21-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /initrd.img-4.4.0-21-generic
 }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
 else
   search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
 fi
 knetbsd /memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 7611f767-d1da-4f1e-b831-db2c612c6f47
 else
   search --no-floppy --fs-uuid --set=root 7611f767-d1da-4f1e-b831-db2c612c6f47
 fi
 linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-E0D495A8D4958208' {
 insmod part_msdos
 insmod ntfs
 set root='hd1,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 E0D495A8D4958208
 else
   search --no-floppy --fs-uuid --set=root E0D495A8D4958208
 fi
 parttool ${root} hidden-
 chainloader +1
}
menuentry '1TB S-ATA Microsoft Windows XP Professional (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-62D0F4F3D0F4CE73' {
 insmod part_msdos
 insmod ntfs
 set root='hd2,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 62D0F4F3D0F4CE73
 else
   search --no-floppy --fs-uuid --set=root 62D0F4F3D0F4CE73
 fi
 parttool ${root} hidden-
 drivemap -s (hd0) ${root}
 chainloader +1
}
menuentry 'Ubuntu 15.10 (15.10) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-14359231-b8f9-4ea6-a7de-d1945f57808f' {
 insmod part_msdos
 insmod ext2
 set root='hd3,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
 else
   search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
 fi
 linux /vmlinuz-4.2.0-36-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
 initrd /initrd.img-4.2.0-36-generic
}
submenu 'Advanced options for Ubuntu 15.10 (15.10) (on /dev/sdd3)' $menuentry_id_option 'osprober-gnulinux-advanced-14359231-b8f9-4ea6-a7de-d1945f57808f' {
 menuentry 'Ubuntu (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-36-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-36-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-36-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-36-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-36-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-36-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-36-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-36-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-35-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-35-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-35-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-35-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-35-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-35-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-35-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-35-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-35-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-34-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-34-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-34-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-34-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-34-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-34-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-34-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-34-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-34-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-34-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-34-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-34-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-33-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-33-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-33-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-33-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-33-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-33-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-33-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-33-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-33-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-33-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-33-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-33-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-32-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-32-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-32-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-32-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-32-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-32-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-32-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-32-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-32-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-32-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-32-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-32-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-30-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-30-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-30-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-30-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-30-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-30-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-30-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-30-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-30-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-30-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-30-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-30-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-29-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-29-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-29-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-29-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-29-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-29-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-29-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-29-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-29-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-29-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-29-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-29-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-28-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-28-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-28-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-28-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-28-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-28-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-28-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-28-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-28-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-28-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-28-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-28-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-27-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-27-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-27-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-27-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-27-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-27-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-27-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-27-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-27-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-27-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-27-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-27-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-24-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-24-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-24-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-24-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-24-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-24-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-24-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-24-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-24-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-24-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-24-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-24-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-23-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-23-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-23-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-23-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-23-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-23-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-23-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-23-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-23-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-23-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-23-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-23-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-22-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-22-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-22-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-4.2.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-22-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-22-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-22-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-4.2.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-22-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.0-22-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-4.2.0-22-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-4.2.0-22-generic
 }
 menuentry 'Ubuntu, with Linux 3.19.0-42-generic (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-3.19.0-42-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu, with Linux 3.19.0-42-generic (upstart) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic--14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-3.19.0-42-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro quiet splash acp_osi+linux $vt_handoff init=/sbin/upstart
  initrd /initrd.img-3.19.0-42-generic
 }
 menuentry 'Ubuntu, with Linux 3.19.0-42-generic (recovery mode) (on /dev/sdd3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.19.0-42-generic-root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset-14359231-b8f9-4ea6-a7de-d1945f57808f' {
  insmod part_msdos
  insmod ext2
  set root='hd3,msdos1'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd3,msdos1 --hint-efi=hd3,msdos1 --hint-baremetal=ahci3,msdos1 38cc5c6b-e46c-4365-a7e3-89c65638d279
  else
    search --no-floppy --fs-uuid --set=root 38cc5c6b-e46c-4365-a7e3-89c65638d279
  fi
  linux /vmlinuz-3.19.0-42-generic root=UUID=14359231-b8f9-4ea6-a7de-d1945f57808f ro recovery nomodeset
  initrd /initrd.img-3.19.0-42-generic
 }
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an 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.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB File Fragment(s)

   0.145545959 = 0.156278784 grub/grub.cfg 1
   0.188583374 = 0.202489856 grub/i386-pc/core.img 1
   0.144226074 = 0.154861568 vmlinuz-4.4.0-21-generic 1
   0.042530060 = 0.045666304 vmlinuz-4.4.0-22-generic 1
   0.227535248 = 0.244314112 initrd.img-4.4.0-21-generic 2
   0.194877625 = 0.209248256 initrd.img-4.4.0-22-generic 2

=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
else
  search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_IN
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 45,51,53; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos2'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
 else
   search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
 fi
        linux /boot/vmlinuz-4.4.0-83-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
 initrd /boot/initrd.img-4.4.0-83-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
 menuentry 'Ubuntu, with Linux 4.4.0-83-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-83-generic ...'
         linux /boot/vmlinuz-4.4.0-83-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-83-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-83-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-83-generic ...'
         linux /boot/vmlinuz-4.4.0-83-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-83-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-83-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-83-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-83-generic ...'
         linux /boot/vmlinuz-4.4.0-83-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-83-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-79-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-79-generic ...'
         linux /boot/vmlinuz-4.4.0-79-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-79-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-79-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-79-generic ...'
         linux /boot/vmlinuz-4.4.0-79-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-79-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-79-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-79-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-79-generic ...'
         linux /boot/vmlinuz-4.4.0-79-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-79-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-78-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-78-generic ...'
         linux /boot/vmlinuz-4.4.0-78-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-78-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-78-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-78-generic ...'
         linux /boot/vmlinuz-4.4.0-78-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-78-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-78-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-78-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-78-generic ...'
         linux /boot/vmlinuz-4.4.0-78-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-78-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-77-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-77-generic ...'
         linux /boot/vmlinuz-4.4.0-77-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-77-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-77-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-77-generic ...'
         linux /boot/vmlinuz-4.4.0-77-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-77-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-77-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-77-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-77-generic ...'
         linux /boot/vmlinuz-4.4.0-77-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-77-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-advanced-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-45-generic ...'
         linux /boot/vmlinuz-4.4.0-45-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-45-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-45-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-init-upstart-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-45-generic ...'
         linux /boot/vmlinuz-4.4.0-45-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-45-generic
 }
 menuentry 'Ubuntu, with Linux 4.4.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-45-generic-recovery-34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos2'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  else
    search --no-floppy --fs-uuid --set=root 34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d
  fi
  echo 'Loading Linux 4.4.0-45-generic ...'
         linux /boot/vmlinuz-4.4.0-45-generic root=UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.4.0-45-generic
 }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an 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.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
# /home was on /dev/sda5 during installation
UUID=2db6576f-1ae7-4d80-bc37-3b171ceff63b /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=cb67db02-51fa-415d-8b11-0eb1407f58bd none swap sw 0 0
/dev/disk/by-uuid/7611f767-d1da-4f1e-b831-db2c612c6f47 /mnt/7611f767-d1da-4f1e-b831-db2c612c6f47 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/38cc5c6b-e46c-4365-a7e3-89c65638d279 /mnt/38cc5c6b-e46c-4365-a7e3-89c65638d279 auto nosuid,nodev,nofail,x-gvfs-show 0 0
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB File Fragment(s)

  59.596973419 = 63.991762944 boot/grub/grub.cfg 1
   9.491859436 = 10.191806464 boot/vmlinuz-4.4.0-45-generic 1
  16.722385406 = 17.955524608 boot/vmlinuz-4.4.0-77-generic 1
  21.706741333 = 23.307436032 boot/vmlinuz-4.4.0-78-generic 1
   3.973419189 = 4.266426368 boot/vmlinuz-4.4.0-79-generic 1
   7.076854706 = 7.598714880 boot/vmlinuz-4.4.0-83-generic 1
   7.076854706 = 7.598714880 vmlinuz 1
   3.973419189 = 4.266426368 vmlinuz.old 1
   6.391803741 = 6.863147008 boot/initrd.img-4.4.0-22-generic 2
   6.387474060 = 6.858498048 boot/initrd.img-4.4.0-45-generic 2
   6.382698059 = 6.853369856 boot/initrd.img-4.4.0-77-generic 2
   6.250102997 = 6.710996992 boot/initrd.img-4.4.0-78-generic 4
   6.278312683 = 6.741286912 boot/initrd.img-4.4.0-79-generic 3
   7.322204590 = 7.862157312 boot/initrd.img-4.4.0-83-generic 4
   7.322204590 = 7.862157312 initrd.img 4
   6.278312683 = 6.741286912 initrd.img.old 3

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/7222/mounts) leaked on lvs invocation. Parent PID 13992: bash
File descriptor 63 (pipe:[86406]) leaked on lvs invocation. Parent PID 13992: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 2017-06-30__13h42 ===================
boot-info version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
boot-info is executed in live-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda2:Ubuntu 16.04.2 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda1: UUID="7611f767-d1da-4f1e-b831-db2c612c6f47" TYPE="ext4" PARTUUID="5a04941a-01"
/dev/sda2: UUID="34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d" TYPE="ext4" PARTUUID="5a04941a-02"
/dev/sda5: UUID="2db6576f-1ae7-4d80-bc37-3b171ceff63b" TYPE="ext4" PARTUUID="5a04941a-05"
/dev/sr0: UUID="2016-04-20-22-29-52-00" LABEL="Ubuntu 16.04 LTS amd64" TYPE="iso9660" PTUUID="0e0e8e70" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="cb67db02-51fa-415d-8b11-0eb1407f58bd" TYPE="swap" PARTUUID="5a04941a-03"

1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.

=================== sda1recordfail=1/grub/grubenv :
recordfail=1

=================== sda2/etc/grub.d/ :
drwxr-xr-x 2 root root 4096 Jun 29 03:56 grub.d
drwxr-xr-x 2 root root 4096 Jun 3 15:21 grub.d.bak
total 76
-rwxr-xr-x 1 root root 9791 Mar 24 06:32 00_header
-rwxr-xr-x 1 root root 6258 Mar 15 2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar 24 06:32 10_linux
-rwxr-xr-x 1 root root 11082 Mar 24 06:32 20_linux_xen
-rwxr-xr-x 1 root root 11692 Mar 24 06:32 30_os-prober
-rwxr-xr-x 1 root root 1418 Mar 24 06:32 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Mar 24 06:32 40_custom
-rwxr-xr-x 1 root root 216 Mar 24 06:32 41_custom
-rw-r--r-- 1 root root 483 Mar 24 06:32 README

=================== sda2/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.

=================== PARTITIONS & DISKS:
sda1 : sda, is-sepboot, grubenv-ng nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, /mnt/boot-sav/sda2.
sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.

sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes

=================== parted -l:

Model: ATA ST3250823NS (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 3000MB 2999MB primary ext4 boot
2 3000MB 103GB 100GB primary ext4
3 103GB 115GB 12.0GB primary linux-swap(v1)
4 115GB 250GB 135GB extended
5 115GB 250GB 135GB logical ext4

Model: HL-DT-ST DVDRAM GH22NS50 (scsi)
Disk /dev/sr0: 1486MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 1479MB 1481MB 2425kB EFI

=================== parted -lm:

BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA ST3250823NS:;
1:1049kB:3000MB:2999MB:ext4::boot;
2:3000MB:103GB:100GB:ext4::;
3:103GB:115GB:12.0GB:linux-swap(v1)::;
4:115GB:250GB:135GB:::;
5:115GB:250GB:135GB:ext4::;

BYT;
/dev/sr0:1486MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GH22NS50:;
1:2048B:6143B:4096B::Apple:;
2:1479MB:1481MB:2425kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sda disk 232.9G
sda1 part ext4 2.8G
sda2 part ext4 93.1G
sda3 part swap 11.2G
sda4 part 1K
sda5 part ext4 125.8G
sr0 rom iso9660 1.4G Ubuntu 16.04 LTS amd64
loop0 loop squashfs 1.3G

KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /mnt/boot-sav/sda2
sda3 1 0 0 [SWAP]
sda4 1 0 0
sda5 1 0 0 /mnt/boot-sav/sda5
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs

=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4039304k,nr_inodes=1009826,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=817388k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=817388k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw,relatime,data=ordered)

=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper: control

=================== df -Th:

Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 799M 9.5M 789M 2% /run
/dev/sr0 iso9660 1.4G 1.4G 0 100% /cdrom
/dev/loop0 squashfs 1.4G 1.4G 0 100% /rofs
/cow overlay 3.9G 119M 3.8G 3% /
tmpfs tmpfs 3.9G 348K 3.9G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 32K 3.9G 1% /tmp
tmpfs tmpfs 799M 60K 799M 1% /run/user/999
/dev/sda1 ext4 2.7G 104M 2.5G 5% /mnt/boot-sav/sda1
/dev/sda2 ext4 92G 14G 74G 16% /mnt/boot-sav/sda2
/dev/sda5 ext4 124G 5.9G 112G 5% /mnt/boot-sav/sda5

=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5a04941a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 5859327 5857280 2.8G 83 Linux
/dev/sda2 5859328 201170943 195311616 93.1G 83 Linux
/dev/sda3 201170944 224608255 23437312 11.2G 82 Linux swap / Solaris
/dev/sda4 224610302 488396799 263786498 125.8G 5 Extended
/dev/sda5 224610304 488396799 263786496 125.8G 83 Linux

=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda2 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s

=================== User settings
The settings chosen by the user will not act on the boot.

------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------

 Please guide further and oblige.
THANKS in anticipation
Navin Talati /30-06-2017

Revision history for this message
Manfred Hampl (m-hampl) said :
#29

I think I see the cause:

There is a /dev/sda1 partition that once was defined as being the /boot directory for a Ubuntu installation. This one seems to be used when booting the computer from /dev/sda
Your current Ubuntu installation on /dev/sda2, however, has its /boot directory inside its own /dev/sda2 partition. Hence any attempt to update the grub configuration from inside the Ubuntu system on /dev/sda2 does not touch the settings on /dev/sda1

Can you remember that you tried to get rid of the extra /boot partition, or removed a line from /etc/fstab something like that?

Revision history for this message
Navin Talati (n-m-talati) said :
#30

Thank you for the quick and effective response.

1. As such I do not remember that I have tried to get ride of the extra/boot partition or removed any line or content from /etc/fstab or made any efforts to alter anything. As my technical knowledge is so poor that I may not dare such activities. If something like this is happened in normal course of commanding, I do not know.

2.When the UBUNTU 16.04 was launched, at that time it was downloaded and installed. It is the same installation. Nothing is modified or changed except routine updating and upgrading through Terminal or Software Updater.

3.During installation, partitioning was done as under:

Partition 1 /dev/sda1 ---> 3 GB /boot Ext4
Partition 2 /dev/sda2 --->100 GB / Ext4
Partition 3 /dev/sda3 ---> 12GB Swap
Partition 4 /dev/sda4 ---->135GB /home Extended partition (/dev/sda5)

4.Using “Disks” application (which manages devices and media), I have extracted the following detail regarding Files and Folders

In /dev/sda1 ----> There are 2 Folders (“grub” and “lost+found”)
        There are other 13 Files.
In /dev/sda2 ---->There are 23 Folders
   (bin, boot, cdrom, dev, etc, home, lib, lib32, lib64, lost+found, media, mnt, opt, proc, root, run, sbin, snap, srv, sys, tmp, usr, var)
       (The “boot” folder contains “grub” and “grub.back” folders in it)

       There are 4 Files ( intrid.img, intrid.img.old, vmlinuz, vmlinuz.old )

Remaining are “Swap” and the “/home” (which contains some data files and folders).

I am giving this information so as it may throw some light on the situation (probably !)

Now how to touch the settings on /dev/sda1 while attempting to update the grub configuration from inside the Ubuntu system on /dev/sda2?
OR
Any other way to RE-SET this system as usual & normal.

Thanks.
Navin talati /01-07-2017

Revision history for this message
Manfred Hampl (m-hampl) said :
#31

I assume that you have the choice between
1. use the /dev/sda1 partition for the files that grub needs for booting
or
2. Ignore that /dev/sda1 partition, use the /boot directory of your /dev/sda2 Ubuntu installation and reconfigure the bootloader accordingly.

option 1 needs that you reactivate /dev/sda1 as your /boot directory (by adding a related line into /etc/fstab and mounting it), and an "sudo update-grub" afterwards.
option 2 probably needs "sudo grub-install /dev/sda"

You have the choice.

Revision history for this message
Navin Talati (n-m-talati) said :
#32

I prefer to use the /dev/sda1 partition for the files that grub needs for booting as I have kept it a separate 3BG "/boot" partition.

I would like to have your guidance regarding how to Re-activate "/dev/sda1" as a /boot directory in my system.
(i.e. what line is to be added into /etc/fstab ? How ? and How to mount it?) - Please suggest a suitable command lines for this process.

Revision history for this message
Manfred Hampl (m-hampl) said :
#33

I assume that the required change is the following:

/etc/fstab currently contains

...
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
# /home was on /dev/sda5 during installation
UUID=2db6576f-1ae7-4d80-bc37-3b171ceff63b /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=cb67db02-51fa-415d-8b11-0eb1407f58bd none swap sw 0 0
/dev/disk/by-uuid/7611f767-d1da-4f1e-b831-db2c612c6f47 /mnt/7611f767-d1da-4f1e-b831-db2c612c6f47 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-uuid/38cc5c6b-e46c-4365-a7e3-89c65638d279 /mnt/38cc5c6b-e46c-4365-a7e3-89c65638d279 auto nosuid,nodev,nofail,x-gvfs-show 0 0

Edit this file (with a command like sido gedit /etc/fstab) and perform the following changes:
after the line that starts with "# /boot was on /dev/sda1 ..." insert the line
UUID=7611f767-d1da-4f1e-b831-db2c612c6f47 /boot ext4 defaults 0 2
Then scroll down five lines and delete the line "/dev/disk/by-uuid/7611f767-. .. ... x-gvfs-show 0 0"
save the file and close the editor.
The reboot and issue the command
mount
and provide the output that you get for that command.

Revision history for this message
Navin Talati (n-m-talati) said :
#34

Are following links useful for this?

https://help.ubuntu.com/community/BootPartition
https://help.ubuntu.com/community/CreateBootPartitionAfterInstall

I am confusing how actually and exactly do it?

Revision history for this message
Manfred Hampl (m-hampl) said :
#35

These links help if you want to create an extra boot partition, but that is not required in your case, because the boot partition is already there. Your problem is that it is not used by the /dev/sda2 Ubuntu installation, because of a missing (or wrong) entry in the /etc/fstab configuration file.

If you execute the command
mount
you will not see a line that ends with /boot.
This, however, is required to ensure that updating the grub files from inside your Ubuntu system correctly updates your boot partition.

Revision history for this message
Navin Talati (n-m-talati) said :
#36

As per the instructions in #33, the output of command "mount" is as under:
----------------------------------OUTPUT-------------------------------------------
navin@linux:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4034644k,nr_inodes=1008661,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=817388k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/var/lib/snapd/snaps/anbox-installer_12.snap on /snap/anbox-installer/12 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/anbox-installer_11.snap on /snap/anbox-installer/11 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/anbox-installer_17.snap on /snap/anbox-installer/17 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/kicad-snap_2.snap on /snap/kicad-snap/2 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_1689.snap on /snap/core/1689 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_1577.snap on /snap/core/1577 type squashfs (ro,relatime)
/var/lib/snapd/snaps/core_2312.snap on /snap/core/2312 type squashfs (ro,nodev,relatime)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/122 type tmpfs (rw,nosuid,nodev,relatime,size=817388k,mode=700,uid=122,gid=131)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=817388k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
navin@linux:~$
---------------------------------------------------------------------------------------------------

Revision history for this message
Navin Talati (n-m-talati) said :
#37

While executing instruction in #33, the only HDD (250 GB) with Ubuntu 16.04 was kept and all others were disconnected.
After this operations in #36, I restarted the system.
Then in Terminal applied the following commands:
"sudo update-grub"
"sudo apt-get update"
"sudo apt-get upgrade"
Restarted the system. Following new happenings appeared
1. Ash coloured (gnome Ubuntu type) screen having little small size area appeared for a while and disappeared.
2.Magenta coloured "boot-manu" did not appeared but directly "Log in" screen appeared.

Revision history for this message
Manfred Hampl (m-hampl) said :
#38

Can you log in successfully?
If yes - what is the output of "uname -a"
if no - what exactly is shown?

Revision history for this message
Navin Talati (n-m-talati) said :
#39

1.
After the observation of #37, I reconnected all the HDDs and made the Ubuntu 16.04 containing HDD bootable.
Once in Ubuntu, Opened the Terminal and updated the grub. Then Updated and Upgraded.
Restarted the system , a "boot-menu" appeared as normal with all the optiions of added HDDs.
Its heading remains as:
"GNU GRUB version 2.02~beta2-36ubuntu3"
This boot-menu screen is of ash/grey colour and not the megenta.
I think this colour difference might be due to GUI of gnome and unity.

2.
Reply to #38
Yes, I can login successfully and can do the work as usual and in normal way.
The OUTPUT of "uname -a" is as under:
------------------------------------------------------------------------------------------------------
navin@linux:~$ uname -a
Linux linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
navin@linux:~$
-----------------------------------------------------------------------------------------------------

What further correction is required to put the OS/System at its normal mode?

Revision history for this message
Manfred Hampl (m-hampl) said :
#40

The version of the kernel (4.4.0-22-generic) still seems not to be correct.

Please provide the full output that you receive for the commands

sudo apt-get update
sudo apt-get dist-upgrade
sudo update-grub
sudo debconf-show grub-pc

Revision history for this message
Navin Talati (n-m-talati) said :
#41

Sir,
Output of above (as per #40) FOUR commands is as under:

---------------------------------- FULL OUTPUT -----------------------------
navin@linux:~$ sudo apt-get update
[sudo] password for navin:
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial InRelease
Hit:3 http://dl.google.com/linux/earth/deb stable Release
Hit:4 http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/costales/folder-color/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/dawidd0811/neofetch/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/jconti/recent-notifications/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/libreoffice/libreoffice-5-3/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/mhsabbagh/greenproject/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial InRelease
Hit:14 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu xenial InRelease
Hit:15 http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu xenial InRelease
Hit:16 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu xenial InRelease
Hit:18 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Hit:19 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease
Hit:20 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:22 http://archive.canonical.com/ubuntu xenial InRelease
Get:23 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 306 kB in 7s (43.5 kB/s)
Reading package lists... Done
navin@linux:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  glade2script libmircommon5 libopenshot11 linux-headers-4.4.0-77
  linux-headers-4.4.0-77-generic linux-headers-4.4.0-78
  linux-headers-4.4.0-78-generic linux-image-4.4.0-77-generic
  linux-image-4.4.0-78-generic linux-image-extra-4.4.0-77-generic
  linux-image-extra-4.4.0-78-generic pastebinit
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  chromium-codecs-ffmpeg-extra folder-color folder-color-common
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,101 kB of archives.
After this operation, 58.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/costales/folder-color/ubuntu xenial/main amd64 folder-color-common all 0.0.81 [82.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 chromium-codecs-ffmpeg-extra amd64 59.0.3071.109-0ubuntu0.16.04.1289 [1,013 kB]
Get:3 http://ppa.launchpad.net/costales/folder-color/ubuntu xenial/main amd64 folder-color all 0.0.81 [5,400 B]
Fetched 1,101 kB in 1s (612 kB/s)
(Reading database ... 485028 files and directories currently installed.)
Preparing to unpack .../chromium-codecs-ffmpeg-extra_59.0.3071.109-0ubuntu0.16.04.1289_amd64.deb ...
Unpacking chromium-codecs-ffmpeg-extra (59.0.3071.109-0ubuntu0.16.04.1289) over (58.0.3029.110-0ubuntu0.16.04.1281) ...
Preparing to unpack .../folder-color-common_0.0.81_all.deb ...
Unpacking folder-color-common (0.0.81) over (0.0.80) ...
Preparing to unpack .../folder-color_0.0.81_all.deb ...
Unpacking folder-color (0.0.81) over (0.0.80) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up chromium-codecs-ffmpeg-extra (59.0.3071.109-0ubuntu0.16.04.1289) ...
Setting up folder-color-common (0.0.81) ...
Setting up folder-color (0.0.81) ...
navin@linux:~$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
navin@linux:~$ sudo debconf-show grub-pc
  grub-pc/postrm_purge_boot_grub: false
  grub2/device_map_regenerated:
  grub-pc/disk_description:
  grub-pc/timeout: 10
  grub-pc/install_devices_disks_changed:
  grub-pc/kopt_extracted: false
  grub2/linux_cmdline_default: quiet splash
  grub2/force_efi_extra_removable: false
  grub2/kfreebsd_cmdline_default: quiet splash
* grub-pc/install_devices_empty: true
  grub-pc/partition_description:
  grub-pc/mixed_legacy_and_grub2: true
  grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices:
  grub2/linux_cmdline:
  grub-pc/install_devices_failed_upgrade: true
  grub2/kfreebsd_cmdline:
  grub-pc/install_devices_failed: false
  grub-pc/hidden_timeout: true
navin@linux:~$
-----------------------------------END------------------------------------

Thanks for taking very keen interest in my problem and continuing helping.

Revision history for this message
Manfred Hampl (m-hampl) said :
#42

Your grub boot loader seems to be misconfigured.

For diagnostic purposes please provide the output of
sudo fdisk -l
mount
cat /etc/fstab
dpkg -l | grep ' linux-i'

Revision history for this message
Navin Talati (n-m-talati) said :
#43

The Full Output of the above FOUR commands in #42 is as under:

===================== OUTPUT ===================
navin@linux:~$ sudo fdisk -l
[sudo] password for navin:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/loop0: 78.4 MiB, 82153472 bytes, 160456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 79.5 MiB, 83349504 bytes, 162792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 190.7 MiB, 199921664 bytes, 390472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 79.5 MiB, 83349504 bytes, 162792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop6: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5a04941a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 5859327 5857280 2.8G 83 Linux
/dev/sda2 5859328 201170943 195311616 93.1G 83 Linux
/dev/sda3 201170944 224608255 23437312 11.2G 82 Linux swap / Solaris
/dev/sda4 224610302 488396799 263786498 125.8G 5 Extended
/dev/sda5 224610304 488396799 263786496 125.8G 83 Linux

Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb146d0a1

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 488394751 488187904 232.8G 7 HPFS/NTFS/exFAT

Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000333ba

Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 5855231 5853184 2.8G 83 Linux
/dev/sdc2 97652734 1953503999 1855851266 885G f W95 Ext'd (LBA)
/dev/sdc3 5855232 74215423 68360192 32.6G 83 Linux
/dev/sdc4 74215424 97650687 23435264 11.2G 82 Linux swap / Solaris
/dev/sdc5 409593303 1228795784 819202482 390.6G 7 HPFS/NTFS/exFAT
/dev/sdc6 1228795848 1953503999 724708152 345.6G 7 HPFS/NTFS/exFAT
/dev/sdc7 97652736 409591807 311939072 148.8G 7 HPFS/NTFS/exFAT

Partition table entries are not in disk order.

Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x9e309e30

Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 63 512007614 512007552 244.1G 7 HPFS/NTFS/exFAT
/dev/sdd2 512007615 1953503999 1441496385 687.4G f W95 Ext'd (LBA)
/dev/sdd5 512007678 1843201709 1331194032 634.8G 7 HPFS/NTFS/exFAT
/dev/sdd6 1843201773 1953503999 110302227 52.6G 7 HPFS/NTFS/exFAT

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 5 does not start on physical sector boundary.
Partition 6 does not start on physical sector boundary.

Disk /dev/sde: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x12131212

Device Boot Start End Sectors Size Id Type
/dev/sde1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sde2 206848 206645247 206438400 98.4G 7 HPFS/NTFS/exFAT
/dev/sde3 206645248 312578047 105932800 50.5G 7 HPFS/NTFS/exFAT
navin@linux:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4034644k,nr_inodes=1008661,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=817388k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/var/lib/snapd/snaps/anbox-installer_12.snap on /snap/anbox-installer/12 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/anbox-installer_17.snap on /snap/anbox-installer/17 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/anbox-installer_11.snap on /snap/anbox-installer/11 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/kicad-snap_2.snap on /snap/kicad-snap/2 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_1689.snap on /snap/core/1689 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_1577.snap on /snap/core/1577 type squashfs (ro,relatime)
/var/lib/snapd/snaps/core_2312.snap on /snap/core/2312 type squashfs (ro,nodev,relatime)
/dev/sdc1 on /mnt/38cc5c6b-e46c-4365-a7e3-89c65638d279 type ext4 (rw,nosuid,nodev,relatime,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /home type ext4 (rw,relatime,data=ordered)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/122 type tmpfs (rw,nosuid,nodev,relatime,size=817388k,mode=700,uid=122,gid=131)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=817388k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
navin@linux:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=34b2bdb8-c646-47ff-b57c-2f1e3c2ce94d / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=7611f767-d1da-4f1e-b831-db2c612c6f47 /boot ext4 defaults 0 2
# /home was on /dev/sda5 during installation
UUID=2db6576f-1ae7-4d80-bc37-3b171ceff63b /home ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=cb67db02-51fa-415d-8b11-0eb1407f58bd none swap sw 0 0
/dev/disk/by-uuid/38cc5c6b-e46c-4365-a7e3-89c65638d279 /mnt/38cc5c6b-e46c-4365-a7e3-89c65638d279 auto nosuid,nodev,nofail,x-gvfs-show 0 0
navin@linux:~$ dpkg -l | grep ' linux-i'
ii linux-image-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-77-generic 4.4.0-77.98 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-78-generic 4.4.0-78.99 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-79-generic 4.4.0-79.100 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-83-generic 4.4.0-83.106 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-45-generic 4.4.0-45.66 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-77-generic 4.4.0-77.98 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-78-generic 4.4.0-78.99 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-79-generic 4.4.0-79.100 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-83-generic 4.4.0-83.106 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 4.4.0.83.89 amd64 Generic Linux kernel image
navin@linux:~$
========================END===============================

Thanks and regards.

Revision history for this message
Manfred Hampl (m-hampl) said :
#44

Please provide the output of

ls -l /boot
sudo apt-get install --reinstall linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic
ls -l /boot

Revision history for this message
Navin Talati (n-m-talati) said :
#45

Output of THREE commands in #44 is as under:

=====================OUTPUT======================
navin@linux:~$ ls -l /boot
total 94788
-rw-r--r-- 1 root root 1239577 Apr 19 2016 abi-4.4.0-21-generic
-rw-r--r-- 1 root root 1239612 May 13 2016 abi-4.4.0-22-generic
-rw-r--r-- 1 root root 189412 Apr 19 2016 config-4.4.0-21-generic
-rw-r--r-- 1 root root 189520 May 13 2016 config-4.4.0-22-generic
drwxr-xr-x 5 root root 4096 Jul 5 12:41 grub
-rw-r--r-- 1 root root 35931447 May 17 2016 initrd.img-4.4.0-21-generic
-rw-r--r-- 1 root root 35932570 May 18 2016 initrd.img-4.4.0-22-generic
drwx------ 2 root root 16384 May 17 2016 lost+found
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
-rw------- 1 root root 3853719 Apr 19 2016 System.map-4.4.0-21-generic
-rw------- 1 root root 3855781 May 13 2016 System.map-4.4.0-22-generic
-rw-r--r-- 1 root root 7013984 May 17 2016 vmlinuz-4.4.0-21-generic
-rw------- 1 root root 7015440 May 13 2016 vmlinuz-4.4.0-22-generic
navin@linux:~$ sudo apt-get install --reinstall linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic
[sudo] password for navin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  glade2script libmircommon5 libopenshot11 linux-headers-4.4.0-77
  linux-headers-4.4.0-77-generic linux-headers-4.4.0-78
  linux-headers-4.4.0-78-generic linux-image-4.4.0-77-generic
  linux-image-4.4.0-78-generic linux-image-extra-4.4.0-77-generic
  linux-image-extra-4.4.0-78-generic pastebinit
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/57.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 485028 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-83-generic (4.4.0-83.106) over (4.4.0-83.106) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Preparing to unpack .../linux-image-extra-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Unpacking linux-image-extra-4.4.0-83-generic (4.4.0-83.106) over (4.4.0-83.106) ...
Setting up linux-image-4.4.0-83-generic (4.4.0-83.106) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.4.0-83.106 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.4.0-83.106 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-83-generic
Found initrd image: /boot/initrd.img-4.4.0-83-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
Setting up linux-image-extra-4.4.0-83-generic (4.4.0-83.106) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Error! Could not locate dkms.conf file.
File: does not exist.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-83-generic
Found initrd image: /boot/initrd.img-4.4.0-83-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
navin@linux:~$ ls -l /boot
total 144744
-rw-r--r-- 1 root root 1239577 Apr 19 2016 abi-4.4.0-21-generic
-rw-r--r-- 1 root root 1239612 May 13 2016 abi-4.4.0-22-generic
-rw-r--r-- 1 root root 1246511 Jun 27 01:15 abi-4.4.0-83-generic
-rw-r--r-- 1 root root 189412 Apr 19 2016 config-4.4.0-21-generic
-rw-r--r-- 1 root root 189520 May 13 2016 config-4.4.0-22-generic
-rw-r--r-- 1 root root 190356 Jun 27 01:15 config-4.4.0-83-generic
drwxr-xr-x 5 root root 4096 Jul 5 22:35 grub
-rw-r--r-- 1 root root 35931447 May 17 2016 initrd.img-4.4.0-21-generic
-rw-r--r-- 1 root root 35932570 May 18 2016 initrd.img-4.4.0-22-generic
-rw-r--r-- 1 root root 38730519 Jul 5 22:35 initrd.img-4.4.0-83-generic
drwx------ 2 root root 16384 May 17 2016 lost+found
-rw-r--r-- 1 root root 182704 Jan 28 2016 memtest86+.bin
-rw-r--r-- 1 root root 184380 Jan 28 2016 memtest86+.elf
-rw-r--r-- 1 root root 184840 Jan 28 2016 memtest86+_multiboot.bin
-rw------- 1 root root 3853719 Apr 19 2016 System.map-4.4.0-21-generic
-rw------- 1 root root 3855781 May 13 2016 System.map-4.4.0-22-generic
-rw------- 1 root root 3883887 Jun 27 01:15 System.map-4.4.0-83-generic
-rw-r--r-- 1 root root 7013984 May 17 2016 vmlinuz-4.4.0-21-generic
-rw------- 1 root root 7015440 May 13 2016 vmlinuz-4.4.0-22-generic
-rw------- 1 root root 7092720 Jun 27 01:15 vmlinuz-4.4.0-83-generic
navin@linux:~$
============================END========================

Thanks & regards.

Revision history for this message
Manfred Hampl (m-hampl) said :
#46

Finally the current version of the kernel (4.4.0-83-generic) is shown in your /boot partition.

I suggest that you try a reboot and check the kernel version with "uname -a" afterwards.
In case that the system does no more boot normally, you can select the older (4.4.0-22-generic) kernel from the grub boot menu, and it should boot as before.

I see a new problem:
Error! Could not locate dkms.conf file.
File: does not exist.

For diagnostic purposes please provide the output of the commands
dkms status
ls -l /var/lib/dkms -R
(suggested in bug #830915)

Revision history for this message
Navin Talati (n-m-talati) said :
#47

After the applications of commands in #45, the system needed restart.
Upon restarting the screen resolution went down to 1280X1024 with aspect ratio 5:4.
In settings, display is not showing any other resolution option to reset.
I updated and upgraded the system by the result is same.

Reply to #46
 The output of the commands dkms status is as under:
======================OUTPUT====================
navin@linux:~$ ls -l /var/lib/dkms -R
/var/lib/dkms:
total 20
drwxr-xr-x 3 root root 4096 Apr 21 15:47 anbox-modules-ashmem
drwxr-xr-x 3 root root 4096 Apr 21 15:47 anbox-modules-binder
drwxr-xr-x 3 root root 4096 Apr 27 15:42 bbswitch
-rw-r--r-- 1 root root 6 Jul 8 2008 dkms_dbversion
drwxr-xr-x 3 root root 4096 Jun 3 17:22 nvidia-375

/var/lib/dkms/anbox-modules-ashmem:
total 4
drwxr-xr-x 4 root root 4096 Apr 21 15:47 4~xenial1
lrwxrwxrwx 1 root root 33 Apr 21 15:47 kernel-4.4.0-72-generic-x86_64 -> 4~xenial1/4.4.0-72-generic/x86_64

/var/lib/dkms/anbox-modules-ashmem/4~xenial1:
total 8
drwxr-xr-x 3 root root 4096 Apr 21 15:47 4.4.0-72-generic
drwxr-xr-x 4 root root 4096 Apr 21 15:47 build
lrwxrwxrwx 1 root root 39 Apr 21 15:47 source -> /usr/src/anbox-modules-ashmem-4~xenial1

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/4.4.0-72-generic:
total 4
drwxr-xr-x 4 root root 4096 Apr 21 15:47 x86_64

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/4.4.0-72-generic/x86_64:
total 8
drwxr-xr-x 2 root root 4096 Apr 21 15:47 log
drwxr-xr-x 2 root root 4096 Apr 21 15:47 module

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/4.4.0-72-generic/x86_64/log:
total 4
-rw-r--r-- 1 root root 801 Apr 21 15:47 make.log

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/4.4.0-72-generic/x86_64/module:
total 20
-rw-r--r-- 1 root root 16440 Apr 21 15:47 ashmem_linux.ko

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/build:
total 48
drwxr-xr-x 3 root root 4096 Apr 21 15:47 ashmem
-rw-r--r-- 1 root root 23258 Apr 21 15:47 ashmem.c
-rw-r--r-- 1 root root 663 Apr 21 15:47 ashmem.h
-rw-r--r-- 1 root root 303 Apr 21 15:47 deps.c
-rw-r--r-- 1 root root 195 Apr 21 15:47 dkms.conf
-rw-r--r-- 1 root root 341 Apr 21 15:47 Makefile
drwxr-xr-x 2 root root 4096 Apr 21 15:47 uapi

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/build/ashmem:
total 44
-rw-r--r-- 1 root root 23258 Apr 21 15:47 ashmem.c
-rw-r--r-- 1 root root 663 Apr 21 15:47 ashmem.h
-rw-r--r-- 1 root root 303 Apr 21 15:47 deps.c
-rw-r--r-- 1 root root 195 Apr 21 15:47 dkms.conf
-rw-r--r-- 1 root root 341 Apr 21 15:47 Makefile
drwxr-xr-x 2 root root 4096 Apr 21 15:47 uapi

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/build/ashmem/uapi:
total 4
-rw-r--r-- 1 root root 1486 Apr 21 15:47 ashmem.h

/var/lib/dkms/anbox-modules-ashmem/4~xenial1/build/uapi:
total 4
-rw-r--r-- 1 root root 1486 Apr 21 15:47 ashmem.h

/var/lib/dkms/anbox-modules-binder:
total 4
drwxr-xr-x 4 root root 4096 Apr 21 15:47 4~xenial1
lrwxrwxrwx 1 root root 33 Apr 21 15:47 kernel-4.4.0-72-generic-x86_64 -> 4~xenial1/4.4.0-72-generic/x86_64

/var/lib/dkms/anbox-modules-binder/4~xenial1:
total 8
drwxr-xr-x 3 root root 4096 Apr 21 15:47 4.4.0-72-generic
drwxr-xr-x 3 root root 4096 Apr 21 15:47 build
lrwxrwxrwx 1 root root 39 Apr 21 15:47 source -> /usr/src/anbox-modules-binder-4~xenial1

/var/lib/dkms/anbox-modules-binder/4~xenial1/4.4.0-72-generic:
total 4
drwxr-xr-x 4 root root 4096 Apr 21 15:47 x86_64

/var/lib/dkms/anbox-modules-binder/4~xenial1/4.4.0-72-generic/x86_64:
total 8
drwxr-xr-x 2 root root 4096 Apr 21 15:47 log
drwxr-xr-x 2 root root 4096 Apr 21 15:47 module

/var/lib/dkms/anbox-modules-binder/4~xenial1/4.4.0-72-generic/x86_64/log:
total 4
-rw-r--r-- 1 root root 801 Apr 21 15:47 make.log

/var/lib/dkms/anbox-modules-binder/4~xenial1/4.4.0-72-generic/x86_64/module:
total 152
-rw-r--r-- 1 root root 153400 Apr 21 15:47 binder_linux.ko

/var/lib/dkms/anbox-modules-binder/4~xenial1/build:
total 148
drwxr-xr-x 2 root root 4096 Apr 21 15:47 binder
-rw-r--r-- 1 root root 104079 Apr 21 15:47 binder.c
-rw-r--r-- 1 root root 9601 Apr 21 15:47 binder.h
-rw-r--r-- 1 root root 8979 Apr 21 15:47 binder_trace.h
-rw-r--r-- 1 root root 5119 Apr 21 15:47 deps.c
-rw-r--r-- 1 root root 195 Apr 21 15:47 dkms.conf
-rw-r--r-- 1 root root 317 Apr 21 15:47 Makefile

/var/lib/dkms/anbox-modules-binder/4~xenial1/build/binder:
total 144
-rw-r--r-- 1 root root 104079 Apr 21 15:47 binder.c
-rw-r--r-- 1 root root 9601 Apr 21 15:47 binder.h
-rw-r--r-- 1 root root 8979 Apr 21 15:47 binder_trace.h
-rw-r--r-- 1 root root 5119 Apr 21 15:47 deps.c
-rw-r--r-- 1 root root 195 Apr 21 15:47 dkms.conf
-rw-r--r-- 1 root root 317 Apr 21 15:47 Makefile

/var/lib/dkms/bbswitch:
total 4
drwxr-xr-x 5 root root 4096 Apr 27 15:42 0.8
lrwxrwxrwx 1 root root 27 Nov 5 2016 kernel-4.4.0-45-generic-x86_64 -> 0.8/4.4.0-45-generic/x86_64
lrwxrwxrwx 1 root root 27 Apr 8 11:57 kernel-4.4.0-72-generic-x86_64 -> 0.8/4.4.0-72-generic/x86_64

/var/lib/dkms/bbswitch/0.8:
total 12
drwxr-xr-x 3 root root 4096 Nov 5 2016 4.4.0-45-generic
drwxr-xr-x 3 root root 4096 Apr 8 11:57 4.4.0-72-generic
drwxr-xr-x 2 root root 4096 Apr 8 11:57 build
lrwxrwxrwx 1 root root 21 Nov 5 2016 source -> /usr/src/bbswitch-0.8

/var/lib/dkms/bbswitch/0.8/4.4.0-45-generic:
total 4
drwxr-xr-x 4 root root 4096 Nov 5 2016 x86_64

/var/lib/dkms/bbswitch/0.8/4.4.0-45-generic/x86_64:
total 8
drwxr-xr-x 2 root root 4096 Nov 5 2016 log
drwxr-xr-x 2 root root 4096 Nov 5 2016 module

/var/lib/dkms/bbswitch/0.8/4.4.0-45-generic/x86_64/log:
total 4
-rw-r--r-- 1 root root 515 Nov 5 2016 make.log

/var/lib/dkms/bbswitch/0.8/4.4.0-45-generic/x86_64/module:
total 24
-rw-r--r-- 1 root root 21904 Nov 5 2016 bbswitch.ko

/var/lib/dkms/bbswitch/0.8/4.4.0-72-generic:
total 4
drwxr-xr-x 4 root root 4096 Apr 8 11:57 x86_64

/var/lib/dkms/bbswitch/0.8/4.4.0-72-generic/x86_64:
total 8
drwxr-xr-x 2 root root 4096 Apr 8 11:57 log
drwxr-xr-x 2 root root 4096 Apr 8 11:57 module

/var/lib/dkms/bbswitch/0.8/4.4.0-72-generic/x86_64/log:
total 4
-rw-r--r-- 1 root root 515 Apr 8 11:57 make.log

/var/lib/dkms/bbswitch/0.8/4.4.0-72-generic/x86_64/module:
total 24
-rw-r--r-- 1 root root 21904 Apr 8 11:57 bbswitch.ko

/var/lib/dkms/bbswitch/0.8/build:
total 24
-rw-r--r-- 1 root root 15674 Apr 8 11:57 bbswitch.c
-rw-r--r-- 1 root root 197 Apr 8 11:57 dkms.conf
-rw-r--r-- 1 root root 649 Apr 8 11:57 Makefile

/var/lib/dkms/nvidia-375:
total 4
drwxr-xr-x 4 root root 4096 Jun 3 17:22 375.66
lrwxrwxrwx 1 root root 30 Jun 3 17:22 kernel-4.4.0-78-generic-x86_64 -> 375.66/4.4.0-78-generic/x86_64

/var/lib/dkms/nvidia-375/375.66:
total 8
drwxr-xr-x 3 root root 4096 Jun 3 17:22 4.4.0-78-generic
drwxr-xr-x 8 root root 4096 Jun 3 17:22 build
lrwxrwxrwx 1 root root 26 Jun 3 17:20 source -> /usr/src/nvidia-375-375.66

/var/lib/dkms/nvidia-375/375.66/4.4.0-78-generic:
total 4
drwxr-xr-x 4 root root 4096 Jun 3 17:22 x86_64

/var/lib/dkms/nvidia-375/375.66/4.4.0-78-generic/x86_64:
total 8
drwxr-xr-x 2 root root 4096 Jun 3 17:22 log
drwxr-xr-x 2 root root 4096 Jun 3 17:22 module

/var/lib/dkms/nvidia-375/375.66/4.4.0-78-generic/x86_64/log:
total 20
-rw-r--r-- 1 root root 17438 Jun 3 17:22 make.log

/var/lib/dkms/nvidia-375/375.66/4.4.0-78-generic/x86_64/module:
total 18596
-rw-r--r-- 1 root root 89696 Jun 3 17:22 nvidia_375_drm.ko
-rw-r--r-- 1 root root 16733992 Jun 3 17:22 nvidia_375.ko
-rw-r--r-- 1 root root 1086072 Jun 3 17:22 nvidia_375_modeset.ko
-rw-r--r-- 1 root root 1122800 Jun 3 17:22 nvidia_375_uvm.ko

/var/lib/dkms/nvidia-375/375.66/build:
total 176
drwxr-xr-x 3 root root 4096 Jun 3 17:20 common
-rwxr-xr-x 1 root root 109890 Jun 3 17:20 conftest.sh
-rw-r--r-- 1 root root 1197 Jun 3 17:20 dkms.conf
-rw-r--r-- 1 root root 5673 Jun 3 17:20 Kbuild
-rw-r--r-- 1 root root 4594 Jun 3 17:20 Makefile
-rw-r--r-- 1 root root 82 Jun 3 17:20 nv_compiler.h
drwxr-xr-x 2 root root 4096 Jun 3 17:22 nvidia
drwxr-xr-x 2 root root 4096 Jun 3 17:22 nvidia-drm
drwxr-xr-x 2 root root 4096 Jun 3 17:22 nvidia-modeset
drwxr-xr-x 4 root root 20480 Jun 3 17:22 nvidia-uvm
drwxr-xr-x 2 root root 4096 Jun 3 17:20 patches

/var/lib/dkms/nvidia-375/375.66/build/common:
total 4
drwxr-xr-x 2 root root 4096 Jun 3 17:20 inc

/var/lib/dkms/nvidia-375/375.66/build/common/inc:
total 484
-rw-r--r-- 1 root root 228 Jun 3 17:20 conftest.h
-rw-r--r-- 1 root root 10630 Jun 3 17:20 cpuopsys.h
-rw-r--r-- 1 root root 1785 Jun 3 17:20 nvCpuUuid.h
-rw-r--r-- 1 root root 715 Jun 3 17:20 nv-gpu-info.h
-rw-r--r-- 1 root root 9772 Jun 3 17:20 nvgputypes.h
-rw-r--r-- 1 root root 40279 Jun 3 17:20 nv.h
-rw-r--r-- 1 root root 1689 Jun 3 17:20 nv-hypervisor.h
-rw-r--r-- 1 root root 7107 Jun 3 17:20 nvkms-api-types.h
-rw-r--r-- 1 root root 22132 Jun 3 17:20 nvkms-kapi.h
-rw-r--r-- 1 root root 767 Jun 3 17:20 nvkms-kapi-user.h
-rw-r--r-- 1 root root 1984 Jun 3 17:20 nv-kref.h
-rw-r--r-- 1 root root 8866 Jun 3 17:20 nv-kthread-q.h
-rw-r--r-- 1 root root 72357 Jun 3 17:20 nv-linux.h
-rw-r--r-- 1 root root 3689 Jun 3 17:20 nv-list-helpers.h
-rw-r--r-- 1 root root 714 Jun 3 17:20 nv-misc.h
-rw-r--r-- 1 root root 29859 Jun 3 17:20 nvmisc.h
-rw-r--r-- 1 root root 5722 Jun 3 17:20 nv-mm.h
-rw-r--r-- 1 root root 3870 Jun 3 17:20 nv-modeset-interface.h
-rw-r--r-- 1 root root 5184 Jun 3 17:20 nv-pgprot.h
-rw-r--r-- 1 root root 5477 Jun 3 17:20 nv-procfs.h
-rw-r--r-- 1 root root 4330 Jun 3 17:20 nv-proto.h
-rw-r--r-- 1 root root 1133 Jun 3 17:20 nv-register-module.h
-rw-r--r-- 1 root root 13120 Jun 3 17:20 nvstatuscodes.h
-rw-r--r-- 1 root root 4939 Jun 3 17:20 nvstatus.h
-rw-r--r-- 1 root root 30553 Jun 3 17:20 nvtypes.h
-rw-r--r-- 1 root root 66811 Jun 3 17:20 nv_uvm_interface.h
-rw-r--r-- 1 root root 17127 Jun 3 17:20 nv_uvm_types.h
-rw-r--r-- 1 root root 11574 Jun 3 17:20 os-interface.h
-rw-r--r-- 1 root root 36353 Jun 3 17:20 uvmtypes.h
-rw-r--r-- 1 root root 5196 Jun 3 17:20 xapi-sdk.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia:
total 16720
-rw-r--r-- 1 root root 4807 Jun 3 17:20 ebridge_export.h
-rw-r--r-- 1 root root 8784 Jun 3 17:20 ebridge_linux.c
-rw-r--r-- 1 root root 6847 Jun 3 17:20 ibmnpu_export.h
-rw-r--r-- 1 root root 22774 Jun 3 17:20 ibmnpu_linux.c
-rw-r--r-- 1 root root 43866 Jun 3 17:20 nv-acpi.c
-rw-r--r-- 1 root root 120899 Jun 3 17:20 nv.c
-rw-r--r-- 1 root root 803 Jun 3 17:20 nv-chrdev.c
-rw-r--r-- 1 root root 7042 Jun 3 17:20 nv-cray.c
-rw-r--r-- 1 root root 14781 Jun 3 17:20 nv-dma.c
-rw-r--r-- 1 root root 10334 Jun 3 17:20 nv-frontend.c
-rw-r--r-- 1 root root 1161 Jun 3 17:20 nv-frontend.h
-rw-r--r-- 1 root root 15189 Jun 3 17:20 nv_gpu_ops.h
-rw-r--r-- 1 root root 3112 Jun 3 17:20 nv-gvi.c
-rw-r--r-- 1 root root 8325 Jun 3 17:20 nv-i2c.c
-rw-r--r-- 1 root root 6810 Jun 3 17:20 nvidia.Kbuild
-rw-r--r-- 1 root root 1171 Jun 3 17:20 nvidia-sources.Kbuild
-rw-r--r-- 1 root root 2169 Jun 3 17:20 nv-instance.c
-rw-r--r-- 1 root root 758 Jun 3 17:20 nv-instance.h
-rw-r--r-- 1 root root 16450792 Jun 3 17:20 nv-kernel.o_binary
-rw-r--r-- 1 root root 9078 Jun 3 17:20 nv-kthread-q.c
-rw-r--r-- 1 root root 15483 Jun 3 17:20 nv-kthread-q-selftest.c
-rw-r--r-- 1 root root 4732 Jun 3 17:20 nvlink_common.h
-rw-r--r-- 1 root root 2066 Jun 3 17:20 nvlink_errors.h
-rw-r--r-- 1 root root 1767 Jun 3 17:20 nvlink_export.h
-rw-r--r-- 1 root root 10599 Jun 3 17:20 nvlink_linux.c
-rw-r--r-- 1 root root 1688 Jun 3 17:20 nvlink_linux.h
-rw-r--r-- 1 root root 2391 Jun 3 17:20 nvlink_pci.c
-rw-r--r-- 1 root root 3042 Jun 3 17:20 nvlink_pci.h
-rw-r--r-- 1 root root 1799 Jun 3 17:20 nvlink_proto.h
-rw-r--r-- 1 root root 2981 Jun 3 17:20 nv-memdbg.h
-rw-r--r-- 1 root root 582 Jun 3 17:20 nv-mempool.c
-rw-r--r-- 1 root root 14834 Jun 3 17:20 nv-mmap.c
-rw-r--r-- 1 root root 3393 Jun 3 17:20 nv-modeset-interface.c
-rw-r--r-- 1 root root 12469 Jun 3 17:20 nv-p2p.c
-rw-r--r-- 1 root root 11345 Jun 3 17:20 nv-p2p.h
-rw-r--r-- 1 root root 10204 Jun 3 17:20 nv-pat.c
-rw-r--r-- 1 root root 928 Jun 3 17:20 nv-pat.h
-rw-r--r-- 1 root root 1226 Jun 3 17:20 nv-pci-table.c
-rw-r--r-- 1 root root 478 Jun 3 17:20 nv-pci-table.h
-rw-r--r-- 1 root root 20433 Jun 3 17:20 nv-procfs.c
-rw-r--r-- 1 root root 17155 Jun 3 17:20 nv-reg.h
-rw-r--r-- 1 root root 4304 Jun 3 17:20 nv-usermap.c
-rw-r--r-- 1 root root 46848 Jun 3 17:20 nv_uvm_interface.c
-rw-r--r-- 1 root root 17547 Jun 3 17:20 nv-vm.c
-rw-r--r-- 1 root root 1037 Jun 3 17:20 nv-vtophys.c
-rw-r--r-- 1 root root 36933 Jun 3 17:20 os-interface.c
-rw-r--r-- 1 root root 3846 Jun 3 17:20 os-mlock.c
-rw-r--r-- 1 root root 3810 Jun 3 17:20 os-pci.c
-rw-r--r-- 1 root root 5617 Jun 3 17:20 os-registry.c
-rw-r--r-- 1 root root 1384 Jun 3 17:20 os-usermap.c
-rw-r--r-- 1 root root 1474 Jun 3 17:20 rmil.h
-rw-r--r-- 1 root root 531 Jun 3 17:20 rmp2pdefines.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia-drm:
total 256
-rw-r--r-- 1 root root 3709 Jun 3 17:20 nvidia-dma-fence-helper.h
-rw-r--r-- 1 root root 1911 Jun 3 17:20 nvidia-drm.c
-rw-r--r-- 1 root root 13505 Jun 3 17:20 nvidia-drm-connector.c
-rw-r--r-- 1 root root 2176 Jun 3 17:20 nvidia-drm-connector.h
-rw-r--r-- 1 root root 10533 Jun 3 17:20 nvidia-drm-crtc.c
-rw-r--r-- 1 root root 1812 Jun 3 17:20 nvidia-drm-crtc.h
-rw-r--r-- 1 root root 22173 Jun 3 17:20 nvidia-drm-drv.c
-rw-r--r-- 1 root root 1411 Jun 3 17:20 nvidia-drm-drv.h
-rw-r--r-- 1 root root 12239 Jun 3 17:20 nvidia-drm-encoder.c
-rw-r--r-- 1 root root 2157 Jun 3 17:20 nvidia-drm-encoder.h
-rw-r--r-- 1 root root 10205 Jun 3 17:20 nvidia-drm-fb.c
-rw-r--r-- 1 root root 1899 Jun 3 17:20 nvidia-drm-fb.h
-rw-r--r-- 1 root root 17587 Jun 3 17:20 nvidia-drm-fence.c
-rw-r--r-- 1 root root 2217 Jun 3 17:20 nvidia-drm-fence.h
-rw-r--r-- 1 root root 13620 Jun 3 17:20 nvidia-drm-gem.c
-rw-r--r-- 1 root root 5015 Jun 3 17:20 nvidia-drm-gem.h
-rw-r--r-- 1 root root 1300 Jun 3 17:20 nvidia-drm.h
-rw-r--r-- 1 root root 6289 Jun 3 17:20 nvidia-drm-ioctl.h
-rw-r--r-- 1 root root 3060 Jun 3 17:20 nvidia-drm.Kbuild
-rw-r--r-- 1 root root 5131 Jun 3 17:20 nvidia-drm-linux.c
-rw-r--r-- 1 root root 3173 Jun 3 17:20 nvidia-drm-mmap.c
-rw-r--r-- 1 root root 1517 Jun 3 17:20 nvidia-drm-mmap.h
-rw-r--r-- 1 root root 29325 Jun 3 17:20 nvidia-drm-modeset.c
-rw-r--r-- 1 root root 2311 Jun 3 17:20 nvidia-drm-modeset.h
-rw-r--r-- 1 root root 2304 Jun 3 17:20 nvidia-drm-os-interface.h
-rw-r--r-- 1 root root 4201 Jun 3 17:20 nvidia-drm-priv.h
-rw-r--r-- 1 root root 9319 Jun 3 17:20 nvidia-drm-utils.c
-rw-r--r-- 1 root root 2907 Jun 3 17:20 nvidia-drm-utils.h
-rw-r--r-- 1 root root 1226 Jun 3 17:20 nv-pci-table.c
-rw-r--r-- 1 root root 478 Jun 3 17:20 nv-pci-table.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia-modeset:
total 1100
-rw-r--r-- 1 root root 2990 Jun 3 17:20 nvidia-modeset.Kbuild
-rw-r--r-- 1 root root 33320 Jun 3 17:20 nvidia-modeset-linux.c
-rw-r--r-- 1 root root 9261 Jun 3 17:20 nvidia-modeset-os-interface.h
-rw-r--r-- 1 root root 2200 Jun 3 17:20 nvkms.h
-rw-r--r-- 1 root root 1684 Jun 3 17:20 nvkms-ioctl.h
-rw-r--r-- 1 root root 1064048 Jun 3 17:20 nv-modeset-kernel.o_binary

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm:
total 3280
-rw-r--r-- 1 root root 8277 Jun 3 17:20 cla06f.h
-rw-r--r-- 1 root root 1440 Jun 3 17:20 cla06fsubch.h
-rw-r--r-- 1 root root 12952 Jun 3 17:20 cla0b5.h
-rw-r--r-- 1 root root 1707 Jun 3 17:20 cla16f.h
-rw-r--r-- 1 root root 3805 Jun 3 17:20 clb069.h
-rw-r--r-- 1 root root 1721 Jun 3 17:20 clb069sw.h
-rw-r--r-- 1 root root 7660 Jun 3 17:20 clb06f.h
-rw-r--r-- 1 root root 15290 Jun 3 17:20 clb0b5.h
-rw-r--r-- 1 root root 11277 Jun 3 17:20 clc06f.h
-rw-r--r-- 1 root root 1763 Jun 3 17:20 clc076.h
-rw-r--r-- 1 root root 15292 Jun 3 17:20 clc0b5.h
-rw-r--r-- 1 root root 15292 Jun 3 17:20 clc1b5.h
-rw-r--r-- 1 root root 18069 Jun 3 17:20 compat.h
-rw-r--r-- 1 root root 1966 Jun 3 17:20 ctrl2080mc.h
-rw-r--r-- 1 root root 12363 Jun 3 17:20 field_desc.h
-rw-r--r-- 1 root root 9268 Jun 3 17:20 gmmu_fmt.c
drwxr-xr-x 4 root root 4096 Jun 3 17:20 hwref
drwxr-xr-x 2 root root 4096 Jun 3 17:20 mmu
-rw-r--r-- 1 root root 2661 Jun 3 17:20 mmu_fmt.c
-rw-r--r-- 1 root root 5059 Jun 3 17:20 nvidia-uvm.Kbuild
-rw-r--r-- 1 root root 4955 Jun 3 17:20 nvidia-uvm-sources.Kbuild
-rw-r--r-- 1 root root 9078 Jun 3 17:20 nv-kthread-q.c
-rw-r--r-- 1 root root 15483 Jun 3 17:20 nv-kthread-q-selftest.c
-rw-r--r-- 1 root root 2482 Jun 3 17:20 nvstatus.c
-rw-r--r-- 1 root root 9859 Jun 3 17:20 uvm8_api.h
-rw-r--r-- 1 root root 30312 Jun 3 17:20 uvm8.c
-rw-r--r-- 1 root root 17713 Jun 3 17:20 uvm8_ce_test.c
-rw-r--r-- 1 root root 33803 Jun 3 17:20 uvm8_channel.c
-rw-r--r-- 1 root root 12393 Jun 3 17:20 uvm8_channel.h
-rw-r--r-- 1 root root 24567 Jun 3 17:20 uvm8_channel_test.c
-rw-r--r-- 1 root root 2523 Jun 3 17:20 uvm8_fault_buffer_flush_test.c
-rw-r--r-- 1 root root 3693 Jun 3 17:20 uvm8_forward_decl.h
-rwxr-xr-x 1 root root 13587 Jun 3 17:20 uvm8_get_rm_ptes_test.c
-rw-r--r-- 1 root root 7162 Jun 3 17:20 uvm8_global.c
-rw-r--r-- 1 root root 8711 Jun 3 17:20 uvm8_global.h
-rw-r--r-- 1 root root 56653 Jun 3 17:20 uvm8_gpu.c
-rw-r--r-- 1 root root 29938 Jun 3 17:20 uvm8_gpu.h
-rw-r--r-- 1 root root 76522 Jun 3 17:20 uvm8_gpu_page_fault.c
-rw-r--r-- 1 root root 4904 Jun 3 17:20 uvm8_gpu_page_fault.h
-rw-r--r-- 1 root root 18907 Jun 3 17:20 uvm8_gpu_semaphore.c
-rw-r--r-- 1 root root 7238 Jun 3 17:20 uvm8_gpu_semaphore.h
-rw-r--r-- 1 root root 5870 Jun 3 17:20 uvm8_gpu_semaphore_test.c
-rw-r--r-- 1 root root 20369 Jun 3 17:20 uvm8_hal.c
-rw-r--r-- 1 root root 18744 Jun 3 17:20 uvm8_hal.h
-rw-r--r-- 1 root root 9223 Jun 3 17:20 uvm8_hal_types.h
-rw-r--r-- 1 root root 6281 Jun 3 17:20 uvm8_hmm.c
-rw-r--r-- 1 root root 2296 Jun 3 17:20 uvm8_hmm.h
-rw-r--r-- 1 root root 1574 Jun 3 17:20 uvm8_init.h
-rw-r--r-- 1 root root 2527 Jun 3 17:20 uvm8_kepler.c
-rw-r--r-- 1 root root 14156 Jun 3 17:20 uvm8_kepler_ce.c
-rw-r--r-- 1 root root 8091 Jun 3 17:20 uvm8_kepler_host.c
-rw-r--r-- 1 root root 11973 Jun 3 17:20 uvm8_kepler_mmu.c
-rw-r--r-- 1 root root 12869 Jun 3 17:20 uvm8_kvmalloc.c
-rw-r--r-- 1 root root 3483 Jun 3 17:20 uvm8_kvmalloc.h
-rw-r--r-- 1 root root 6406 Jun 3 17:20 uvm8_kvmalloc_test.c
-rw-r--r-- 1 root root 12927 Jun 3 17:20 uvm8_lock.c
-rw-r--r-- 1 root root 32610 Jun 3 17:20 uvm8_lock.h
-rw-r--r-- 1 root root 12366 Jun 3 17:20 uvm8_lock_test.c
-rw-r--r-- 1 root root 36361 Jun 3 17:20 uvm8_map_external.c
-rw-r--r-- 1 root root 3156 Jun 3 17:20 uvm8_map_external.h
-rw-r--r-- 1 root root 2229 Jun 3 17:20 uvm8_maxwell.c
-rw-r--r-- 1 root root 2767 Jun 3 17:20 uvm8_maxwell_host.c
-rw-r--r-- 1 root root 23109 Jun 3 17:20 uvm8_mem.c
-rw-r--r-- 1 root root 12132 Jun 3 17:20 uvm8_mem.h
-rw-r--r-- 1 root root 14229 Jun 3 17:20 uvm8_mem_test.c
-rw-r--r-- 1 root root 29865 Jun 3 17:20 uvm8_migrate.c
-rw-r--r-- 1 root root 55285 Jun 3 17:20 uvm8_mmu.c
-rw-r--r-- 1 root root 17774 Jun 3 17:20 uvm8_mmu.h
-rw-r--r-- 1 root root 8106 Jun 3 17:20 uvm8_mmu_test.c
-rw-r--r-- 1 root root 3433 Jun 3 17:20 uvm8_next_decl.h
-rw-r--r-- 1 root root 63070 Jun 3 17:20 uvm8_page_tree_test.c
-rw-r--r-- 1 root root 2735 Jun 3 17:20 uvm8_pascal.c
-rw-r--r-- 1 root root 2169 Jun 3 17:20 uvm8_pascal_ce.c
-rw-r--r-- 1 root root 11303 Jun 3 17:20 uvm8_pascal_fault_buffer.c
-rw-r--r-- 1 root root 2276 Jun 3 17:20 uvm8_pascal_fault_buffer.h
-rw-r--r-- 1 root root 16812 Jun 3 17:20 uvm8_pascal_host.c
-rw-r--r-- 1 root root 12877 Jun 3 17:20 uvm8_pascal_mmu.c
-rw-r--r-- 1 root root 6460 Jun 3 17:20 uvm8_peer_identity_mappings_test.c
-rw-r--r-- 1 root root 7001 Jun 3 17:20 uvm8_perf_events.c
-rw-r--r-- 1 root root 9681 Jun 3 17:20 uvm8_perf_events.h
-rw-r--r-- 1 root root 3606 Jun 3 17:20 uvm8_perf_events_test.c
-rw-r--r-- 1 root root 2221 Jun 3 17:20 uvm8_perf_heuristics.c
-rw-r--r-- 1 root root 1646 Jun 3 17:20 uvm8_perf_heuristics.h
-rw-r--r-- 1 root root 5849 Jun 3 17:20 uvm8_perf_module.c
-rw-r--r-- 1 root root 5038 Jun 3 17:20 uvm8_perf_module.h
-rw-r--r-- 1 root root 11025 Jun 3 17:20 uvm8_perf_module_test.c
-rw-r--r-- 1 root root 19598 Jun 3 17:20 uvm8_perf_prefetch.c
-rw-r--r-- 1 root root 2563 Jun 3 17:20 uvm8_perf_prefetch.h
-rw-r--r-- 1 root root 27176 Jun 3 17:20 uvm8_perf_thrashing.c
-rw-r--r-- 1 root root 3866 Jun 3 17:20 uvm8_perf_thrashing.h
-rw-r--r-- 1 root root 2914 Jun 3 17:20 uvm8_perf_utils.c
-rw-r--r-- 1 root root 13657 Jun 3 17:20 uvm8_perf_utils.h
-rw-r--r-- 1 root root 30026 Jun 3 17:20 uvm8_perf_utils_test.c
-rw-r--r-- 1 root root 104555 Jun 3 17:20 uvm8_pmm_gpu.c
-rw-r--r-- 1 root root 22951 Jun 3 17:20 uvm8_pmm_gpu.h
-rw-r--r-- 1 root root 32997 Jun 3 17:20 uvm8_pmm_test.c
-rw-r--r-- 1 root root 26505 Jun 3 17:20 uvm8_policy.c
-rw-r--r-- 1 root root 8282 Jun 3 17:20 uvm8_processors.h
-rw-r--r-- 1 root root 3497 Jun 3 17:20 uvm8_procfs.c
-rw-r--r-- 1 root root 2410 Jun 3 17:20 uvm8_procfs.h
-rw-r--r-- 1 root root 7748 Jun 3 17:20 uvm8_pte_batch.c
-rw-r--r-- 1 root root 4041 Jun 3 17:20 uvm8_pte_batch.h
-rw-r--r-- 1 root root 15426 Jun 3 17:20 uvm8_pushbuffer.c
-rw-r--r-- 1 root root 12106 Jun 3 17:20 uvm8_pushbuffer.h
-rw-r--r-- 1 root root 9846 Jun 3 17:20 uvm8_push.c
-rw-r--r-- 1 root root 14895 Jun 3 17:20 uvm8_push.h
-rw-r--r-- 1 root root 12360 Jun 3 17:20 uvm8_push_macros.h
-rw-r--r-- 1 root root 17771 Jun 3 17:20 uvm8_push_test.c
-rw-r--r-- 1 root root 6053 Jun 3 17:20 uvm8_range_allocator.c
-rw-r--r-- 1 root root 3051 Jun 3 17:20 uvm8_range_allocator.h
-rw-r--r-- 1 root root 13959 Jun 3 17:20 uvm8_range_allocator_test.c
-rw-r--r-- 1 root root 31564 Jun 3 17:20 uvm8_range_group.c
-rw-r--r-- 1 root root 9728 Jun 3 17:20 uvm8_range_group.h
-rw-r--r-- 1 root root 13977 Jun 3 17:20 uvm8_range_group_tree_test.c
-rw-r--r-- 1 root root 9198 Jun 3 17:20 uvm8_range_tree.c
-rw-r--r-- 1 root root 5166 Jun 3 17:20 uvm8_range_tree.h
-rw-r--r-- 1 root root 49618 Jun 3 17:20 uvm8_range_tree_test.c
-rw-r--r-- 1 root root 8315 Jun 3 17:20 uvm8_rm_mem.c
-rw-r--r-- 1 root root 4160 Jun 3 17:20 uvm8_rm_mem.h
-rw-r--r-- 1 root root 5882 Jun 3 17:20 uvm8_rm_mem_test.c
-rw-r--r-- 1 root root 9514 Jun 3 17:20 uvm8_test.c
-rw-r--r-- 1 root root 9397 Jun 3 17:20 uvm8_test.h
-rw-r--r-- 1 root root 32378 Jun 3 17:20 uvm8_test_ioctl.h
-rw-r--r-- 1 root root 10206 Jun 3 17:20 uvm8_test_rng.c
-rw-r--r-- 1 root root 2392 Jun 3 17:20 uvm8_test_rng.h
-rw-r--r-- 1 root root 7183 Jun 3 17:20 uvm8_thread_context.c
-rw-r--r-- 1 root root 4186 Jun 3 17:20 uvm8_thread_context.h
-rw-r--r-- 1 root root 4527 Jun 3 17:20 uvm8_tlb_batch.c
-rw-r--r-- 1 root root 4176 Jun 3 17:20 uvm8_tlb_batch.h
-rw-r--r-- 1 root root 59638 Jun 3 17:20 uvm8_tools.c
-rw-r--r-- 1 root root 4780 Jun 3 17:20 uvm8_tools.h
-rw-r--r-- 1 root root 1479 Jun 3 17:20 uvm8_tools_init.h
-rw-r--r-- 1 root root 12922 Jun 3 17:20 uvm8_tracker.c
-rw-r--r-- 1 root root 9210 Jun 3 17:20 uvm8_tracker.h
-rw-r--r-- 1 root root 14756 Jun 3 17:20 uvm8_tracker_test.c
-rw-r--r-- 1 root root 32196 Jun 3 17:20 uvm8_user_channel.c
-rw-r--r-- 1 root root 7222 Jun 3 17:20 uvm8_user_channel.h
-rw-r--r-- 1 root root 416101 Jun 3 17:20 uvm8_va_block.c
-rw-r--r-- 1 root root 71628 Jun 3 17:20 uvm8_va_block.h
-rw-r--r-- 1 root root 4245 Jun 3 17:20 uvm8_va_block_test.c
-rw-r--r-- 1 root root 7539 Jun 3 17:20 uvm8_va_block_types.h
-rw-r--r-- 1 root root 68437 Jun 3 17:20 uvm8_va_range.c
-rw-r--r-- 1 root root 35561 Jun 3 17:20 uvm8_va_range.h
-rw-r--r-- 1 root root 46238 Jun 3 17:20 uvm8_va_space.c
-rw-r--r-- 1 root root 20277 Jun 3 17:20 uvm8_va_space.h
-rw-r--r-- 1 root root 11328 Jun 3 17:20 uvm_common.c
-rw-r--r-- 1 root root 11910 Jun 3 17:20 uvm_common.h
-rw-r--r-- 1 root root 1502 Jun 3 17:20 uvm-debug.h
-rw-r--r-- 1 root root 2040 Jun 3 17:20 uvm_debug_optimized.c
-rw-r--r-- 1 root root 9243 Jun 3 17:20 uvm_debug_session.c
-rw-r--r-- 1 root root 4229 Jun 3 17:20 uvm_debug_session.h
-rw-r--r-- 1 root root 1504 Jun 3 17:20 uvm_events.h
-rw-r--r-- 1 root root 2928 Jun 3 17:20 uvm_full_fault_buffer.c
-rw-r--r-- 1 root root 11094 Jun 3 17:20 uvm_full_fault_buffer.h
-rw-r--r-- 1 root root 16498 Jun 3 17:20 uvm_full_fault_buffer_pascal.c
-rw-r--r-- 1 root root 2650 Jun 3 17:20 uvm_full_fault_buffer_pascal.h
-rw-r--r-- 1 root root 142417 Jun 3 17:20 uvm.h
-rw-r--r-- 1 root root 33059 Jun 3 17:20 uvm_ioctl.h
-rw-r--r-- 1 root root 7405 Jun 3 17:20 uvm_kernel_counters.c
-rw-r--r-- 1 root root 3436 Jun 3 17:20 uvm_kernel_counters.h
-rw-r--r-- 1 root root 22714 Jun 3 17:20 uvm_kernel_events.c
-rw-r--r-- 1 root root 8381 Jun 3 17:20 uvm_kernel_events.h
-rw-r--r-- 1 root root 2272 Jun 3 17:20 uvm_linux.c
-rw-r--r-- 1 root root 16968 Jun 3 17:20 uvm_linux.h
-rw-r--r-- 1 root root 1711 Jun 3 17:20 uvm_linux_ioctl.h
-rw-r--r-- 1 root root 2191 Jun 3 17:20 uvm_minimal_init.h
-rw-r--r-- 1 root root 1919 Jun 3 17:20 uvm_mmu_mgmt.c
-rw-r--r-- 1 root root 7201 Jun 3 17:20 uvm_mmu_mgmt.h
-rw-r--r-- 1 root root 1495 Jun 3 17:20 uvm_mmu_mgmt_next.h
-rw-r--r-- 1 root root 13242 Jun 3 17:20 uvm_mmu_mgmt_pascal.c
-rw-r--r-- 1 root root 2068 Jun 3 17:20 uvm_mmu_mgmt_pascal.h
-rw-r--r-- 1 root root 1494 Jun 3 17:20 uvm_mmu_mgmt_stubs.c
-rw-r--r-- 1 root root 5681 Jun 3 17:20 uvm_page_migration.c
-rw-r--r-- 1 root root 11305 Jun 3 17:20 uvm_page_migration.h
-rw-r--r-- 1 root root 13473 Jun 3 17:20 uvm_page_migration_kepler.c
-rw-r--r-- 1 root root 2740 Jun 3 17:20 uvm_page_migration_kepler.h
-rw-r--r-- 1 root root 13485 Jun 3 17:20 uvm_page_migration_maxwell.c
-rw-r--r-- 1 root root 2747 Jun 3 17:20 uvm_page_migration_maxwell.h
-rw-r--r-- 1 root root 1989 Jun 3 17:20 uvm_page_migration_next.h
-rw-r--r-- 1 root root 13482 Jun 3 17:20 uvm_page_migration_pascal.c
-rw-r--r-- 1 root root 3123 Jun 3 17:20 uvm_page_migration_pascal.h
-rw-r--r-- 1 root root 1522 Jun 3 17:20 uvm_page_migration_stubs.c
-rw-r--r-- 1 root root 7550 Jun 3 17:20 uvm_pascal_fault_ref.h
-rw-r--r-- 1 root root 4040 Jun 3 17:20 uvm_unit_test.h
-rw-r--r-- 1 root root 6347 Jun 3 17:20 uvm_unsupported.c
-rw-r--r-- 1 root root 3124 Jun 3 17:20 uvm_utils.c
-rw-r--r-- 1 root root 1919 Jun 3 17:20 uvm_utils.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/hwref:
total 8
drwxr-xr-x 3 root root 4096 Jun 3 17:20 kepler
drwxr-xr-x 3 root root 4096 Jun 3 17:20 pascal

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/hwref/kepler:
total 4
drwxr-xr-x 2 root root 4096 Jun 3 17:20 gk104

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/hwref/kepler/gk104:
total 24
-rw-r--r-- 1 root root 23563 Jun 3 17:20 dev_mmu.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/hwref/pascal:
total 4
drwxr-xr-x 2 root root 4096 Jun 3 17:20 gp100

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/hwref/pascal/gp100:
total 72
-rw-r--r-- 1 root root 10700 Jun 3 17:20 dev_fault.h
-rw-r--r-- 1 root root 5072 Jun 3 17:20 dev_fb.h
-rw-r--r-- 1 root root 1710 Jun 3 17:20 dev_master.h
-rw-r--r-- 1 root root 48596 Jun 3 17:20 dev_mmu.h

/var/lib/dkms/nvidia-375/375.66/build/nvidia-uvm/mmu:
total 28
-rw-r--r-- 1 root root 15038 Jun 3 17:20 gmmu_fmt.h
-rw-r--r-- 1 root root 9379 Jun 3 17:20 mmu_fmt.h

/var/lib/dkms/nvidia-375/375.66/build/patches:
total 104
-rw-r--r-- 1 root root 824 Jun 3 17:20 allow_sublevel_greater_than_5.patch
-rw-r--r-- 1 root root 837 Jun 3 17:20 buildfix_kernel_3.0.patch
-rw-r--r-- 1 root root 18257 Jun 3 17:20 buildfix_kernel_3.10.patch
-rw-r--r-- 1 root root 2909 Jun 3 17:20 buildfix_kernel_3.11.patch
-rw-r--r-- 1 root root 1389 Jun 3 17:20 buildfix_kernel_3.13.patch
-rw-r--r-- 1 root root 1298 Jun 3 17:20 buildfix_kernel_3.14.patch
-rw-r--r-- 1 root root 737 Jun 3 17:20 buildfix_kernel_3.18.patch
-rw-r--r-- 1 root root 483 Jun 3 17:20 buildfix_kernel_3.6.patch
-rw-r--r-- 1 root root 761 Jun 3 17:20 buildfix_kernel_3.8.patch
-rw-r--r-- 1 root root 11559 Jun 3 17:20 buildfix_kernel_4.10.patch
-rw-r--r-- 1 root root 1114 Jun 3 17:20 buildfix_kernel_4.3.patch
-rw-r--r-- 1 root root 1673 Jun 3 17:20 buildfix_kernel_4.6.patch
-rw-r--r-- 1 root root 835 Jun 3 17:20 buildfix_kernel_4.7_amd64_only.patch
-rw-r--r-- 1 root root 1728 Jun 3 17:20 buildfix_kernel_4.7.patch
-rw-r--r-- 1 root root 2630 Jun 3 17:20 buildfix_kernel_4.8.patch
-rw-r--r-- 1 root root 888 Jun 3 17:20 buildfix_kernel_4.9_amd64_only.patch
-rw-r--r-- 1 root root 3179 Jun 3 17:20 buildfix_kernel_4.9.patch
-rw-r--r-- 1 root root 1503 Jun 3 17:20 make-use-of-the-new-uapi-framework.patch
-rw-r--r-- 1 root root 2589 Jun 3 17:20 register-VT-switch-requirements.patch
-rw-r--r-- 1 root root 829 Jun 3 17:20 replace-VM_RESERVED-with-VM_DONTEXPAND-and-VM_DONTDU.patch
navin@linux:~$
========================END===============================

Revision history for this message
Manfred Hampl (m-hampl) said :
#48

Where is the output of the command

dkms status

?

Please provide also the output of the commands

uname -a
dpkg -l | grep anbox
dpkg -l | grep nvidia
apt-cache policy anbox-modules-dkms
apt-cache policy nvidia-375

Revision history for this message
Navin Talati (n-m-talati) said :
#49

Output of all above commands (as in #48) is as under:

==================OUTPUT==================
navin@linux:~$ dkms status
Error! Could not locate dkms.conf file.
File: does not exist.

navin@linux:~$ uname -a
Linux linux 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
navin@linux:~$
navin@linux:~$ dpkg -l | grep anbox
navin@linux:~$
navin@linux:~$ dpkg -l | grep nvidia
ii nvidia-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA binary driver - version 375.66
ii nvidia-opencl-icd-375 375.66-0ubuntu0.16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 361.42-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver

navin@linux:~$ apt-cache policy anbox-modules-dkms
anbox-modules-dkms:
  Installed: (none)
  Candidate: 7~xenial1
  Version table:
     7~xenial1 500
        500 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/morphis/anbox-support/ubuntu xenial/main i386 Packages

navin@linux:~$ apt-cache policy nvidia-375
nvidia-375:
  Installed: 375.66-0ubuntu0.16.04.1
  Candidate: 375.66-0ubuntu0.16.04.1
  Version table:
 *** 375.66-0ubuntu0.16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
        100 /var/lib/dpkg/status
navin@linux:~$
=====================END==================

Resolution issue is the same as in #47.

Thanks.

Revision history for this message
Manfred Hampl (m-hampl) said :
#50

There seems to be another problem:
Your dkms system seems misconfigured, or impaired by old files (assumedly from a broken uninstallation).

I see that you have a PPA morphis/anbox-support activated, but apparently no package is currently installed from that source.
There are, however, files from a previous installation below the /var/lib/dkms directory.

Can you tell anything about this anbox installation, especially details about how you tried uninstalling it?
Remark: I am not talking about the anbox-installer snap package, but about anbox-modules-ashmem and anbox-modules-binder.

I assume that it will be necessary to manually delete the obsolete anbox files and directories from the dkms directory to bring dkms back into operation. (This will hopefully help getting the NVidia package correctly installed, which in turn should help with the resolution issue).

Revision history for this message
Navin Talati (n-m-talati) said :
#51

1.
I do not remember anything about the installation/uninstallation of the captioned anbox packages (i.e. about anbox-modules-ashmem and anbox-modules-binder).

2.
Can I find it from my system by applying some stuff? If yes, kindly give me concerned command lines.

3.
I tried by deselecting the PPA morphis/anbox-support from settings and updating and upgrading, but no reseult is obtained. Now it is reselected by checking its box in settings.

4.
Is there any way to install the missing packages ( all which are not installed) from PPA morphis/anbox-support ?

5.
How to manually delete the obsolete anbox files and directories from the dkms directory to bring dkms back into operation ?

6.
Can I find these through SPM (Synaptic Package Manager)?

7.
Regarding display, some information could be obtained by a command as I little remember is given for you information as under. Probably may be useful.

============OUTPUT==============
navin@linux:~$ sudo lshw -C display
[sudo] password for navin:
  *-display UNCLAIMED
       description: VGA compatible controller
       product: GF108 [GeForce GT 520]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:fd000000-fdffffff memory:f0000000-f7ffffff memory:f8000000-f9ffffff ioport:dc00(size=128) memory:feb00000-feb7ffff
navin@linux:~$
===============END==============

8.
Can we put some lines and contents in file "xorg.conf" by opening it through command "gksudo gedit /etc/X11/xorg.conf" ?

9.
Can I select the older (4.4.0-22-generic) kernel from the grub boot menu to reset the resolution as earlier ?

Regards.
Navin Talati /06-07-2017

Revision history for this message
Manfred Hampl (m-hampl) said :
#52

I suggest that you delete the obsolete files from the dkms directory

sudo rm -rf /var/lib/dkms/anbox-modules-ashmem
sudo rm -rf /var/lib/dkms/anbox-modules-binder

Then check whether this helps by re-issuing the commands

dkms status
sudo apt-get install --reinstall linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic

and report the results.

Revision history for this message
Navin Talati (n-m-talati) said :
#53

Results of the above commands are as under:

=================RESULTS==================
navin@linux:~$ sudo rm -rf /var/lib/dkms/anbox-modules-ashmem
[sudo] password for navin:
navin@linux:~$ sudo rm -rf /var/lib/dkms/anbox-modules-binder
navin@linux:~$ dkms status
bbswitch, 0.8, 4.4.0-45-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-72-generic, x86_64: installed
nvidia-375, 375.66, 4.4.0-78-generic, x86_64: installed
navin@linux:~$ sudo apt-get install --reinstall linux-image-4.4.0-83-generic linux-image-extra-4.4.0-83-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  glade2script libmircommon5 libopenshot11
  linux-headers-4.4.0-22 linux-headers-4.4.0-22-generic
  linux-headers-4.4.0-77 linux-headers-4.4.0-77-generic
  linux-headers-4.4.0-78 linux-headers-4.4.0-78-generic
  linux-image-4.4.0-22-generic
  linux-image-4.4.0-77-generic
  linux-image-4.4.0-78-generic
  linux-image-extra-4.4.0-22-generic
  linux-image-extra-4.4.0-77-generic
  linux-image-extra-4.4.0-78-generic pastebinit
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/57.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 485040 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-83-generic (4.4.0-83.106) over (4.4.0-83.106) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Preparing to unpack .../linux-image-extra-4.4.0-83-generic_4.4.0-83.106_amd64.deb ...
Unpacking linux-image-extra-4.4.0-83-generic (4.4.0-83.106) over (4.4.0-83.106) ...
Setting up linux-image-4.4.0-83-generic (4.4.0-83.106) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(4.4.0-83.106 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(4.4.0-83.106 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-83-generic
Found initrd image: /boot/initrd.img-4.4.0-83-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
Setting up linux-image-extra-4.4.0-83-generic (4.4.0-83.106) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-83-generic
Found initrd image: /boot/initrd.img-4.4.0-83-generic
Found linux image: /boot/vmlinuz-4.4.0-22-generic
Found initrd image: /boot/initrd.img-4.4.0-22-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found Windows 7 (loader) on /dev/sdb1
Found Ubuntu 15.10 (15.10) on /dev/sdc3
Found 1TB S-ATA Microsoft Windows XP Professional on /dev/sdd1
Found Windows 7 (loader) on /dev/sde1
done
navin@linux:~$
======================END================

I am restarting the sys. and let you know the onward effect.
Please wait a while...... (next post)

Revision history for this message
Navin Talati (n-m-talati) said :
#54

(continue.......#53)
.........YES !
The monitor is assessed in the settings and the resolution is set back to its original (1920X1080, with aspect ratio 16:9.
THANK YOU VERY VERY MUCH, SIR.
I heart-fully appreciate your pains taking job through out the whole issue.
Your tireless quick responsive attitude is really admirable.

Once Again THANKS and REGARDS.

Any further refinement is required in this setup?

Revision history for this message
Manfred Hampl (m-hampl) said :
#55

1. Back to original contents of this question document, do you still see a message "Failed to start load Kernel Modules" somewhere?

2. The files from the different kernel versions are spread between the /boot partition (sda1) and the /boot directory of sda5 (currently inaccessible because the /boot partition is mounted there; what you now see there is the /boot partition).
I do not expect that this will create problems, but you should keep that in mind.
I suggest that you wait for one or even better two new versions of the kernel packages and install these updates normally. As soon as there are three new versions of the kernel files on the /boot partition, you should try to clean up the old ones with the "apt-get --purge autoremove" command. I cannot predict whether that will show errors or not.

If you are satisfied with the current situation and if the system is stable and working as desired, you could set the status of this question document to "solved".

Revision history for this message
Navin Talati (n-m-talati) said :
#56

Yes, we should not miss the original content of this question.

1.
Now there is no more any message appears like "Failed to start load Kernel Modules" anywhere. So that is solved.

2.
The resolution issue which was appeared during the processing of solving the original question is reset properly and seems quite o.k.

3.
Using “Disks” application, /dev/sda1 ----> appears as Linux (Bootable) Type Partition having Contents: Ext4(version 1.0) – Mounted at /boot. It contains 2 Folders and 18 Files (and others).
Partition /dev/sda4 is an Extended Partition including only /dev/sda5 in it as a Data partition.
As I am operating the system for last 3-4 days and booting it from differend HDD/OS, any problem is not appeared. It works normally and upto the expectation.

4.
Your suggestion regarding waiting for few Kernel updates and then removing the older ones is quite appropriate and seems most suitable to me too. I shell follow it.

CONCLUSION:
I would like to conclude tthat he original question regarding error message as in above 1 is solved. The system seems stable and works as desired. So I set the status of this question document as "solved".
Once Again many many THANKS and REGARDS for your tireless quick responsive attitude and HELP.
Navin Talati /08-07-2017