Partition boot screen does not show up

Questions specific to the KDE DE go here
User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Partition boot screen does not show up

Postby iridesce » 10 Jan 2019 21:46

Greetings,

Hope all had a great holiday season.

Have run into a weird situation. I was trying to boot into a different partition and when I rebooted the machine the partition boot screen that shows up prior to choosing/booting into a partition never showed up.

Fortunately the machine did boot into the default partition so I am able to use that partition.

Any ideas of what to do next ???

Thanks for looking at my post and hopefully for your assistance

User avatar
ilu
Posts: 2491
Joined: 09 Oct 2013 12:45

Re: Partition boot screen does not show up

Postby ilu » 11 Jan 2019 03:14

Nobody can help you if you don't give any information. Which partition contains what? At least include the output of fdisk -l.

User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Re: Partition boot screen does not show up

Postby iridesce » 11 Jan 2019 23:04

Thanks for the assistance ilu, didn't think to start here. I've never dealt with such a situation.

Please let me know if I can supply any other code.

Code: Select all

root@machine:/home/user# fdisk -l
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: 0xe00a5f01

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048   8390655   8388608     4G 83 Linux
/dev/sda2         8390656 455628799 447238144 213.3G 83 Linux
/dev/sda3       455628800 488396799  32768000  15.6G 82 Linux swap / Sol

Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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
Disk identifier: D767C432-8EDE-409C-8FEA-3C01C73E1F73

Device         Start       End   Sectors   Size Type
/dev/sdb1       2048 505733119 505731072 241.2G Linux filesystem
/dev/sdb2  505733120 944005119 438272000   209G Linux filesystem
/dev/sdb3  944005120 976773119  32768000  15.6G Linux swap

sda2 is the default partition that is booted into currently. sdb1 is the partition I want to also to be able to boot into.

My original thought was it had something to do with a grub setting or in that area of software I can repair.

Another thing is that the graphics card splash screen no longer momentarily displays during the boot sequence.
I did do an email into the thinkpenguin folks who built the box, asking if they recognize the symptoms. They responded that I shouldn't worry about it atm and that if it doesn't boot at all, just email for a RMA .... it's only our work computer ....

Did do the 'remove the motherboard battery for 10 minutes' and no joy.

Also, if you can think of a better subject line, please let me know.

Appreciate your sharing your knowledge and troubleshooting abilities.

User avatar
ilu
Posts: 2491
Joined: 09 Oct 2013 12:45

Re: Partition boot screen does not show up

Postby ilu » 12 Jan 2019 05:35

You still did not say what is on the partitions you want to boot. I'ts all Linux but which distro is where? Which one was installed first? EFI or BIOS?

Anyway, I can already see a problem: sda is of DOS type and has a BIOS install. sdb is of GPT type and probably has an EFI install but the EFI partition is gone. Mixing this will most likely cause problems. Either have only BIOS installs or only EFI installs. So check whether sdb is really EFI by looking for the file /sys/firmware/efi on sdb. If it's BIOS we'll have to look for another cause of the problem.

You can also execute /usr/bin/bootinfoscript from the SolydXK install and have a look at the output, I don't remember whether it shows EFI/BIOS.

User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Re: Partition boot screen does not show up

Postby iridesce » 14 Jan 2019 18:53

Thanks for following this thread and troubleshooting ilu.

A bit of history perhaps is in order.

I bought the box from thinkpenguin in September of last year. It came with the current SoldyK version installed on sda2 and I put SolydK on sdb1. sdb2 is strictly storage though I did format in ext4.

The situation is that it ran fine until I wanted to do a backup of sda2 by logging into sdb1 and using luckybackup last week. I had previously gone through this procedure on a weekly basis since I got the box and until now everything went fine ( booted, saw the brief gpu splash screen and then the partitiion boot menu ). So, while there is probably validity to your dos/gpt point, until last week it wasn't an issue.

Which is why I'm currently thinking it's a grub issue. As you saw, I can access sda and sdb, so thankfully it's not a show stopper in terms of being able to do work at this point. Are you aware / do you know what areas of grub deal with the production of the partition boot menu? Is it possible to reinstall grub and if so how?

Thanks for any assistance you might be. I do appreciate that I am in over my head atm and that's how we learn I imagine.

User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Re: Partition boot screen does not show up

Postby iridesce » 14 Jan 2019 19:25

Also, as you referenced them

Code: Select all

root@box:/home/user# /sys/firmware/efi
bash: /sys/firmware/efi: No such file or directory

Code: Select all

root@box:/home/user# /usr/bin/bootinfoscript

Boot Info Script 0.61      [1 April 2012]

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Searching sda1 for information... 
Searching sda2 for information... 
Searching sda3 for information... 
Searching sdb1 for information... 
Searching sdb2 for information... 
Searching sdb3 for information... 

Finished. The results are in the file "RESULTS1.txt"
located in "/root/".
/root/RESULTS1.txt

Code: Select all

                  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 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    in partition 85 for .
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  SolydK 9 64-bit
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  SolydK 9 64-bit
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb3: __________________________________________________________________________

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

============================ 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     8,390,655     8,388,608  83 Linux
/dev/sda2           8,390,656   455,628,799   447,238,144  83 Linux
/dev/sda3         455,628,800   488,396,799    32,768,000  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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   976,773,167   976,773,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048   505,733,119   505,731,072 Data partition (Linux)
/dev/sdb2     505,733,120   944,005,119   438,272,000 Data partition (Linux)
/dev/sdb3     944,005,120   976,773,119    32,768,000 Swap partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        807ed27b-117a-4376-96d0-daee9192bf53   ext4       
/dev/sda2        1bce33bd-8db0-4ecb-8013-57843b5ad445   ext4       
/dev/sda3        52ff0d57-e2c7-4780-a994-bb4be2938f6b   swap       linux
/dev/sdb1        495cfee0-2932-4f14-8a34-77abee14bf16   ext4       backup
/dev/sdb2        6245c480-d135-4d5a-99ab-0c8d39b578e8   ext4       
/dev/sdb3        2ee5df37-5834-4929-88d7-141657b4fe0a   swap       swap

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

Device           Mount_Point              Type       Options

/dev/sda2        /                        ext4       (rw,noatime,errors=remount-ro,data=ordered)
/dev/sdb1        /media/rsas/backup       ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)


============================= 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 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  bc14bb5b-7228-4322-99c1-a4a3f21475d5
else
  search --no-floppy --fs-uuid --set=root bc14bb5b-7228-4322-99c1-a4a3f21475d5
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  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=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
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  bc14bb5b-7228-4322-99c1-a4a3f21475d5
else
  search --no-floppy --fs-uuid --set=root bc14bb5b-7228-4322-99c1-a4a3f21475d5
fi
insmod png
if background_image /usr/share/images/desktop-base/desktop-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/07_solydxk_theme ###
set color_normal=white/black
set color_highlight=dark-gray/white
### END /etc/grub.d/07_solydxk_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'SolydK 9 64-bit GNU/Linux' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
	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  807ed27b-117a-4376-96d0-daee9192bf53
	else
	  search --no-floppy --fs-uuid --set=root 807ed27b-117a-4376-96d0-daee9192bf53
	fi
	echo	'Loading Linux 4.9.0-8-amd64 ...'
	linux	/vmlinuz-4.9.0-8-amd64 root=UUID=bc14bb5b-7228-4322-99c1-a4a3f21475d5 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for SolydK 9 64-bit GNU/Linux' $menuentry_id_option 'gnulinux-advanced-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
		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  807ed27b-117a-4376-96d0-daee9192bf53
		else
		  search --no-floppy --fs-uuid --set=root 807ed27b-117a-4376-96d0-daee9192bf53
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/vmlinuz-4.9.0-8-amd64 root=UUID=bc14bb5b-7228-4322-99c1-a4a3f21475d5 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
		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  807ed27b-117a-4376-96d0-daee9192bf53
		else
		  search --no-floppy --fs-uuid --set=root 807ed27b-117a-4376-96d0-daee9192bf53
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/vmlinuz-4.9.0-8-amd64 root=UUID=bc14bb5b-7228-4322-99c1-a4a3f21475d5 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-advanced-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
		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  807ed27b-117a-4376-96d0-daee9192bf53
		else
		  search --no-floppy --fs-uuid --set=root 807ed27b-117a-4376-96d0-daee9192bf53
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/vmlinuz-4.9.0-6-amd64 root=UUID=bc14bb5b-7228-4322-99c1-a4a3f21475d5 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-4.9.0-6-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-recovery-bc14bb5b-7228-4322-99c1-a4a3f21475d5' {
		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  807ed27b-117a-4376-96d0-daee9192bf53
		else
		  search --no-floppy --fs-uuid --set=root 807ed27b-117a-4376-96d0-daee9192bf53
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/vmlinuz-4.9.0-6-amd64 root=UUID=bc14bb5b-7228-4322-99c1-a4a3f21475d5 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-4.9.0-6-amd64
	}
}

### 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 ###
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


=========================== 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 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  1bce33bd-8db0-4ecb-8013-57843b5ad445
else
  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  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=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
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  1bce33bd-8db0-4ecb-8013-57843b5ad445
else
  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
fi
insmod png
if background_image /usr/share/images/desktop-base/desktop-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/07_solydxk_theme ###
set color_normal=white/black
set color_highlight=dark-gray/white
### END /etc/grub.d/07_solydxk_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'SolydK 9 64-bit GNU/Linux' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
	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  1bce33bd-8db0-4ecb-8013-57843b5ad445
	else
	  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
	fi
	echo	'Loading Linux 4.9.0-8-amd64 ...'
	linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for SolydK 9 64-bit GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-advanced-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-recovery-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
}

### 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 ###
menuentry 'SolydK 9 64-bit (9) (on /dev/sdb2)' --class solydxk --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
	else
	  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
	fi
	linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro quiet splash
	initrd /boot/initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for SolydK 9 64-bit (9) (on /dev/sdb2)' $menuentry_id_option 'osprober-gnulinux-advanced-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
	menuentry 'SolydK 9 64-bit GNU/Linux (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro quiet splash
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro quiet splash
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64-root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro quiet splash
		initrd /boot/initrd.img-4.9.0-6-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64-root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single
		initrd /boot/initrd.img-4.9.0-6-amd64
	}
}

### 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: ================================

--------------------------------------------------------------------------------
# <file system>	<mount point>	<type>	<options>	<dump>	<pass>
UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445	/	ext4	rw,errors=remount-ro,noatime	0	1
UUID=52ff0d57-e2c7-4780-a994-bb4be2938f6b	swap	swap	sw	0	0
UUID=2ee5df37-5834-4929-88d7-141657b4fe0a	swap	swap	sw	0	0
UUID=52ff0d57-e2c7-4780-a994-bb4be2938f6b	swap	swap	sw	0	0
UUID=2ee5df37-5834-4929-88d7-141657b4fe0a	swap	swap	sw	0	0

# RAM disks
tmpfs   /tmp                    tmpfs   defaults,noatime,mode=1777              0       0
#tmpfs   /var/cache/apt/archives tmpfs   defaults,noexec,nosuid,nodev,mode=0755  0       0
tmpfs   /var/tmp                tmpfs   defaults,noatime                        0       0
tmpfs   /var/backups            tmpfs   defaults,noatime                        0       0
# Disable /var/log/* tmpfs dirs when enabling tmpfs on /var/log
#tmpfs   /var/log                tmpfs   defaults,noatime                        0       0
#tmpfs   /var/log/apt            tmpfs   defaults,noatime                        0       0
#tmpfs   /var/log/lightdm        tmpfs   defaults,noatime                        0       0
#tmpfs   /var/log/samba          tmpfs   defaults,noatime                        0       0
tmpfs   /var/log/cups           tmpfs   defaults,noatime                        0       0
tmpfs   /var/log/ConsoleKit     tmpfs   defaults,noatime                        0       0
tmpfs   /var/log/clamav         tmpfs   defaults,noatime                        0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


=========================== sdb2/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 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='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
else
  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  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=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
else
  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
fi
insmod png
if background_image /usr/share/images/desktop-base/desktop-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/07_solydxk_theme ###
set color_normal=white/black
set color_highlight=dark-gray/white
### END /etc/grub.d/07_solydxk_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'SolydK 9 64-bit GNU/Linux' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
	else
	  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
	fi
	echo	'Loading Linux 4.9.0-8-amd64 ...'
	linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for SolydK 9 64-bit GNU/Linux' $menuentry_id_option 'gnulinux-advanced-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		echo	'Loading Linux 4.9.0-8-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-8-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-advanced-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode)' --class solydk --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-6-amd64-recovery-6245c480-d135-4d5a-99ab-0c8d39b578e8' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2  6245c480-d135-4d5a-99ab-0c8d39b578e8
		else
		  search --no-floppy --fs-uuid --set=root 6245c480-d135-4d5a-99ab-0c8d39b578e8
		fi
		echo	'Loading Linux 4.9.0-6-amd64 ...'
		linux	/boot/vmlinuz-4.9.0-6-amd64 root=UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8 ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.9.0-6-amd64
	}
}

### 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 ###
menuentry 'SolydK 9 64-bit (9) (on /dev/sda2)' --class solydxk --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
	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  1bce33bd-8db0-4ecb-8013-57843b5ad445
	else
	  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
	fi
	linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro quiet splash
	initrd /boot/initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for SolydK 9 64-bit (9) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
	menuentry 'SolydK 9 64-bit GNU/Linux (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro quiet splash
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64--1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro quiet splash
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-8-amd64-root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		linux /boot/vmlinuz-4.9.0-8-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single
		initrd /boot/initrd.img-4.9.0-8-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64--1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro quiet splash
		initrd /boot/initrd.img-4.9.0-6-amd64
	}
	menuentry 'SolydK 9 64-bit GNU/Linux, with Linux 4.9.0-6-amd64 (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.9.0-6-amd64-root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single-1bce33bd-8db0-4ecb-8013-57843b5ad445' {
		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  1bce33bd-8db0-4ecb-8013-57843b5ad445
		else
		  search --no-floppy --fs-uuid --set=root 1bce33bd-8db0-4ecb-8013-57843b5ad445
		fi
		linux /boot/vmlinuz-4.9.0-6-amd64 root=UUID=1bce33bd-8db0-4ecb-8013-57843b5ad445 ro single
		initrd /boot/initrd.img-4.9.0-6-amd64
	}
}


### 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 ###
--------------------------------------------------------------------------------

=============================== sdb2/etc/fstab: ================================

--------------------------------------------------------------------------------
# <file system>	<mount point>	<type>	<options>	<dump>	<pass>
UUID=6245c480-d135-4d5a-99ab-0c8d39b578e8	/	ext4	rw,errors=remount-ro	0	1
UUID=52ff0d57-e2c7-4780-a994-bb4be2938f6b	swap	swap	sw	0	0
UUID=2ee5df37-5834-4929-88d7-141657b4fe0a	swap	swap	sw	0	0
UUID=52ff0d57-e2c7-4780-a994-bb4be2938f6b	swap	swap	sw	0	0
UUID=2ee5df37-5834-4929-88d7-141657b4fe0a	swap	swap	sw	0	0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-IMjHfWvs/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-IMjHfWvs/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-IMjHfWvs/Tmp_Log: No such file or directory


So, evidently I was wrong, sdb2 is bootable and sdb1 the file storage area . Past that I don't know.

Thanks for looking at this.

User avatar
ilu
Posts: 2491
Joined: 09 Oct 2013 12:45

Re: Partition boot screen does not show up

Postby ilu » 16 Jan 2019 07:01

You shouldn't edit the grub configuration manually. Have you tried update-grub yet? Sorry I did not mention that earlier.

And of course you can reinstall grub. Arjen has a guide here: viewtopic.php?f=5&t=7402&p=69202. Since you can still boot, it should only be

Code: Select all

grub-install /dev/sda
update-grub
The msdos/gpt point is only relevant if it coincides with BIOS/UEFI (which it often does) and of course not if things worked ok before - which is why information is important for troubleshooting.

User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Re: Partition boot screen does not show up

Postby iridesce » 29 Jan 2019 17:32

Thanks for your idea @ilu.

I've been gone, so hadn't been able to get back till now.

I did the grub-install and updated grub.

Still unable to view either the momentary gpu splash screen, bios screen or SolydK partition screen during boot up.

Maybe a bios issue ??

We appreciate your taking time to help me work through this. If you have any further ideas, please share them.

User avatar
ilu
Posts: 2491
Joined: 09 Oct 2013 12:45

Re: Partition boot screen does not show up

Postby ilu » 29 Jan 2019 23:22

I did not have time to look more closely at the results.txt of bootinfoscript until now. I still can't tell you what's wrong but I noticed several more strange things.
1. Why is there a grub.cfg on sda1? What's on sda1 anyway? This partition has the boot flag.
2. The grub.cfg on sda2 has /etc/grub.d/30_os-prober, which sees the system on sdb2 but I don't think it is loaded.
3. sdb2 also has grub.cfg and also this /etc/grub.d/30_os-prober sees the other system.
4. You should correct sda2/etc/fstab: 4 swap partitions are 3 too many. Remove the doublettes and the wrong one.
5. sdb2/etc/fstab has the same problem sda2 has.

Both systems need to be either efi or bios. So please again check for /sys/firmware/efi on BOTH systems. Mount the second system into /media or /mnt. The filemanager should do that for you.

Code: Select all

 sudo cat /sys/firmware/efi
 cat /<mountpoint>/sys/firmware/efi
 

Do this first. If the systems are of different types one of them has to be reinstalled with the correct type.

Next check sda1 - since this grub is the only one that doesn't have info about the other system on sdb2 I guess that this grub.cfg is executed. Did you say what that partition is for? Find out.

Fix the fstab files whenever you have time. It's necessary but I don't think ist has anything to do with the boot problem.

User avatar
iridesce
Posts: 30
Joined: 14 Jan 2014 04:45
Location: Halfway between the mountains and the ocean, the rainforest and the volcano

Re: Partition boot screen does not show up

Postby iridesce » 30 Jan 2019 17:51

Thanks @ilu, I do appreciate your taking time to investigate this.

Currently I'm engaged in regular end of month and finishing up end of year activities for work. I'll get back to you in a week or so.

Again, we thank you for your sharing of knowledge with us. Have a great week


Return to “KDE specific (SolydK)”

Who is online

Users browsing this forum: No registered users and 1 guest