LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-24-2015, 09:26 AM   #16
boycottsystemd
Member
 
Registered: Aug 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by yancek View Post
I see the bootinfoscript output you posted is well over a year old. I don't know if you've made changes or if it still accurate but Ubuntu clearly shows in the grub.cfg file on the Fedora partition, the Fedora grub.cfg. Look in the directory /boot/efi/EFI/ubuntu to see if you have the correct Ubuntu EFI files.
last part of log:

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 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3e41c472-1646-43e4-a745-5f986842e66a' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt10'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
	else
	  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
	fi
	linux	/boot/vmlinuz-3.13.0-71-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.13.0-71-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-3e41c472-1646-43e4-a745-5f986842e66a' {
	menuentry 'Ubuntu, with Linux 3.13.0-71-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-advanced-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-71-generic ...'
		linux	/boot/vmlinuz-3.13.0-71-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-71-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-71-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-71-generic-recovery-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-71-generic ...'
		linux	/boot/vmlinuz-3.13.0-71-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-71-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-46-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-advanced-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-46-generic ...'
		linux	/boot/vmlinuz-3.13.0-46-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-46-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-46-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-46-generic-recovery-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-46-generic ...'
		linux	/boot/vmlinuz-3.13.0-46-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-46-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-advanced-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
	menuentry 'Ubuntu, with Linux 3.13.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-44-generic-recovery-3e41c472-1646-43e4-a745-5f986842e66a' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10  3e41c472-1646-43e4-a745-5f986842e66a
		else
		  search --no-floppy --fs-uuid --set=root 3e41c472-1646-43e4-a745-5f986842e66a
		fi
		echo	'Loading Linux 3.13.0-44-generic ...'
		linux	/boot/vmlinuz-3.13.0-44-generic.efi.signed root=UUID=3e41c472-1646-43e4-a745-5f986842e66a ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.13.0-44-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Fedora release 23 (Twenty Three) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
	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  40207fcd-3899-4564-9d19-001df4664e1d
	else
	  search --no-floppy --fs-uuid --set=root 40207fcd-3899-4564-9d19-001df4664e1d
	fi
	linux /vmlinuz-0-rescue-075cbeef5cec4492b8ed14f449626f40 root=/dev/sda8
	initrd /initramfs-0-rescue-075cbeef5cec4492b8ed14f449626f40.img
}
submenu 'Advanced options for Fedora release 23 (Twenty Three) (on /dev/sda8)' $menuentry_id_option 'osprober-gnulinux-advanced-f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
	menuentry 'Fedora release 23 (Twenty Three) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-0-rescue-075cbeef5cec4492b8ed14f449626f40--f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
		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  40207fcd-3899-4564-9d19-001df4664e1d
		else
		  search --no-floppy --fs-uuid --set=root 40207fcd-3899-4564-9d19-001df4664e1d
		fi
		linux /vmlinuz-0-rescue-075cbeef5cec4492b8ed14f449626f40 root=/dev/sda8
		initrd /initramfs-0-rescue-075cbeef5cec4492b8ed14f449626f40.img
	}
	menuentry 'Fedora release 23 (Twenty Three) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.5-300.fc23.x86_64--f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
		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  40207fcd-3899-4564-9d19-001df4664e1d
		else
		  search --no-floppy --fs-uuid --set=root 40207fcd-3899-4564-9d19-001df4664e1d
		fi
		linux /vmlinuz-4.2.5-300.fc23.x86_64 root=/dev/sda8
		initrd /initramfs-4.2.5-300.fc23.x86_64.img
	}
	menuentry 'Fedora release 23 (Twenty Three) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.6-300.fc23.x86_64--f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
		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  40207fcd-3899-4564-9d19-001df4664e1d
		else
		  search --no-floppy --fs-uuid --set=root 40207fcd-3899-4564-9d19-001df4664e1d
		fi
		linux /vmlinuz-4.2.6-300.fc23.x86_64 root=/dev/sda8
		initrd /initramfs-4.2.6-300.fc23.x86_64.img
	}
	menuentry 'Fedora release 23 (Twenty Three) (on /dev/sda8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.2.6-301.fc23.x86_64--f13b57ee-74bd-43af-b57d-58c80d3e6b5f' {
		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  40207fcd-3899-4564-9d19-001df4664e1d
		else
		  search --no-floppy --fs-uuid --set=root 40207fcd-3899-4564-9d19-001df4664e1d
		fi
		linux /vmlinuz-4.2.6-301.fc23.x86_64 root=/dev/sda8
	}
}

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

=============================== sda10/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/sda10 during installation
UUID=3e41c472-1646-43e4-a745-5f986842e66a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=AA22-A94E  /boot/efi       vfat    defaults        0       1
# swap was on /dev/sda3 during installation
UUID=54a2de42-7a9c-41df-990d-a47b4d2ac6cb none            swap    sw              0       0
UUID=AA22-A94E	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-AVfbww3y/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-AVfbww3y/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-AVfbww3y/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-AVfbww3y/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-AVfbww3y/Tmp_Log: No such file or directory
mdadm: No arrays found in config file or automatically
 
Old 12-24-2015, 09:32 AM   #17
boycottsystemd
Member
 
Registered: Aug 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Look in the directory /boot/efi/EFI/ubuntu to see if you have the correct Ubuntu EFI files.
I'm not sure whether I have correct files.
Output of ls -laR /boot/efi/EFI/ubuntu:

Code:
/boot/efi/EFI/ubuntu:
total 3424
drwx------. 2 root root    4096 Dec  5 11:06 .
drwx------. 6 root root    4096 Jan 25  2014 ..
-rwx------. 1 root root     127 Oct 13  2014 grub.cfg
-rwx------. 1 root root  956792 Oct 13  2014 grubx64.efi
-rwx------. 1 root root 1178240 Oct 13  2014 MokManager.efi
-rwx------. 1 root root 1355736 Oct 13  2014 shimx64.efi
 
Old 12-24-2015, 10:27 AM   #18
boycottsystemd
Member
 
Registered: Aug 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Quote:
but still ubuntu is not displayed in F23 bootmenu
I see the bootinfoscript output you posted is well over a year old. I don't know if you've made changes or if it still accurate but Ubuntu clearly shows in the grub.cfg file on the Fedora partition, the Fedora grub.cfg. Look in the directory /boot/efi/EFI/ubuntu to see if you have the correct Ubuntu EFI files.
Ubuntu is already displayed in boot menu, but won't boot. (http://www.linuxquestions.org/questi...9/#post5463299)
 
Old 01-02-2016, 09:33 AM   #19
boycottsystemd
Member
 
Registered: Aug 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
Described problems persists and another problem has appeared - old kernel is selected in grub menu as default boot menu item. Is it please possible to fix it ?
 
  


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
Is my Server Compromised? - Bash Script loaded through PHP in TMP crspy Linux - Server 4 05-15-2013 12:28 AM
System Halting abulreesh Linux - General 2 07-18-2007 08:29 AM
Help please... System Halting!?! MadLogic Linux - Software 2 07-21-2005 07:16 AM
System Halting while shutdown LiloAma Linux - Hardware 5 12-23-2004 01:49 PM
halting the system jogurt666 Debian 2 02-16-2004 04:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:57 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