All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: Atom-pc, usb installation - NO BOOTABLE DEVICE
Date: Fri, 9 Jan 2015 17:38:54 +0800	[thread overview]
Message-ID: <54AFA1AE.7060107@windriver.com> (raw)
In-Reply-To: <CAEfap_Dj_XDpqYcOfHmf1kDqWoM-pzKvnaH-=ZvDt7H_PvLTaA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

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 :-)
>
>


[-- Attachment #2: Type: text/html, Size: 3580 bytes --]

  reply	other threads:[~2015-01-09  9:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09  9:31 Atom-pc, usb installation - NO BOOTABLE DEVICE Simon Bolek
2015-01-09  9:38 ` ChenQi [this message]
2015-01-09 20:52 ` Chris Tapp
2015-01-11  9:38   ` Simon Bolek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54AFA1AE.7060107@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.