From 224401de72e7e08403cd07774d4f311d2e86c3a7 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 16 Mar 2016 23:05:06 +0100 Subject: [PATCH] linux-pae: add root (hd0) to grub.conf for virt install. jiffybox will not load the kernel without this entry. not tested on citrix yet. --- config/xen-image/xen-image-maker.sh | 1 + src/paks/linux-pae/install.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/config/xen-image/xen-image-maker.sh b/config/xen-image/xen-image-maker.sh index 28f005d5d9..07414f7219 100644 --- a/config/xen-image/xen-image-maker.sh +++ b/config/xen-image/xen-image-maker.sh @@ -130,6 +130,7 @@ mkdir $MNThdd/boot/grub echo "timeout 10" > $MNThdd/boot/grub/grub.conf echo "default 0" >> $MNThdd/boot/grub/grub.conf echo "title IPFire ($KERN_TYPE-kernel)" >> $MNThdd/boot/grub/grub.conf +echo " root (hd0) >> $MNThdd/boot/grub/grub.conf echo " kernel /vmlinuz-$KVER-ipfire-$KERN_TYPE root=/dev/$P3 rootdelay=10 panic=10 console=$CONSOLE" \ >> $MNThdd/boot/grub/grub.conf echo " initrd /initramfs-$KVER-ipfire-$KERN_TYPE.img" >> $MNThdd/boot/grub/grub.conf diff --git a/src/paks/linux-pae/install.sh b/src/paks/linux-pae/install.sh index 4ebb38bf2a..58a9c1c8d6 100644 --- a/src/paks/linux-pae/install.sh +++ b/src/paks/linux-pae/install.sh @@ -67,6 +67,7 @@ else echo "timeout 10" > /boot/grub/grub.conf echo "default 0" >> /boot/grub/grub.conf echo "title IPFire (pae-kernel)" >> /boot/grub/grub.conf + echo " root (hd0)" >> /boot/grub/grub.conf echo " kernel /vmlinuz-$KVER-ipfire-pae root=/dev/$ROOT rootdelay=10 panic=10 console=hvc0" \ >> /boot/grub/grub.conf echo " initrd /initramfs-$KVER-ipfire-pae.img" >> /boot/grub/grub.conf -- 2.39.2