messed working up elilo
by BGB from LinuxQuestions.org on (#6D3Z5)
I have a 2-year old working install of Slackware (July 2021) on HP ef2030 and I was testing out a new install by swapping out the stock NVME KBG40ZNV1T02 KIOXIA for a WD black. When I put the original (KIOXIA) back in, I have boot problems. Elilo does not seem to load automatically, but if I use the BOOT ORDER menu F9 I think, I can get to elilo and run it manually.
I did not change anything on the KIOXIA. Is it possible that trying our the WD black messed with some device numbering thing in the bios? I am not sure even where to look.
Should the long hex number in efibootmgr match the one from fdisk ( 8B76B0E4-B8BD-4C98-A3FA-C70D74A976E6)
> efibootmgr
Timeout: 5 seconds
BootOrder: 0001,9999
Boot0001* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-04-01-68-B4-B1)/HD(1,GPT,e1f329fb-b8ac-c049-928b-36af0876bef5,0x800,0x80000)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO
> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953.9G 0 disk
nvme0n1p1 259:1 0 256M 0 part /boot/efi
nvme0n1p2 259:2 0 20G 0 part [SWAP]
nvme0n1p3 259:3 0 128G 0 part /
nvme0n1p4 259:4 0 512G 0 part /u
> fdisk -l
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: KBG40ZNV1T02 KIOXIA
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: 8B76B0E4-B8BD-4C98-A3FA-C70D74A976E6
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 526335 524288 256M EFI System
/dev/nvme0n1p2 526336 42469375 41943040 20G Linux swap
/dev/nvme0n1p3 42469376 310904831 268435456 128G Linux filesystem
/dev/nvme0n1p4 310904832 1384646655 1073741824 512G Linux filesystem
bash-5.1# more elilo.conf
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
label=vmlinuz
initrd=initrd.gz
read-only
append="root=/dev/nvme0n1p3 vga=normal ro"
I did not change anything on the KIOXIA. Is it possible that trying our the WD black messed with some device numbering thing in the bios? I am not sure even where to look.
Should the long hex number in efibootmgr match the one from fdisk ( 8B76B0E4-B8BD-4C98-A3FA-C70D74A976E6)
> efibootmgr
Timeout: 5 seconds
BootOrder: 0001,9999
Boot0001* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-04-01-68-B4-B1)/HD(1,GPT,e1f329fb-b8ac-c049-928b-36af0876bef5,0x800,0x80000)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO
> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953.9G 0 disk
nvme0n1p1 259:1 0 256M 0 part /boot/efi
nvme0n1p2 259:2 0 20G 0 part [SWAP]
nvme0n1p3 259:3 0 128G 0 part /
nvme0n1p4 259:4 0 512G 0 part /u
> fdisk -l
Disk /dev/nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: KBG40ZNV1T02 KIOXIA
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: 8B76B0E4-B8BD-4C98-A3FA-C70D74A976E6
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 526335 524288 256M EFI System
/dev/nvme0n1p2 526336 42469375 41943040 20G Linux swap
/dev/nvme0n1p3 42469376 310904831 268435456 128G Linux filesystem
/dev/nvme0n1p4 310904832 1384646655 1073741824 512G Linux filesystem
bash-5.1# more elilo.conf
chooser=simple
delay=1
timeout=1
#
image=vmlinuz
label=vmlinuz
initrd=initrd.gz
read-only
append="root=/dev/nvme0n1p3 vga=normal ro"