[yocto] [genericx86-jethro] core-image-sato HDDIMG 'install' - no hard drive selected - /etc/fstab no such file or directory

Simon Bolek simon.bolek at googlemail.com
Wed Jul 13 00:03:47 PDT 2016


Thank you,

I just guess, that it is the following function in init script to put the
echos to? Is it?

udev_daemon() {
    OPTIONS="/sbin/udev/udevd /sbin/udevd /lib/udev/udevd
/lib/systemd/systemd-udevd"

    for o in $OPTIONS; do
        if [ -x "$o" ]; then
            echo $o
            return 0
        fi
    done

    return 1
}


cheers
Simon:-)

Viele Grüsse
Simon Bolek :-)

mit freundlichem Gruss / kind regards / pozdrawiam
Simon P. Bolek
------------------------------------------------------
Dipl. Inf. Simon P. Bolek
SAP Integration Architect
Business Mobile and IVI Solutions
mailto: simon.bolek at arcom-ivi.de
http://www.arcom-ivi.de/
XING: https://www.xing.com/profile/SimonP_Bolek

On Wed, Jul 13, 2016 at 8:36 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Tue, Jul 12, 2016 at 11:28 PM, Simon Bolek
> <simon.bolek at googlemail.com> wrote:
> > Thank you Raj,
> >
> > Is there a standard way to activate these initramfs logs, or do I have to
> > implement it myself somewhere?
>
> you have to add printf etc. yourself into the init script in initramfs
> image
>
> >
> > thank you and kind regards
> > Simon :-)
> >
> > Viele Grüsse
> > Simon Bolek :-)
> >
> > mit freundlichem Gruss / kind regards / pozdrawiam
> > Simon P. Bolek
> > ------------------------------------------------------
> > Dipl. Inf. Simon P. Bolek
> > SAP Integration Architect
> > Business Mobile and IVI Solutions
> > mailto: simon.bolek at arcom-ivi.de
> > http://www.arcom-ivi.de/
> > XING: https://www.xing.com/profile/SimonP_Bolek
> >
> > On Wed, Jul 13, 2016 at 1:36 AM, Khem Raj <raj.khem at gmail.com> wrote:
> >>
> >> On Tue, Jul 12, 2016 at 3:45 AM, Simon Bolek <
> simon.bolek at googlemail.com>
> >> wrote:
> >> > Hello everyone!
> >> >
> >> > I am trying to install genericx86 core-image-sato (jethro) HDDIMG to
> an
> >> > atom-pc.
> >> > For this 2GB USB stick is used.
> >> > When choosing 'install' option from boot menu I get the message:
> >> >
> >> > "Searching for hard drives...
> >> > No hard drive selected. Installation aborted."
> >> >
> >> > Installatiion stops and i get the console.
> >> > When I try to run fsck, it says: can't read '/etc/fstab': No such file
> >> > or
> >> > directory
> >> >
> >> > fdisk -l  shows only the partitions of USB stick.
> >> >
> >> > After I choose 'boot' option to boot into live image, SDD drive is
> under
> >> > /dev/sdb and USB installation stick under /dev/sda,
> >> >
> >> > What recipe/package is my installation missing? The SSD hard drive is
> >> > not
> >> > recognized for some reason. With previous yocto releases this package
> >> > list
> >> > DID work fine.
> >> > So there is something missing in the background.
> >> > Do you have any idea what this might be?
> >>
> >> udev should have run and found your hdd. So it seems its not finding
> >> it when running from initramfs. Can you try to add logs to initramfs
> >> and see what udev is doing ?
> >>
> >> >
> >> > Below is my package list from local.conf.
> >> >
> >> > thank you and kind regards
> >> > Simon :-)
> >> >
> >> > EXTRA_IMAGE_FEATURES = "debug-tweaks ssh-server-openssh"
> >> > IMAGE_INSTALL_append = " make \
> >> >      initscripts \
> >> >      grub \
> >> >      initramfs-boot \
> >> >      syslinux \
> >> >      initramfs-live-install \
> >> >      initramfs-live-install-efi \
> >> >      initramfs-live-boot \
> >> >      xinit \
> >> >      xwininfo \
> >> >      openssh-sftp \
> >> >      openssh-sftp-server \
> >> >      qtbase-plugins \
> >> >      qtconnectivity \
> >> >      qtdeclarative \
> >> >      qtdeclarative-plugins \
> >> >      qtdeclarative-tools \
> >> >      qtdeclarative-qmlplugins \
> >> >      qtenginio \
> >> >      qtlocation \
> >> >      qtmultimedia \
> >> >      qtmultimedia-plugins \
> >> >      qtmultimedia-qmlplugins \
> >> >      qtsystems \
> >> > "
> >> >
> >> > Viele Grüsse
> >> > Simon Bolek :-)
> >> >
> >> > mit freundlichem Gruss / kind regards / pozdrawiam
> >> > Simon P. Bolek
> >> > ------------------------------------------------------
> >> > Dipl. Inf. Simon P. Bolek
> >> > SAP Integration Architect
> >> > Business Mobile and IVI Solutions
> >> > mailto: simon.bolek at arcom-ivi.de
> >> > http://www.arcom-ivi.de/
> >> > XING: https://www.xing.com/profile/SimonP_Bolek
> >> >
> >> > --
> >> > _______________________________________________
> >> > yocto mailing list
> >> > yocto at yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/yocto
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160713/3d1ef25f/attachment.html>


More information about the yocto mailing list