Fix xen-kernel grub entry (ext3 mount mode)
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 15 Sep 2009 18:08:50 +0000 (20:08 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 15 Sep 2009 18:08:50 +0000 (20:08 +0200)
lfs/xen-image

index d936fe0..bd21aac 100644 (file)
@@ -83,7 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        mkdir $(MNThdd)/boot/grub
        echo "title IPFire (XEN-Kernel)"           > $(MNThdd)/boot/grub/grub.conf
        echo "  root(hd0,0)"                      >> $(MNThdd)/boot/grub/grub.conf
-       echo "  kernel /vmlinuz-$(KVER)-ipfire-xen root=/dev/xvda1 rootdelay=10 panic=10 rw" \
+       echo "  kernel /vmlinuz-$(KVER)-ipfire-xen root=/dev/xvda1 rootdelay=10 panic=10 ro" \
                                                  >> $(MNThdd)/boot/grub/grub.conf
        echo "  initrd /ipfirerd-$(KVER)-xen.img" >> $(MNThdd)/boot/grub/grub.conf
        echo "  savedefault 1"                    >> $(MNThdd)/boot/grub/grub.conf