From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6AA74E008DD; Fri, 9 Jan 2015 01:38:59 -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=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 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 Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 30EA4E004D6 for ; Fri, 9 Jan 2015 01:38:55 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t099crMt026691 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for ; Fri, 9 Jan 2015 01:38:54 -0800 (PST) Received: from [128.224.162.226] (128.224.162.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.174.1; Fri, 9 Jan 2015 01:38:53 -0800 Message-ID: <54AFA1AE.7060107@windriver.com> Date: Fri, 9 Jan 2015 17:38:54 +0800 From: ChenQi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: References: In-Reply-To: X-Originating-IP: [128.224.162.226] Subject: Re: Atom-pc, usb installation - NO BOOTABLE DEVICE 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: Fri, 09 Jan 2015 09:38:59 -0000 Content-Type: multipart/alternative; boundary="------------050106020401040609020406" --------------050106020401040609020406 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 01/09/2015 05:31 PM, Simon Bolek wrote: > Hi, > > The following is the case: > 1) atom-pc with ssd 80 GB hard drive(the only one, no optical, no usb, > etc.) as a target device > 2) core-image-sato bitbaked and moved to usb device successfully > 3) usb 'install' to atom-pc successfull (so the install script says) > 4) after removing the usb device, pressing enter the boot says NO > BOOTABLE DEVICE > > WHY? > The minimal installer in OE has the problem of hardcoding disk names in grub configuration file instead of using UUID. So it's possible that you may experience boot failures due to the change of disk names. //Chen Qi > At the same time, ISO image (generated at the same bitbake run) is > working in virtual box like a charm. 'Install' was successfull and > booting fine - i get GRUB menu with one 'Linux' entry as expected. > > On the Atom-pc this is not working. So something has to be missing. > Maybe you will have a clue. > Here are the details: > The SSD HDD is /dev/sda with the partition table: > /dev/sda1 - boot > /dev/sda2 - rootfs > /dev/sda3 - swap > there is no asterix at boot partition > > under /dev/sda1/grub there is grub.cfg with: > menuentry "Linux" { > set root=(hd0,1) > linux /vmlinux root=/dev/sda2 rw > } > - so first HDD, first/boot partition > - it points to /vmlinuz and /dev/sda2 > It looks fine for me. > I already tried to dd if=/dev/zero of=/dev/sda bs=4M, and 'install' > from usb again, but no luck. > I already tried to put asterix on the boot partition, but than BOOT > gets me to /grub rescue>/ > > If you have any ideas, where to look for, please let me know. > > thank you and best regards > simon :-) > > --------------050106020401040609020406 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: 8bit
On 01/09/2015 05:31 PM, Simon Bolek wrote:
Hi,

The following is the case:
1) atom-pc with ssd 80 GB hard drive(the only one, no optical, no usb, etc.) as a target device
2) core-image-sato bitbaked and moved to usb device successfully
3) usb 'install' to atom-pc successfull (so the install script says)
4) after removing the usb device, pressing enter the boot says NO BOOTABLE DEVICE

WHY?


The minimal installer in OE has the problem of hardcoding disk names in grub configuration file instead of using UUID.
So it's possible that you may experience boot failures due to the change of disk names.

//Chen Qi

At the same time, ISO image (generated at the same bitbake run) is working in virtual box like a charm. 'Install' was successfull and booting fine - i get GRUB menu with one 'Linux' entry as expected.

On the Atom-pc this is not working. So something has to be missing. Maybe you will have a clue.
Here are the details:
The SSD HDD is /dev/sda  with the partition table:
/dev/sda1 - boot
/dev/sda2 - rootfs
/dev/sda3 - swap
there is no asterix at boot partition

under /dev/sda1/grub there is grub.cfg with:
menuentry "Linux" {
   set root=(hd0,1)
   linux /vmlinux root=/dev/sda2 rw
}
  - so first HDD, first/boot partition
  - it points to /vmlinuz and /dev/sda2  
It looks fine for me.
I already tried to dd if=/dev/zero of=/dev/sda bs=4M, and 'install' from usb again, but no luck.
I already tried to put asterix on the boot partition, but than BOOT gets me to grub rescue>

If you have any ideas, where to look for, please let me know.

thank you and best regards
simon :-)



--------------050106020401040609020406--