Fedora 17 Desktop OEM image faild during grub

15 views
Skip to first unread message

hanumant borwandkar

unread,
May 2, 2013, 10:44:57 AM5/2/13
to kiwi-...@googlegroups.com, Marcus Schäfer
Hello,

I building Fedora 17 with  kiwi version v5.05.10 which installed on Fedora 17 host., Previously it was working with kiwi version 5.0.  I think may be issue with grub rpm package.

fedora stores grub in /usr/share/grub & /usr/lib/grub  may be suse stores /usr/share/grub2 & /usr/lib/grub2

Facing error during create image
May-02 16:04:50 <1> : Creating grub2 boot partition map
May-02 16:04:50 <1> : --> Using fs-uuid search method
May-02 16:04:50 <1> : grub search fs-uuid: bf58b5fa-7bbe-4277-8f57-ae312d53fe8f
May-02 16:04:50 <1> : Importing grub2 stage and theming files
May-02 16:04:50 <1> : EXEC [gzip -9 -cd /opt/PanacheOS-FC/image/oem-RedHat/initrd-oemboot-rhel-06.0.i686-2.1.2.splash.gz 2>&1 | \
                                (cd /tmp/kiwiboot.WyWfpZ && cpio -i -d 'usr/share/grub/themes/*' -d 'usr/lib/grub2/i386-pc/*' -d  2>&1)]
May-02 16:04:52 <3> : No grub2 stage files found in boot image
May-02 16:04:52 <1> : EXEC [sync]


If i could get some input so that image can be built.

Regards,
Hanumant Borwandkar

Marcus Schäfer

unread,
May 2, 2013, 10:55:18 AM5/2/13
to kiwi-...@googlegroups.com
Hi,
Uhm, sorry that I broke this. You are most probably right with some
path conflicts. Would it be possible to login to your build machine
(via ssh) so that I can reproduce it there directly ?

Thanks

Regards,
Marcus
--
Public Key available
gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer
HRB: 21284 (AG Nürnberg) Germany
http://www.suse.de
-------------------------------------------------------

hanumant borwandkar

unread,
May 6, 2013, 2:39:30 AM5/6/13
to kiwi-...@googlegroups.com, Marcus Schäfer
Hi,

Thanks for you reply.

Sure SSH access can be available.
Live IP is  110.5.77.164 ssh port no 2022 username is root password is suselinux.

Regards,
Hanumant


--
You received this message because you are subscribed to the Google Groups "kiwi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kiwi-images...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Marcus Schäfer

unread,
May 7, 2013, 10:12:09 AM5/7/13
to kiwi-...@googlegroups.com
Hi,

> Uhm, sorry that I broke this. You are most probably right with some
> path conflicts. Would it be possible to login to your build machine
> (via ssh) so that I can reproduce it there directly ?

thanks for the login possibility. I have create a patch but I'm not
sure if it solves all issues. Would you mind to give it a test ?
I think you install from master so here is the commit:

commit d34ec038ae1db6f465df1650fd1af35b164211e5
Author: Marcus Schäfer <m...@suse.de>
Date: Tue May 7 14:46:59 2013 +0200

- allow alternative grub2 search path lib/grub and share/grub
as it is packaged on Fedora

hanumant....@gmail.com

unread,
May 7, 2013, 10:27:41 AM5/7/13
to kiwi-...@googlegroups.com
Hi,

Thanks for git commit. Will test and update as soon as possible . I kept ssh access open for if required.

Regards,
Hanumant
Sent on my BlackBerry® from Vodafone

hanumant borwandkar

unread,
May 8, 2013, 3:20:57 PM5/8/13
to kiwi-...@googlegroups.com
Thanks Marcus.,

commit worked for fedora 18 with grub2., don't know what goes wrong with fedora 17 based image.

Regards,
Hanumant

Marcus Schäfer

unread,
May 9, 2013, 4:45:58 PM5/9/13
to kiwi-...@googlegroups.com
Hi,

> Thanks Marcus.,
> commit worked for fedora 18 with grub2., don't know what goes wrong
> with fedora 17 based image.

Hmm, my patch just searches grub2 data also in lib/grub and/or share/grub
whereas suse packages it as lib/grub2 and share/grub2. I would have expected
this to work either for Fedora 17+18 and any of the following or not at
all. But only for Fedora 18 but not for Fedora 17 sounds strange to me

Would you mind to check if there is a difference in the packaging of
grub2 between Fedora 17 and 18 ?

Do you have kiwi build log for a failed and a successful attempt ?
I'm interested in the changes here

Thanks much

Regards,
Marcus
--
Public Key available
gpg --keyserver gpg-keyserver.de --recv-keys 0xCCE3C6A2

hanumant borwandkar

unread,
May 18, 2013, 5:43:55 PM5/18/13
to kiwi-...@googlegroups.com
Hi,

Image faliled installing on disk using installstick

Created and build successfully  Fedora 18 OEM image using kiwi version
May-19 03:06:07 <1> : kiwi version v5.05.15
GIT Commit: c54c74060e400a03867bf7a49f491042ad8a3106


Image installstick and installiso perfectly working on KVM Virtual machine.,But not on Real hardware desktop installstick /installiso boot failing  with error "Failed to find boot device!"  reboot in 120 second. also tried kiwidebug=1 to check HDD /dev/sda., disk itself is not detecting.

I think need some packages or kernel drivers in Initrd. i m using   rhel06-oem image template.

Regards,
Hanumant


hanumant borwandkar

unread,
May 18, 2013, 5:54:33 PM5/18/13
to kiwi-...@googlegroups.com
Hi,

Image faliled installing on disk using installstick

Created and build successfully  Fedora 18 OEM image using kiwi version
May-19 03:06:07 <1> : kiwi version v5.05.15
GIT Commit: c54c74060e400a03867bf7a49f491042ad8a3106


Image installstick and installiso perfectly working on KVM Virtual machine.,But not on Real hardware desktop installstick /installiso boot failing  with error "Failed to find boot device!"  reboot in 120 second. also tried kiwidebug=1 to check HDD /dev/sda., disk itself is not detecting.
also getting some two prefix errors when loading grub2. "prefix not set"  but boot system properly.

I think need some packages or kernel drivers in Initrd. i m using   rhel06-oem image template.

Regards,
Hanumant
Reply all
Reply to author
Forward
0 new messages