Weirdness with EFI boot and partition tables...

From: Valdis Kletnieks
Date: Wed Aug 28 2013 - 20:49:11 EST


So I'm trying to debug a problem with my Dell Latitude booting in EFI
mode, that looks like a "can't find the initrd", when I stumbled across this:

<4>[ 2.831325] VFS: Cannot open root device "mapper/turing--police-froot" or unknown-block(0,0): error -6
<4>[ 2.831329] Please append a correct "root=" boot option; here are the available partitions:

<4>[ 2.831338] 0800 488386584 sda driver: sd
<4>[ 2.831344] 0801 305368 sda1 5288e82d-f5e3-4f57-a7f9-e29f87149240
<4>[ 2.831348] 0802 3150112 sda2 42eb87e8-1e6a-477e-8b66-2255ac98b27d
<4>[ 2.831351] 0803 512000 sda3 6c7a5919-61bc-498e-b26a-9c2aa27e65d1
<4>[ 2.831355] 0805 293795840 sda5 52e421a3-78df-48ac-877f-9362b50af20f
<4>[ 2.831358] 0806 4100096 sda6 ebaf21a2-a1aa-4685-8788-e962b6aad18c
<4>[ 2.831364] 0b00 1048575 sr0 driver: sr

Note the entry for sda6. Boot a Fedora kernel, and:

# fdisk -l /dev/sda
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt


# Start End Size Type Name
1 16072 626807 298.2M Linux filesyste Linux filesystem
2 626808 6927031 3G Microsoft basic Microsoft basic data
3 6928384 7952383 500M Linux filesyste Linux filesystem
5 7954432 595546111 280.2G Linux LVM Linux LVM
6 595546112 976773134 181.8G Linux LVM Linux LVM


Any ideas why the size discrepancy?

(No, this probably not relevant to my original issue - my root is on the
LVM on sda5, which is OK, and the problem is the initrd doesn't fire up at all)

Attachment: pgp00000.pgp
Description: PGP signature