I have an HP 15.6 in Laptop. I tried installing Ubuntu 22.04 instead of the stock Windows 11 that came with the device. When trying to boot after the install, it stops with the following output:
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc modules; ls /dev)
ALERT! UUID=4e9c3790-267f-48df-9c0a-42a9adfee8bd does not exist. Dropping to a shell!
"cat /proc/cmdline" produces the following output:
BOOT_IMAGE=/boot/vmlinuz-6.2.0-26-generic root=UUID=4e9c3790-267f-48df-9c0a-42a9adfee8bd ro quiet splash
"ls /dev | grep sd" and "ls/dev | grep mmc" produce nothing. "blkid" produces nothing.
Booting into a Ubuntu ISO and running "sudo fdisk -l" produces this in regards to my hard drive:
Disk /dev/sdb: 119.2 GiB, 127984992256 bytes, 31246336 sectors
Disk model: KLUDG4UHGC-B0E1
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 524288 bytes / 524288 bytes
Disklabel type: gpt
Disk identifier: 8AF8F545-F1A9-437E-A9F5-6B073606B0DC
Device Start End Sectors Size Type
/dev/sdb1 256 131327 131072 512M EFI System
/dev/sdb2 131328 31246079 31114752 118.7G Linux filesystem
I'll note that it makes no mention of any boot drives, something my working Ubuntu laptop does.
Booted from a Ubuntu ISO I can view and mount the hard drive fine. I tried updating initramfs and grub from the mounted drive, but to no avail.
Booted from a Ubuntu ISO, running "sudo blkid" produces the following in regards to my hard drive:
/dev/sdb2: UUID="4e9c3790-267f-48df-9c0a-42a9adfee8bd" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e73a97de-296a-4905-9dd5-aee72da3d3a1"
/dev/sdb1: UUID="9E35-865B" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="39fc313e-fc4c-4529-add9-1be06a6177b9"
If I mount the hard drive and open /etc/fstab all of the UUIDs match.
Switching out the UUID in Grub's edit mode with the UUID given to me by fdisk doesn't work, as grub complains that there's "no such device".
Reinstalling Ubuntu doesn't change anything. Reinstalling Windows 11 works fine. Looking through my BIOS there's nothing I can see that would feasibly affect anything. Boot-Repair doesn't help. Here's the paste from running it: https://pastebin.ubuntu.com/p/cfgp2mN6Rn/
I'm honestly floored by this. My working Ubuntu (22.04) laptop is a similar budget HP device. Same BIOS and all, and it's never given me grief. If anyone could throw some ideas into the ring on how to get this computer working, I'd greatly appreciate it.
Update:
Tried fsck -f /dev/sd** on all partitions of my hard drive. No dice.
cat /proc/cmdline above contained a typo. I'll fix it, but what you said is present.
– bufflugsail Dec 28 '23 at 01:11