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

2019-11-24 Thread Georg Lipps
I do have a similar problem with display port. Grub set-up is correct 
since the error is only seen when using DP1.2 (and not DP1.1)


See also: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1853735

Regards



On Sun, 13 Jul 2014 14:54:48 -0400 js  wrote:

> 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



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

2014-07-13 Thread js
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/LinuxDebian 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/LinuxDebian 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