[yocto] meta-cedartrail - install to sdb fails to boot

Chris Tapp opensource at keylevel.com
Sun Dec 9 12:04:56 PST 2012


On 9 Dec 2012, at 16:20, Chris Tapp wrote:

> I've built an image using meta-cedartrail and copied the .hdd image onto a USB drive.
> 
> Booting the 'install' label install as expected to an mSATA SSD as sda on an Intel DN2800MT board and this boots as expected.
> 
> However, I need to use an eUSB SSD. The installer detects this as 'sdb' and installs ok, but the system fails to boot with a 'kernel panic' reporting that the root FS can't be found. The grub boot specifies:
> 
> set root=(hd0,1)
> 
> ... root=/dev/sdb2
> 
> Which looks reasonable. The serial console diagnostics "... here are the available partitions:" entry does not list __any__ partitions. Does this mean that the driver required is currently a module and needs to be configured as a built-in? If so, is there an easy way to work out which one?


Adding

rootdelay=5

to the kernel command line means the kernel then sees the USB boot device. It is also sda2 (rather than sdb2, as installed), so I also needed to set

root=/dev/sda2

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list