Bug 10499 - xen-image-maker creates wrong menuentry for pygrub
Summary: xen-image-maker creates wrong menuentry for pygrub
Status: CLOSED FIXED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: all Linux
: - Unknown - Balancing
Assignee: Michael Tremer
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 16:17 UTC by Jens Künzer
Modified: 2015-04-13 15:44 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Künzer 2014-03-16 16:17:18 UTC
This is a simple one.
The script uses a hard coded "-xen" instead of -$KERN_TYPE for the kernel:

echo "  kernel /vmlinuz-$KVER-ipfire-xen root=/dev/xvda3 rootdelay=10 panic=10 console=xvc0 ro" \
                                          >> $MNThdd/boot/grub/grub.conf
echo "  initrd /ipfirerd-$KVER-$KERN_TYPE.img" >> $MNThdd/boot/grub/grub.conf


btw.: my xen domu builder does not yet understand LZMA compressed kernels but that is a different problem
Comment 1 bugzilla 2014-05-11 17:26:13 UTC
Problem still occurs with IPFire 2.15 (i586) - Core Update77.
Therefore the auto-generated IPFire-DomU won´t boot without manually editing the wrong grub entry (or changing the kernel´s file name in the auto-generated image).
Comment 2 bugzilla 2014-05-13 19:02:23 UTC
Hopefully this patch may fix this show stopper:
https://github.com/ipfire/ipfire-2.x/pull/26