]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
linux-pae: add root (hd0) to grub.conf for virt install.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 16 Mar 2016 22:05:06 +0000 (23:05 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 16 Mar 2016 22:09:32 +0000 (23:09 +0100)
jiffybox will not load the kernel without this entry.
not tested on citrix yet.

config/xen-image/xen-image-maker.sh
src/paks/linux-pae/install.sh

index 28f005d5d9c874b34f516b02c3de4fe3c98911c9..07414f7219d152b20405606424a5995920db26a6 100644 (file)
@@ -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
index 4ebb38bf2a7196a2e8ac739a6010ca6e9e81137e..58a9c1c8d6a7e31576a0a975fd94e35b42dbc0d6 100644 (file)
@@ -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