* Grub installation
@ 2012-06-11 14:12 Jürgen Messerer
2012-06-11 14:22 ` Mihai Lindner
0 siblings, 1 reply; 6+ messages in thread
From: Jürgen Messerer @ 2012-06-11 14:12 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 821 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 4121 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Grub installation
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
0 siblings, 1 reply; 6+ messages in thread
From: Mihai Lindner @ 2012-06-11 14:22 UTC (permalink / raw)
To: yocto
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.
--
Mihai Lindner
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Grub installation
2012-06-11 14:22 ` Mihai Lindner
@ 2012-06-11 14:54 ` Jürgen Messerer
2012-06-13 16:01 ` Darren Hart
0 siblings, 1 reply; 6+ messages in thread
From: Jürgen Messerer @ 2012-06-11 14:54 UTC (permalink / raw)
To: Mihai Lindner, yocto
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?
-----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.
--
Mihai Lindner
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Grub installation
2012-06-11 14:54 ` Jürgen Messerer
@ 2012-06-13 16:01 ` Darren Hart
2012-06-13 16:21 ` Jürgen Messerer
0 siblings, 1 reply; 6+ messages in thread
From: Darren Hart @ 2012-06-13 16:01 UTC (permalink / raw)
To: Jürgen Messerer; +Cc: yocto
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Grub installation
2012-06-13 16:01 ` Darren Hart
@ 2012-06-13 16:21 ` Jürgen Messerer
2012-06-13 16:28 ` Darren Hart
0 siblings, 1 reply; 6+ messages in thread
From: Jürgen Messerer @ 2012-06-13 16:21 UTC (permalink / raw)
To: Darren Hart; +Cc: yocto
Thanks for the tips.
As far as I know is at the moment the new grub default.
How can I configure back to the old version 0.97?
Best regards
Juergen
-----Original Message-----
From: Darren Hart [mailto:dvhart@linux.intel.com]
Sent: Mittwoch, 13. Juni 2012 18:01
To: Jürgen Messerer
Cc: Mihai Lindner; yocto@yoctoproject.org
Subject: Re: [yocto] Grub installation
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Grub installation
2012-06-13 16:21 ` Jürgen Messerer
@ 2012-06-13 16:28 ` Darren Hart
0 siblings, 0 replies; 6+ messages in thread
From: Darren Hart @ 2012-06-13 16:28 UTC (permalink / raw)
To: Jürgen Messerer; +Cc: yocto
On 06/13/2012 09:21 AM, Jürgen Messerer wrote:
> Thanks for the tips.
>
> As far as I know is at the moment the new grub default.
> How can I configure back to the old version 0.97?
You could try with the standard PREFERRED_VERSION method, but I'm not
sure if the installer scripts deal with that intelligently.
Is there a reason you want to use the older version?
--
Darren
>
> Best regards
>
> Juergen
>
>
> -----Original Message-----
> From: Darren Hart [mailto:dvhart@linux.intel.com]
> Sent: Mittwoch, 13. Juni 2012 18:01
> To: Jürgen Messerer
> Cc: Mihai Lindner; yocto@yoctoproject.org
> Subject: Re: [yocto] Grub installation
>
>
>
> 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
>
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-13 16:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2012-06-13 16:21 ` Jürgen Messerer
2012-06-13 16:28 ` Darren Hart
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.