# Add new Entry to grub.conf
#
echo "" >> /boot/grub/grub.conf
-echo "title IPFire Xen-Kernel:$KVER" >> /boot/grub/grub.conf
+echo "title IPFire (XEN-Kernel)" >> /boot/grub/grub.conf
echo " root (hd0,0)" >> /boot/grub/grub.conf
echo " kernel /vmlinuz-$KVER-ipfire-xen root=$ROOT rootdelay=10 panic=10 $MOUNT" >> /boot/grub/grub.conf
echo " initrd /ipfirerd-$KVER-xen.img" >> /boot/grub/grub.conf
#
# Made initramdisk
#
+cp -f /etc/mkinitcpio.conf.org /etc/mkinitcpio.conf
+sed -i -e "s| autodetect | |g" /etc/mkinitcpio.conf
+# Remove Reiser4 (not working with xen)
+sed -i -e "s|reiser4 | |g" /etc/mkinitcpio.conf
mkinitcpio -k $KVER-ipfire-xen -g /boot/ipfirerd-$KVER-xen.img
#
# Create new module depency