All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: "Jürgen Messerer" <juergen.messerer@bbv.ch>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Grub installation
Date: Wed, 13 Jun 2012 09:01:03 -0700	[thread overview]
Message-ID: <4FD8B93F.4000306@linux.intel.com> (raw)
In-Reply-To: <A7B59F6D52627C44813C136D437B0832068BC78CAB91@TKSSREX01.outnet.ch>



On 06/11/2012 07:54 AM, Jürgen Messerer wrote:
> Dear Mihai,
> 
> I would expect that grub should be installed in core-image-minimal-qemux86.ext3
> Grub couldn't be found when running the image with runqemu.
> 
>Any other ideas?

This depends entirely on the image type. We do not install grub on the
filesystem images as that won't result in a working system. GRUB must be
installed to the MBR or the VBR of a disk or partition.

The way this currently works is you build a live image (.hddimg) which
uses syslinux and provides an installer. The installer runs a script
which installs grub to the physical boot media.

Improving this process is part of a larger discussion on image types and
image creation tooling.

If the installer method does not work for you, please articulate the
reasons why and what would be a better solution for your use case.

Thanks,

Darren

> 
> 
> 
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of Mihai Lindner
> Sent: Montag, 11. Juni 2012 16:23
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] Grub installation
> 
> On 6/11/2012 5:12 PM, Jürgen Messerer wrote:
>> Hi
>>
>>  
>>
>> I have the following problem. I have created with yocto a core-image-minimal for x86 which I could test with qemu.
>>
>>  
>>
>> later I added the following lines to conf/local.conf at the end according to the manual chapter 4.2.4:
>>
>> IMAGE_INSTALL_append = " bash"
>>
>> IMAGE_INSTALL_append = " strace"
>>
>> IMAGE_INSTALL_append = " grub"
>>
>>  
>>
>> Bash and strace were installed correctly.
>>
>> In the case of grub I couldn't find the directory /boot/grub.
>>
>>  
>>
>> /etc/grub.d is installed also the folder /usr/lib/grub
>>
>>  
>>
>> Question 1:
>>
>> Which grub recipe does yocto install from  poky-denzil-7.0/meta/recipes-bsp/grub/
>>
>> I would prefer version 1.99.
>>
>>  
>>
>> Questin 2:
>>
>> Will yocto not install a /boot/grub directory?
>>
>>  
>>
>> I would appreciate any tips and tricks to install grub correctly in the core-image-minimal
>>
>>  
>>
>>  
>>
>> Thanks a lot
>>
>>  
>>
>> Best regards
>>
>>  
>>
>> Juergen
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> 
> Hello,
> 
> Look for /boot/grub/ in /dev/sda1
> It should be there.
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel




  reply	other threads:[~2012-06-13 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 14:12 Grub installation Jürgen Messerer
2012-06-11 14:22 ` Mihai Lindner
2012-06-11 14:54   ` Jürgen Messerer
2012-06-13 16:01     ` Darren Hart [this message]
2012-06-13 16:21       ` Jürgen Messerer
2012-06-13 16:28         ` Darren Hart

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=4FD8B93F.4000306@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=juergen.messerer@bbv.ch \
    --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.