Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] BootDevice not found after changing keyboard
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 185

PostPosted: Tue Jun 03, 2025 3:12 am    Post subject: [SOLVED] BootDevice not found after changing keyboard Reply with quote

Hi, I have an Elitebook 855 G7 with Gentoo installed.
I recently bought a new keyboard and replaced the old one since some keys where falling off.
Then when I rebooted I was greeted with

Code:
BootDevice Not Found
Please install an operating system on your hard disk.
Hard Disk - (3F0)
F2 System Diagnostics
For more information, please visit: www.hp.com/go/techcenter/startup


The disk is recognized and using a Live USB I was able to read all the files inside.
So I chrooted and reinstalled the GRUB, but the result was the same.
Does somebody know how could I go about troubleshooting this? It's extremely weird.


Last edited by sicr0 on Tue Jun 03, 2025 4:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 2051
Location: Germany

PostPosted: Tue Jun 03, 2025 6:45 am    Post subject: Reply with quote

This hardware is a laptop and you replace the keyboard from it and not an external one, right?
This sound that the hardware indentification changed.

Check with lsblk or blkid if something is wrong.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 185

PostPosted: Tue Jun 03, 2025 4:00 pm    Post subject: Reply with quote

Yep, I replaced the keyboard and had to fully open the laptop since the motherboard has to be mounted on it.

The disk is recognized and readable:

Code:
liveuser@localhost-live:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0   2.1G  1 loop /run/rootfsbase
sda           8:0    1  14.4G  0 disk
├─sda1        8:1    1   2.3G  0 part /run/initramfs/live
├─sda2        8:2    1  12.6M  0 part
└─sda3        8:3    1   300K  0 part
zram0       252:0    0     8G  0 disk [SWAP]
nvme0n1     259:0    0 476.9G  0 disk
├─nvme0n1p1 259:1    0   256M  0 part
├─nvme0n1p2 259:2    0     4G  0 part
└─nvme0n1p3 259:3    0 472.7G  0 part


Code:
liveuser@localhost-live:~$ blkid
/dev/sda1: BLOCK_SIZE="2048" UUID="2024-10-24-15-04-27-00" LABEL="Fedora-WS-Live-41-1-4" TYPE="iso9660" PARTLABEL="ISO9660" PARTUUID="7c243d72-530f-4837-9420-263adb58fd3a"


Code:
liveuser@localhost-live:~$ sudo fdisk -l /dev/nvme0n1
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: WDC PC SN530 SDBPNPZ-512G-1006         
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: 6CE89B2D-9E87-D945-90E6-B94E651C834B

Device           Start        End   Sectors   Size Type
/dev/nvme0n1p1    2048     526335    524288   256M EFI System
/dev/nvme0n1p2  526336    8914943   8388608     4G Linux swap
/dev/nvme0n1p3 8914944 1000215182 991300239 472.7G Linux filesystem


I was even able to do a backup. I chrooted into /dev/nvme0n1p3 and ran grub-mkconfig again but it didn't work
Back to top
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 185

PostPosted: Tue Jun 03, 2025 4:31 pm    Post subject: Reply with quote

Thanks for the help! I was able to solve it.

I tried to reinstall the GRUB with

Code:
grub-install --efi-directory=/boot


And it fixed the issue!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum