View previous topic :: View next topic |
Author |
Message |
gustafson Guru
Joined: 12 Aug 2004 Posts: 430
|
Posted: Wed Dec 06, 2017 7:18 pm Post subject: Failed boot: Device /dev/sda2 doesn't exist [SOLVED] |
|
|
Hi all,
I'm trying to install to a new laptop and struggled with EFI/gpt grub and booting. Right now as I use grub to boot, the initramfs fails to find the (encrypted btrfs) root disk. The (initramfs busybox, after grub) error message is:
Code: | Device /dev/sda2 doesn't exist or access denied |
Listing the devices gives:
Where it should also list
Code: | /dev/sda /dev/sda1 /dev/sda2 |
sda2 is the encrypted lvm container for a btrfs filesystem. The problem isn't encryption because the process doesn't get to that point. Rather, the disk partition is simply not found.
My thought is kernel, but I rather religiously took the output of lspci -k (from a functional systemrescuecd) and compared it to my kernel config options, and also to the lspci -k in busybox.
Code: | 00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c148
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
Subsystem: Samsung Electronics Co Ltd Device c148
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 02)
Subsystem: Samsung Electronics Co Ltd Skylake Processor Thermal Subsystem
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP USB 3.0 xHCI Controller
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP Thermal subsystem
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP Serial IO I2C Controller
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP CSME HECI
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP SATA Controller [AHCI mode]
Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Device 9d12 (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
Subsystem: Samsung Electronics Co Ltd Device c148
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
Subsystem: Samsung Electronics Co Ltd Device c148
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Samsung Electronics Co Ltd Sunrise Point-LP SMBus
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Subsystem: Intel Corporation Wireless 8265 / 8275
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi |
Looking just at the drivers and modules:
Code: | Kernel driver in use: i915
Kernel modules: i915
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device
Kernel driver in use: xhci_hcd
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
Kernel driver in use: mei_me
Kernel modules: mei_me
Kernel driver in use: ahci
Kernel driver in use: pcieport
Kernel modules: shpchp
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi |
They are all included as modules or compiled into the kernel. The busybox doesn't seem to include iwlwifi nor proc_thermal modules (neither of which would seem to relate to finding the hard driver partition), but the rest are there. Any thoughts on the next step?
Last edited by gustafson on Fri Dec 08, 2017 4:06 pm; edited 1 time in total |
|
Back to top |
|
|
gustafson Guru
Joined: 12 Aug 2004 Posts: 430
|
Posted: Fri Dec 08, 2017 4:04 pm Post subject: |
|
|
Hi all, answering my own question, it was a kernel config problem. This was needed:
Code: | CONFIG_EFI_PARTITION=y |
I hope this helps somebody else. Marking it solved. |
|
Back to top |
|
|
|
|
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
|
|