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:dvh...@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-boun...@yoctoproject.org >> [mailto:yocto-boun...@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 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto