Bug#754739: grub2: no grub menu and system does not boot if connected only with displayport

js jshaio at yahoo.com
Sun Jul 13 18:54:48 UTC 2014


Package: grub2
Version: 2.00-22
Severity: normal

Dear Maintainer,


=============================================================================================

When my system is connected to a monitor with both a DVI cable and a dislayport cable,
the system boots fine and after the BIOS screen I see the grub menu, can select the linux
kernel to use and it boots without issue.

However, if the system is connected to the monitor with only the displayport cable but no DVI,
I still see the system BIOS screen after powering up, but then the grub menu no longer appears
and the system does not boot. I verified this by checking /var/log/{syslog,messages,boot} after
rebooting with the DVI cable inserted.

If the system is connected to the monitor using only an HDMI cable, then again I see the BIOS
screens, the GRUB menu is not visible but the system does boot and I can login via ssh.

It seems this issue is restricted to using a displayport cable and grub, as even the default
kernel in grub.cfg was not booted in this case, although it did boot when using only HDMI.

[The system boots into a console without starting X and the console is not visible if the
 monitor input is either displayport or HDMI.]

Here is the /etc/default/grub contents even though grub.cfg is attached as well

  # If you change this file, run 'update-grub' afterwards to update
  # /boot/grub/grub.cfg.
  # For full documentation of the options in this file, see:
  #   info -f grub -n 'Simple configuration'
  
  GRUB_DEFAULT=0
  
  GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 3.2.0-4-686-pae"
  GRUB_TIMEOUT=11
  
  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  GRUB_CMDLINE_LINUX_DEFAULT="quiet"
  GRUB_CMDLINE_LINUX="splash nomodeset vga=normal loglevel=5"
  GRUB_BACKGROUND=/boot/grub/splash_images/js-active.png
  
  GRUB_GFXMODE=1600x1200x16,1600x1200,800x600x16,800x600,640x480,auto
  GRUB_GFXPAYLOAD_LINUX=text
  
  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  GRUB_DISABLE_LINUX_UUID=true
  
=============================================================================================


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda1 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
/dev/sda3 /boot ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sda2 /usr1 ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sdb1 /usr2 ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sdb2 /usr3 ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811
(hd1)	/dev/disk/by-id/ata-ST3200820AS_9QE0Q7NG
(hd2)	/dev/disk/by-id/usb-SanDisk_Cruzer_20053551901B39719A31-0:0
*********************** END /boot/grub/device.map

*********************** BEGIN /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
set default="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 3.2.0-4-686-pae"

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,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 --hint='hd0,msdos1'  748a1e12-5704-405a-bf96-df29861c7fe0
else
  search --no-floppy --fs-uuid --set=root 748a1e12-5704-405a-bf96-df29861c7fe0
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1600x1200x16,1600x1200,800x600x16,800x600,640x480,auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
else
  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
fi
insmod png
background_image -m stretch /grub/splash_images/js-active.png
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  set timeout=11
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
else
  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
fi
insmod png
if background_image /grub/splash_images/js-active.png; then
  true
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/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=text
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-748a1e12-5704-405a-bf96-df29861c7fe0' {
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
	else
	  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
	fi
	echo	'Loading Linux 3.14-1-686-pae ...'
	linux	/vmlinuz-3.14-1-686-pae root=/dev/sda1 ro splash nomodeset vga=normal loglevel=5 quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initrd.img-3.14-1-686-pae
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-748a1e12-5704-405a-bf96-df29861c7fe0' {
	menuentry 'Debian GNU/Linux, with Linux 3.14-1-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-1-686-pae-advanced-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.14-1-686-pae ...'
		linux	/vmlinuz-3.14-1-686-pae root=/dev/sda1 ro splash nomodeset vga=normal loglevel=5 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.14-1-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.14-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-1-686-pae-recovery-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.14-1-686-pae ...'
		linux	/vmlinuz-3.14-1-686-pae root=/dev/sda1 ro single splash nomodeset vga=normal loglevel=5
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.14-1-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.10-3-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-3-686-pae-advanced-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.10-3-686-pae ...'
		linux	/vmlinuz-3.10-3-686-pae root=/dev/sda1 ro splash nomodeset vga=normal loglevel=5 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.10-3-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.10-3-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.10-3-686-pae-recovery-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.10-3-686-pae ...'
		linux	/vmlinuz-3.10-3-686-pae root=/dev/sda1 ro single splash nomodeset vga=normal loglevel=5
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.10-3-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-686-pae-advanced-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.2.0-4-686-pae ...'
		linux	/vmlinuz-3.2.0-4-686-pae root=/dev/sda1 ro splash nomodeset vga=normal loglevel=5 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-4-686-pae-recovery-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.2.0-4-686-pae ...'
		linux	/vmlinuz-3.2.0-4-686-pae root=/dev/sda1 ro single splash nomodeset vga=normal loglevel=5
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.2.0-4-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.1.0-1-686-pae-advanced-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.1.0-1-686-pae ...'
		linux	/vmlinuz-3.1.0-1-686-pae root=/dev/sda1 ro splash nomodeset vga=normal loglevel=5 quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.1.0-1-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.1.0-1-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.1.0-1-686-pae-recovery-748a1e12-5704-405a-bf96-df29861c7fe0' {
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3'  43cbbe73-0f2d-4649-a682-841b910498d2
		else
		  search --no-floppy --fs-uuid --set=root 43cbbe73-0f2d-4649-a682-841b910498d2
		fi
		echo	'Loading Linux 3.1.0-1-686-pae ...'
		linux	/vmlinuz-3.1.0-1-686-pae root=/dev/sda1 ro single splash nomodeset vga=normal loglevel=5
		echo	'Loading initial ramdisk ...'
		initrd	/initrd.img-3.1.0-1-686-pae
	}
}

### 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 ###
### 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 ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 ata-ATAPI_iHAS324_B_3524252_328045500073 -> ../../sr0
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 ata-ST3200820AS_9QE0Q7NG -> ../../sdb
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-ST3200820AS_9QE0Q7NG-part1 -> ../../sdb1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-ST3200820AS_9QE0Q7NG-part2 -> ../../sdb2
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 ata-WDC_WD6401AALS-00E3A0_WD-WCATR4206811-part4 -> ../../sda4
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 scsi-SATA_ST3200820AS_9QE0Q7NG -> ../../sdb
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_ST3200820AS_9QE0Q7NG-part1 -> ../../sdb1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_ST3200820AS_9QE0Q7NG-part2 -> ../../sdb2
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 scsi-SATA_WDC_WD6401AALS-0_WD-WCATR4206811 -> ../../sda
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_WDC_WD6401AALS-0_WD-WCATR4206811-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_WDC_WD6401AALS-0_WD-WCATR4206811-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_WDC_WD6401AALS-0_WD-WCATR4206811-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 scsi-SATA_WDC_WD6401AALS-0_WD-WCATR4206811-part4 -> ../../sda4
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 usb-Generic-_SD_MMC_MS_MSPRO_312210132101-0:0 -> ../../sdc
0 lrwxrwxrwx 1 root root  9 Jul 13 14:22 wwn-0x50014ee2afcb743b -> ../../sda
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 wwn-0x50014ee2afcb743b-part1 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 wwn-0x50014ee2afcb743b-part2 -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 wwn-0x50014ee2afcb743b-part3 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 wwn-0x50014ee2afcb743b-part4 -> ../../sda4
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 3bfb519f-b137-4930-8994-dc8dfe86142f -> ../../sdb1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 43cbbe73-0f2d-4649-a682-841b910498d2 -> ../../sda3
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 4d826085-4298-421f-89ff-9040d37162c3 -> ../../sdb2
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 6e84efac-7853-4857-81b8-1e68b7366a5f -> ../../sda2
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 748a1e12-5704-405a-bf96-df29861c7fe0 -> ../../sda1
0 lrwxrwxrwx 1 root root 10 Jul 13 14:22 93680329-dfd9-42ba-8a67-57b31bd2a825 -> ../../sda4
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/6 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub2 depends on:
ii  grub-common  2.00-22
ii  grub-pc      2.00-22

grub2 recommends no packages.

grub2 suggests no packages.

-- no debconf information



More information about the Pkg-grub-devel mailing list