From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 20C2FE00C41; Mon, 28 Nov 2016 15:56:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.161.174 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E4C04E00C2D for ; Mon, 28 Nov 2016 15:56:24 -0800 (PST) Received: by mail-yw0-f174.google.com with SMTP id i145so127875301ywg.2 for ; Mon, 28 Nov 2016 15:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ron-oakes-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gkNWvn0DYam6bxeHYpnOuayOHXok5u6fINvjLemL1F4=; b=WrcH3g9EQvp23JQdDtnI1Ja98Dbfd23ld35XHtkg+sPGC85s9iTSI2z1ZTw2SpPEBf BEA3tSFi6Bh3/FLG3jAjYUaNroUfhN5G45RhzqsPnNeQoCymP7hR62xY1r5ucLV7Y118 SgqVVQL1hYBQTcyWx4RaiL2Ii93TM8aALARJcUuX0KtGMulcFW4hYiaou8VK8MFUjA1x TEWMM7grqB490h3dNq9tR63v5Rybh1EDIIqaVUemYSzJApShEG3OUDz1ZmgBb6gfHKDw scn9y6Qdsu41/e3nvoGGO+xkFD65lzEmReVG1VVXoLI5pMFgkl3HuIM0CU1BAdMezV4Y aUsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gkNWvn0DYam6bxeHYpnOuayOHXok5u6fINvjLemL1F4=; b=mZKna4QRVVY+VygUCJ8mbhpEo0QPTFn6mskb+vsZe+xcZWHyUKKISZOEs/VzhGHlb7 /vAclRWlO6domCupRJ2cP1S/ayJCI4UD/Jasz63rJc/adZkBLpHzsbMpk9snjH9gti9n +XnjCjErGPT/ULEcnOUp7OhukhQ8Bfbr0KxNU8NPDkmQO11yRxuz25kfPo7M92ghqQme SXhKu9LT8tQoej+5iKgT5KG+21CA2/sw79tTbKYwy2ijddb5m7xo3tq38mCk0ajQ+DDy 8rgqbdkKL49XfMF4gPfSQBYTtRRe35Pf1lvz5preLrPzHRd0pmC01JZgk6Dvw1O+S9Qw /KcQ== X-Gm-Message-State: AKaTC01p+O40cezb4a7GSUth+xX+mv+M5AeiNNua24+jASth4R6FX1oKo6u5vfCyhJSEB4Xz+YKj7wgWU5H+kg== X-Received: by 10.129.131.200 with SMTP id t191mr33675097ywf.91.1480377383705; Mon, 28 Nov 2016 15:56:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ronald Oakes Date: Mon, 28 Nov 2016 23:56:12 +0000 Message-ID: To: "yocto@yoctoproject.org" Subject: Re: Problem imaging a hard drive X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2016 23:56:26 -0000 Content-Type: multipart/alternative; boundary=001a114f21fa1725bf0542653812 --001a114f21fa1725bf0542653812 Content-Type: text/plain; charset=UTF-8 I was able to resolve the problem with the help of a coworker today, by booting from the grub command line, then using grub-mkconfig to create a configuration file, put it in /boot/grub2, then use a .bbappend file to ensure that it would continue to be included in my image. Ron Oakes On Fri, Nov 25, 2016 at 3:35 PM Ronald Oakes wrote: > Well, I partially solved my problem. It turns out I had a CD in the > computer with an old boot image on it that was loading and causing > great confusion. > > Now, grub appears to be loading OK, but doesn't look like it has a > valid configuration to actually boot the image loaded onto the hard > drive. > > My commands (based on the link in my first email) were: > - Format the hard drive using mkfs.ex4 -L > - Mount it (usually by just unplugging and replugging the USB to SATA > adaptor) > - Copy the data from the mounted image file using cp -aV > - Add grub using "grub2-install --recheck > --boot-directory=/run/media/ron/