I have a single 4k monitor connected via HDMI.
When I turn on the machine it won't boot. Can't ssh in. No output to screen. Nothing.
Unplug monitor. Turn off/on. Boots fine, can ssh in.
Now plug in monitor and I get to gnome/Wayland desktop.
Intel onboard graphics.
$ xrandr.
HDMI-1 connected primary 3840x2160 30.00FPS
How can I debug this?
I can't get into BIOS as no output from the machine while booting.
Some background:
Originally this machine was set up as a standalone kodi service. There were some startup services causing problems and i've disabled/removed the kodi.service.
Possibly I've messed up some settings somewhere but not sure where to start.
boot-info-4ppa171 [20220203_1040]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for
(lvmid/sIbDwZ-nbd6-uFzo-esFj-RrpZ-pLGh-QvHGv2/W6fVuK-uo4B-CVqP-NxIT-V7No-ul
n7-KWsIni)/boot/grub. It also embeds following components:
modules
---------------------------------------------
fshelp ext2 part_msdos diskfilter lvm biosdisk
---------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
================================ 1 OS detected =================================
OS#1: The OS now in use - Ubuntu 21.10 CurrentSession on mapper/ubuntu--vg-root
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: HD Graphics 610 from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.13.0-28-generic root=/dev/mapper/ubuntu--vg-root ro text
df -Th / : /dev/mapper/ubuntu--vg-root ext4 109G 72G 32G 70% /
===================================== UEFI =====================================
The firmware seems EFI-compatible, but this installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
mapper/ubuntu--vg-root : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, not-far
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
mapper/ubuntu--vg-root : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
mapper/ubuntu--vg-root : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 10DD4AE0-244B-4490-9D80-53C28C40FCF5
Start End Sectors Size Type
sda1 2048 3906250751 3906248704 1.8T Linux filesystem
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x155d0c57
Boot Start End Sectors Size Id Type
sdb1 * 2048 234440703 234438656 111.8G 8e Linux LVM
Disk mapper/ubuntu--vg-root: 110.8 GiB, 118975627264 bytes, 232374272 sectors
Disk mapper/ubuntu--vg-swap_1: 976 MiB, 1023410176 bytes, 1998848 sectors
parted -lm (filtered): _________________________________________________________
sda:4001GB:scsi:512:4096:gpt:ATA ST4000VN008-2DR1:;
1:1049kB:2000GB:2000GB:ext4:primary:;
sdb:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0A-:;
1:1049kB:120GB:120GB:::boot, lvm;
mapper/ubuntu--vg-root:119GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:119GB:119GB:ext4::;
mapper/ubuntu--vg-swap_1:1023MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1023MB:1023MB:linux-swap(v1)::;
Free space (filtered): _________________________________________________________
sda:3815448MiB:scsi:512:4096:gpt:ATA ST4000VN008-2DR1:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:1907349MiB:3815448MiB:1908099MiB:free;
sdb:114473MiB:scsi:512:512:msdos:ATA WDC WDS120G1G0A-:;
1:0.00MiB:1.00MiB:1.00MiB:free;
1:114473MiB:114473MiB:0.46MiB:free;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ext4 4bc8d2f0-de6a-4020-98ea-ecdd979c90cf 81b5de05-c696-49b3-a3e3-fe2039e3d272 primary
sdb
└─sdb1 LVM2_member na108f-RU2k-G0ss-SAnn-ncMN-zR4p-wxYX7z 155d0c57-01
├─ubuntu--vg-root ext4 1316aa78-0623-487c-aca6-f0139baa073d
└─ubuntu--vg-swap_1 swap 8895a619-65c3-4b9d-953d-cc3e11118bfd
Mount points (filtered): _________________________________________________________________
Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 31.6G 66% /
/dev/sda1 539G 66% /mnt
Mount options (filtered): ________________________________________________________________
/dev/mapper/ubuntu--vg-root rw,relatime,errors=remount-ro
/dev/sda1 rw,relatime
============================== ls -R /dev/mapper/ ==============================
/dev/mapper:
control
ubuntu--vg-root
ubuntu--vg-swap_1
================================= User choice ==================================
Is there RAID on this computer? no
==================== blkid (filtered) before lvm activation ====================
/dev/mapper/ubuntu--vg-swap_1: UUID="8895a619-65c3-4b9d-953d-cc3e11118bfd" TYPE="swap"
/dev/mapper/ubuntu--vg-root: UUID="1316aa78-0623-487c-aca6-f0139baa073d" BLOCK_SIZE="4096" TYPE="ext4"
/dev/sda1: UUID="4bc8d2f0-de6a-4020-98ea-ecdd979c90cf" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="81b5de05-c696-49b3-a3e3-fe2039e3d272"
/dev/sdb1: UUID="na108f-RU2k-G0ss-SAnn-ncMN-zR4p-wxYX7z" TYPE="LVM2_member" PARTUUID="155d0c57-01"
================================ LVM activation ================================
modprobe dm-mod
vgscan --mknodes
Found volume group "ubuntu-vg" using metadata type lvm2
vgchange -ay
2 logical volume(s) in volume group "ubuntu-vg" now active
lvscan
ACTIVE '/dev/ubuntu-vg/root' [110.80 GiB] inherit
ACTIVE '/dev/ubuntu-vg/swap_1' [976.00 MiB] inherit
blkid -g
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub2 of
mapper/ubuntu--vg-root into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s
Blockers in case of suggested repair: __________________________________________
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.