LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2019, 02:25 PM   #1
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Rep: Reputation: 17
Ubuntu won't boot after upgrade


This is the message which comes up when I try to boot:

GNU GRUB version 2.02

Minimal BASH-like line editing is supported. For the first Word, TAB
lists possible command completions. Anywhere else TAB lists possible
device or file completions.

grub>

I have tried "insmod normal", "normal" commands, with the necessary "set root"
and other commands suggested on the Internet, with no success.

I can boot into Ubuntu from a USB stick, but I would like the grub commands
back that I had before, which included the ability to boot from Windows.

Thanks.
 
Old 01-26-2019, 05:42 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
you can use
Code:
 set
to tell where grub is looking for its boot files.
Code:
 ls
will list the available partitions.
If you know what partition your system is on at the grub prompt
Code:
set root=(hd0,?)
linux /vmlinuz root=/dev/sda?
initrd /initrd.img
the hd0,? counts partitions starting from 0, the sda? counts from 1 assuming you only have one harddrive.
 
Old 01-26-2019, 07:44 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
You could try an "update-grub."

https://askubuntu.com/questions/2811...un-update-grub
 
Old 01-27-2019, 07:46 PM   #4
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
I was looking over a previous post of mine:
https://www.linuxquestions.org/quest...en-4175639093/

I decided to give that code a try again, where I am reinstalling grub. The following are the results from the terminal prompt:

Code:
len@ ~ $ sudo apt-get --reinstall install grub-pc
[sudo] password for len: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  grub-efi-amd64-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  grub-gfxpayload-lists grub-pc-bin
Suggested packages:
  desktop-base
The following packages will be REMOVED:
  grub-efi-amd64 grub-efi-amd64-signed
The following NEW packages will be installed:
  grub-gfxpayload-lists grub-pc grub-pc-bin
0 upgraded, 3 newly installed, 2 to remove and 494 not upgraded.
Need to get 1,090 kB of archives.
After this operation, 71.7 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://packages.linuxmint.com sylvia/upstream amd64 grub-pc-bin amd64 2.02~beta2-36ubuntu3.14+linuxmint1 [889 kB]
Get:2 http://packages.linuxmint.com sylvia/upstream amd64 grub-pc amd64 2.02~beta2-36ubuntu3.14+linuxmint1 [197 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 grub-gfxpayload-lists amd64 0.7 [3,658 B]
Fetched 1,090 kB in 0s (4,259 kB/s)              
Preconfiguring packages ...
(Reading database ... 201922 files and directories currently installed.)
Removing grub-efi-amd64-signed (1.66.14+2.02~beta2-36ubuntu3.14+linuxmint1) ...
Removing grub-efi-amd64 (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Selecting previously unselected package grub-pc-bin.
(Reading database ... 201911 files and directories currently installed.)
Preparing to unpack .../grub-pc-bin_2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-pc-bin (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Selecting previously unselected package grub-gfxpayload-lists.
Preparing to unpack .../grub-gfxpayload-lists_0.7_amd64.deb ...
Unpacking grub-gfxpayload-lists (0.7) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../grub-pc_2.02~beta2-36ubuntu3.14+linuxmint1_amd64.deb ...
Unpacking grub-pc (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up grub-pc-bin (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Setting up grub-pc (2.02~beta2-36ubuntu3.14+linuxmint1) ...
Installing for i386-pc platform.
grub-install.real: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install.real: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Installing for i386-pc platform.
grub-install.real: warning: File system `ext2' doesn't support embedding.
grub-install.real: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Installing for i386-pc platform.
grub-install.real: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install.real: error: embedding is not possible, but this is required for cross-disk install.
Installing for i386-pc platform.
grub-install.real: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install.real: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Installing for i386-pc platform.
grub-install.real: warning: File system `ext2' doesn't support embedding.
grub-install.real: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Failed to probe /dev/sda2 for filesystem type
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 18.3 Sylvia (18.3) on /dev/sda5
Found Ubuntu 18.04.1 LTS (18.04) on /dev/sda7
Found linux image: /boot/vmlinuz-4.10.0-38-generic
Found initrd image: /boot/initrd.img-4.10.0-38-generic
Failed to probe /dev/sda2 for filesystem type
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Found Linux Mint 18.3 Sylvia (18.3) on /dev/sda5
Found Ubuntu 18.04.1 LTS (18.04) on /dev/sda7
Adding boot menu entry for EFI firmware configuration
done
Setting up grub-gfxpayload-lists (0.7) ...
len ~ $
It seems to have worked. I will now try a reboot, see what happens, and post back here when I find out.
 
Old 01-27-2019, 08:08 PM   #5
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
No joy. It's important to note that I had the impression from my previous problem that it was necessary to try all fixes on the Linux partition that has control, in my case, the Linux Mint partition. But hydrurga, in the post quoted above, suggested trying the update-grub on the Ubuntu partition. So I will try that, and post back here with the results.
 
Old 01-27-2019, 08:19 PM   #6
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
When I booted into Ubuntu, I remembered that you can use "sudo efibootmgr -o" to change the boot order. While I'm not sure that Ubuntu is the partition where I should be trying this (Linux Mint was installed first on my system, and before this problem, that was where I found that I needed to make all changes to boot order), I decided to try it while I was there.

Here is the result of running the efibootmgr command:

Code:
len@len-Satellite-E45t-A:~$ sudo efibootmgr -o 0001,0002,0000,0007,0004,0006
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0001,0002,0000,0007,0004,0006
Boot0000* ubuntu
Boot0001* UEFI:CD/DVD Drive
Boot0002* UEFI:USB Device
Boot0003* UEFI:Network Device
Boot0004* Linux
Boot0005* UEFI: IP4 Realtek PCIe GBE Family Controller
Boot0006* UEFI: IP6 Realtek PCIe GBE Family Controller
Boot0007* Windows Boot Manager
len@len-Satellite-E45t-A:~$
I'll post back with results after I reboot.
 
Old 01-27-2019, 08:28 PM   #7
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
Still no joy. So now I will try the same thing in the Linux Mint partition.

Here's what I executed in the terminal prompt of Mint:

Code:
len@ ~ $ sudo efibootmgr -o 0001,0002,0000,0007,0004,0003,0005,0006
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0001,0002,0000,0007,0004,0003,0005,0006
Boot0000* ubuntu
Boot0001* UEFI:CD/DVD Drive
Boot0002* UEFI:USB Device
Boot0003* UEFI:Network Device
Boot0004* Linux
Boot0005* UEFI: IP4 Realtek PCIe GBE Family Controller
Boot0006* UEFI: IP6 Realtek PCIe GBE Family Controller
Boot0007* Windows Boot Manager
Back in a few....
 
Old 01-27-2019, 08:40 PM   #8
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
Still no joy.

Help! I'm not going in the right direction.
 
Old 01-27-2019, 08:49 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,121

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Stop flailing around changing things - give us some real data to work with.
From a booted Linux (even live mode is ok), check if bootinfo script is installed - if it is run it and post the output here. Else go here and do as it says. Post the RESULTS.txt

That will show us in detail what you current setup is. If you don't change it.
 
Old 01-27-2019, 10:57 PM   #10
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
syg00, thanks for your suggestion. Here is the partial output of my bootinfoscript (the full output is in the next post):

Code:
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume2: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume3: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume4: unknown filesystem type ''.

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Last edited by coderlen; 01-27-2019 at 11:12 PM.
 
Old 01-27-2019, 11:12 PM   #11
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
syg00, the previous post I didn't get all the output in. Here is the complete output from bootinfoscript. LQ forced me to delete most of the bottom of the output, but it just looks like a reprint of the script code:

Code:
                  Boot Info Script 0.61      [1 April 2012]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 
    1103377072 of the same hard drive for core.img. core.img is at this 
    location and looks in partition 97 for .
 => No boot loader is installed in the MBR of /dev/sdb.
 => No known boot loader is installed in the MBR of 
    /dev/mapper/isw_dbjaehfgig_Cache_Volume.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /grub/grub.cfg /efi/BOOT/bkpbootx64.efi 
                       /efi/BOOT/bootx64.efi /efi/BOOT/fbx64.efi 
                       /efi/pclinuxos/grubx64.efi /efi/ubuntu/fwupx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Linux Mint 18.3 Sylvia
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda6 
                       and looks at sector 1103369376 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 97 for .
    Operating System:  Linux Mint 18.3 Sylvia
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sda7 
                       and looks at sector 1887018224 of the same hard drive 
                       for core.img. core.img is at this location and looks 
                       in partition 85 for .
    Operating System:  Ubuntu 18.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda8: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
mount: /tmp/BootInfo-HA2VJWT1/sdb1: unknown filesystem type ''.

isw_dbjaehfgig_Cache_Volume1: __________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
mount: /tmp/BootInfo-HA2VJWT1/sdb1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume1: unknown filesystem type ''.

isw_dbjaehfgig_Cache_Volume2: __________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
mount: /tmp/BootInfo-HA2VJWT1/sdb1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume2: unknown filesystem type ''.

isw_dbjaehfgig_Cache_Volume3: __________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
mount: /tmp/BootInfo-HA2VJWT1/sdb1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume2: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume3: unknown filesystem type ''.

isw_dbjaehfgig_Cache_Volume4: __________________________________________________

    File system:       
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /tmp/BootInfo-HA2VJWT1/sda2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
mount: /tmp/BootInfo-HA2VJWT1/sdb1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume1: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume2: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume3: unknown filesystem type ''.
mount: /tmp/BootInfo-HA2VJWT1/isw_dbjaehfgig_Cache_Volume4: unknown filesystem type ''.

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2       1,050,624     1,083,391        32,768 Microsoft Reserved Partition (Windows)
/dev/sda3       1,083,392   505,039,486   503,956,095 Data partition (Windows/Linux)
/dev/sda4     505,040,896   506,660,863     1,619,968 Windows Recovery Environment (Windows)
/dev/sda5     506,662,912   989,792,255   483,129,344 Data partition (Linux)
/dev/sda6     989,792,256 1,475,376,147   485,583,892 Data partition (Linux)
/dev/sda7   1,475,377,152 1,941,118,975   465,741,824 Data partition (Linux)
/dev/sda8   1,941,118,976 1,953,523,711    12,404,736 Swap partition (Linux)

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 29.8 GiB, 32017047552 bytes, 62533296 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sdb1 ends after the last sector of /dev/sdb

GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048    23,523,327    23,521,280 -

Drive: isw_dbjaehfgig_Cache_Volume _____________________________________________________________________
Disk /dev/mapper/isw_dbjaehfgig_Cache_Volume: 18.6 GiB, 19967115264 bytes, 38998272 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

Invalid MBR Signature found.
/dev/mapper/isw_dbjaehfgig_Cache_Volume1    ?           224 1,790,968,031 1,790,967,808  40 Venix 80286
/dev/mapper/isw_dbjaehfgig_Cache_Volume2    ?    18,808,832 1,345,126,399 1,326,317,568   0 Empty
/dev/mapper/isw_dbjaehfgig_Cache_Volume3      3,690,856,448 3,690,912,765        56,318   0 Empty
/dev/mapper/isw_dbjaehfgig_Cache_Volume4   *  2,041,905,024 2,041,905,074            51   4 FAT16 <32M

/dev/mapper/isw_dbjaehfgig_Cache_Volume1 ends after the last sector of /dev/mapper/isw_dbjaehfgig_Cache_Volume
/dev/mapper/isw_dbjaehfgig_Cache_Volume1 overlaps with /dev/mapper/isw_dbjaehfgig_Cache_Volume2
/dev/mapper/isw_dbjaehfgig_Cache_Volume2 ends after the last sector of /dev/mapper/isw_dbjaehfgig_Cache_Volume
/dev/mapper/isw_dbjaehfgig_Cache_Volume3 ends after the last sector of /dev/mapper/isw_dbjaehfgig_Cache_Volume
/dev/mapper/isw_dbjaehfgig_Cache_Volume4 ends after the last sector of /dev/mapper/isw_dbjaehfgig_Cache_Volume

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop10                                             squashfs   
/dev/loop11                                             squashfs   
/dev/loop12                                             squashfs   
/dev/loop13                                             squashfs   
/dev/loop14                                             squashfs   
/dev/loop15                                             squashfs   
/dev/loop16                                             squashfs   
/dev/loop17                                             squashfs   
/dev/loop18                                             squashfs   
/dev/loop19                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop20                                             squashfs   
/dev/loop21                                             squashfs   
/dev/loop22                                             squashfs   
/dev/loop23                                             squashfs   
/dev/loop24                                             squashfs   
/dev/loop25                                             squashfs   
/dev/loop26                                             squashfs   
/dev/loop27                                             squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/sda1        9A71-2F41                              vfat       
/dev/sda2        b5bd67f1-3d5c-43c2-b3e5-be96ea757964   ext4       
/dev/sda3        38B62C33B62BF054                       ntfs       
/dev/sda4        D8BEFC80BEFC5888                       ntfs       
/dev/sda5        3a33bc5f-3c05-4552-b329-4d04f3621a0a   ext4       
/dev/sda6        97b75153-cb79-4640-9454-09db97d22024   ext4       
/dev/sda7        e736704a-58d5-4918-be4f-95f9f0e35b12   ext4       
/dev/sda8        40312e33-2641-4aef-af39-2515299be834   swap       
/dev/sdb1                                                          

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda7        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)


============================= 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_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  e736704a-58d5-4918-be4f-95f9f0e35b12
else
  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
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=C
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  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=1
	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

### 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+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Linux Mint 18.3 Sylvia (18.3) (on /dev/sda4)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
	else
	  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
	fi
	linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
	initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda4)' $menuentry_id_option 'osprober-gnulinux-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
	menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff init=/sbin/upstart
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic-root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset
		initrd /boot/initrd.img-4.10.0-38-generic
	}
}

menuentry 'Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-97b75153-cb79-4640-9454-09db97d22024' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
	else
	  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
	fi
	linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-97b75153-cb79-4640-9454-09db97d22024' {
	menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
		else
		  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
		fi
 
Old 01-28-2019, 05:32 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
please post the bottom part of the output. From the looks of what you have already posted your mixing efi and legacy booting and have attempted to install grub in legacy mode on a gpt disk. It is best not to mix efi and legacy. To install grub to a gpt disk in legacy mode you need a 1mb partition flagged bios-grub
 
Old 01-28-2019, 07:55 AM   #13
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
colorpurple21859, I had to do this in pieces, as LQ won't let me post over 30,000 characters. I know there's a better way to do this with a link, but I just want to get this out there for you. Thanks.
[code]
'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda4)' $menuentry_id_option 'osprober-gnulinux-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode) (on /dev/sda4)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic-root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset
initrd /boot/initrd.img-4.10.0-38-generic
}
}

menuentry 'Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-97b75153-cb79-4640-9454-09db97d22024' {
menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic-root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset-97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset
initrd /boot/initrd.img-4.10.0-38-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 ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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)


=========================== sda5/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_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
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=C
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=10
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_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 'Linux Mint 18.3 KDE 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 KDE 64-bit' $menuentry_id_option 'gnulinux-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
echo 'Loading Linux 4.10.0-38-generic ...'
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-init-upstart-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
echo 'Loading Linux 4.10.0-38-generic ...'
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro quiet splash $vt_handoff init=/sbin/upstart
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-recovery-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 3a33bc5f-3c05-4552-b329-4d04f3621a0a
else
search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
fi
echo 'Loading Linux 4.10.0-38-generic ...'
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.10.0-38-generic
}
}

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

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}

menuentry "EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/BOOT/fbx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "EFI/EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/EFI/BOOT/fbx64.efi
}

menuentry "EFI/EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A71-2F41' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 9A71-2F41
else
search --no-floppy --fs-uuid --set=root 9A71-2F41
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-97b75153-cb79-4640-9454-09db97d22024' {
menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.10.0-38-generic
}
menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic-root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset-97b75153-cb79-4640-9454-09db97d22024' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
fi
linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset
initrd /boot/initrd.img-4.10.0-38-generic
}
}

menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e736704a-58d5-4918-be4f-95f9f0e35b12' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 e736704a-58d5-4918-be4f-95f9f0e35b12
else
search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
fi
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-20-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-e736704a-58d5-4918-be4f-95f9f0e35b12' {
menuentry 'Ubuntu (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--e736704a-58d5-4918-be4f-95f9f0e35b12' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 e736704a-58d5-4918-be4f-95f9f0e35b12
else
search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
fi
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-20-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-20-generic (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--e736704a-58d5-4918-be4f-95f9f0e35b12' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 e736704a-58d5-4918-be4f-95f9f0e35b12
else
search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
fi
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-20-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic-root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro recovery nomodeset-e736704a-58d5-4918-be4f-95f9f0e35b12' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 e736704a-58d5-4918-be4f-95f9f0e35b12
else
search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
fi
linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-20-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 ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda5/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/sda5 during installation
UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=9A71-2F41 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda3 during installation
UUID=40312e33-2641-4aef-af39-2515299be834 none swap sw 0 0
UUID=9A71-2F41 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)


=========================== sda6/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_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 97b75153-cb79-4640-9454-09db97d22024
else
search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
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_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

Last edited by coderlen; 01-28-2019 at 07:56 AM.
 
Old 01-28-2019, 07:59 AM   #14
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
Code:
### 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 'Linux Mint 18.3 KDE 64-bit' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
	else
	  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
	fi
        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 KDE 64-bit' $menuentry_id_option 'gnulinux-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-advanced-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-init-upstart-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-38-generic-recovery-3a33bc5f-3c05-4552-b329-4d04f3621a0a' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt4'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  3a33bc5f-3c05-4552-b329-4d04f3621a0a
		else
		  search --no-floppy --fs-uuid --set=root 3a33bc5f-3c05-4552-b329-4d04f3621a0a
		fi
		echo	'Loading Linux 4.10.0-38-generic ...'
	        linux	/boot/vmlinuz-4.10.0-38-generic root=UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-38-generic
	}
}

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

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "EFI/BOOT/bkpbootx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/BOOT/bkpbootx64.efi
}

menuentry "EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/BOOT/fbx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/ubuntu/mmx64.efi
}

menuentry "EFI/EFI/BOOT/fbx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/EFI/BOOT/fbx64.efi
}

menuentry "EFI/EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root 9A71-2F41
chainloader (${root})/EFI/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-9A71-2F41' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  9A71-2F41
	else
	  search --no-floppy --fs-uuid --set=root 9A71-2F41
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-97b75153-cb79-4640-9454-09db97d22024' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
	else
	  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
	fi
	linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-4.10.0-38-generic
}
submenu 'Advanced options for Linux Mint 18.3 Sylvia (18.3) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-97b75153-cb79-4640-9454-09db97d22024' {
	menuentry 'Linux Mint 18.3 KDE 64-bit (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
		else
		  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
		else
		  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (upstart) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic--97b75153-cb79-4640-9454-09db97d22024' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
		else
		  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro quiet splash $vt_handoff init=/sbin/upstart
		initrd /boot/initrd.img-4.10.0-38-generic
	}
	menuentry 'Linux Mint 18.3 KDE 64-bit, with Linux 4.10.0-38-generic (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.10.0-38-generic-root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset-97b75153-cb79-4640-9454-09db97d22024' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  97b75153-cb79-4640-9454-09db97d22024
		else
		  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
		fi
		linux /boot/vmlinuz-4.10.0-38-generic root=UUID=97b75153-cb79-4640-9454-09db97d22024 ro recovery nomodeset
		initrd /boot/initrd.img-4.10.0-38-generic
	}
}
 
Old 01-28-2019, 07:59 AM   #15
coderlen
Member
 
Registered: May 2018
Location: Greenwood, IN
Distribution: antiX
Posts: 151

Original Poster
Rep: Reputation: 17
Code:
menuentry 'Ubuntu 18.04 LTS (18.04) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e736704a-58d5-4918-be4f-95f9f0e35b12' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  e736704a-58d5-4918-be4f-95f9f0e35b12
	else
	  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
	fi
	linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
	initrd /boot/initrd.img-4.15.0-20-generic
}
submenu 'Advanced options for Ubuntu 18.04 LTS (18.04) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-e736704a-58d5-4918-be4f-95f9f0e35b12' {
	menuentry 'Ubuntu (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--e736704a-58d5-4918-be4f-95f9f0e35b12' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  e736704a-58d5-4918-be4f-95f9f0e35b12
		else
		  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
		fi
		linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
		initrd /boot/initrd.img-4.15.0-20-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-20-generic (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic--e736704a-58d5-4918-be4f-95f9f0e35b12' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  e736704a-58d5-4918-be4f-95f9f0e35b12
		else
		  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
		fi
		linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
		initrd /boot/initrd.img-4.15.0-20-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-20-generic-root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro recovery nomodeset-e736704a-58d5-4918-be4f-95f9f0e35b12' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  e736704a-58d5-4918-be4f-95f9f0e35b12
		else
		  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
		fi
		linux /boot/vmlinuz-4.15.0-20-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro recovery nomodeset
		initrd /boot/initrd.img-4.15.0-20-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 ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda5/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/sda5 during installation
UUID=3a33bc5f-3c05-4552-b329-4d04f3621a0a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=9A71-2F41  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
UUID=40312e33-2641-4aef-af39-2515299be834 none            swap    sw              0       0
UUID=9A71-2F41	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


=========================== sda6/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_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  97b75153-cb79-4640-9454-09db97d22024
else
  search --no-floppy --fs-uuid --set=root 97b75153-cb79-4640-9454-09db97d22024
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_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux_proxy ###

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



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

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Ubuntu 18.04 LTS (18.04) (on /dev/sda7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e736704a-58d5-4918-be4f-95f9f0e35b12' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  e736704a-58d5-4918-be4f-95f9f0e35b12
	else
	  search --no-floppy --fs-uuid --set=root e736704a-58d5-4918-be4f-95f9f0e35b12
	fi
	linux /boot/vmlinuz-4.15.0-22-generic root=UUID=e736704a-58d5-4918-be4f-95f9f0e35b12 ro i8042.reset quiet splash $vt_handoff
	initrd /boot/initrd.img-4.15.0-22-generic
}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Gutsy: won't boot. error message after boot begins: "metapage_read_end_io: I/o brjoon1021 Linux - Newbie 1 04-01-2008 09:19 AM
After Installation Slackware Won't Boot & Lilo won't install nikiiliev Slackware - Installation 6 03-04-2006 12:24 AM
MDK Won't Boot After BIOS Upgrade Sylant_Daemon Mandriva 1 12-05-2004 11:39 AM
Lilo won't boot XP after kernel upgrade jafriede Slackware 6 09-22-2004 01:35 PM
Slack 9.1 won't boot after Swaret upgrade Glock Shooter Slackware 12 03-27-2004 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration