[Lunar-commits] r14986 - moonbase/trunk/utils/grub/plugin.d
Auke Kok
sofar at lunar-linux.org
Tue May 24 14:39:05 UTC 2005
Author: sofar
Date: 2005-05-24 14:39:02 +0000 (Tue, 24 May 2005)
New Revision: 14986
Modified:
moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
Log:
ElAngelo> it should be devfs=nomount....
Modified: moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
===================================================================
--- moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2005-05-24 14:21:22 UTC (rev 14985)
+++ moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2005-05-24 14:39:02 UTC (rev 14986)
@@ -109,10 +109,10 @@
if (( IMAGE_COUNT == 0 )) ; then
if ! grep -q "$1" /boot/grub/menu.lst ; then
- printf "title %s\nkernel %s\nroot %s\n\n" "$2" "$GRUB_BOOT/$1 root=$(map_grub_to_device $GRUB_ROOT) ro devfs-nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
+ printf "title %s\nkernel %s\nroot %s\n\n" "$2" "$GRUB_BOOT/$1 root=$(map_grub_to_device $GRUB_ROOT) ro devfs=nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
fi
if [ -f /boot/"$1.old" ] && ! grep -q "$1.old" /boot/grub/menu.lst ; then
- printf "title %s\nkernel %s\nroot %s\n\n" "$2.old" "$GRUB_BOOT/$1.old root=$(map_grub_to_device $GRUB_ROOT) ro devfs-nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
+ printf "title %s\nkernel %s\nroot %s\n\n" "$2.old" "$GRUB_BOOT/$1.old root=$(map_grub_to_device $GRUB_ROOT) ro devfs=nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
fi
fi
(( IMAGE_COUNT++ ))
@@ -125,10 +125,10 @@
if (( IMAGE_COUNT == 0 )) ; then
if ! grep -q "$1" /boot/grub/menu.lst ; then
- printf "title %s\nkernel %s\nroot %s\n\n" "$2" "$GRUB_BOOT/$1 root=$(map_grub_to_device $GRUB_ROOT) ro devfs-nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
+ printf "title %s\nkernel %s\nroot %s\n\n" "$2" "$GRUB_BOOT/$1 root=$(map_grub_to_device $GRUB_ROOT) ro devfs=nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
fi
if [ -f /boot/"$1.old" ] && ! grep -q "$1.old" /boot/grub/menu.lst ; then
- printf "title %s\nkernel %s\nroot %s\n\n" "$2.old" "$GRUB_BOOT/$1.old root=$(map_grub_to_device $GRUB_ROOT) ro devfs-nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
+ printf "title %s\nkernel %s\nroot %s\n\n" "$2.old" "$GRUB_BOOT/$1.old root=$(map_grub_to_device $GRUB_ROOT) ro devfs=nomount" "$GRUB_ROOT" "$GRUB_IMAGE_ENTRY" >> /boot/grub/menu.lst.new
fi
fi
More information about the Lunar-commits
mailing list