OSDN Git Service

avoid installing grub to /boot/grub
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 27 Aug 2009 09:47:15 +0000 (17:47 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 27 Aug 2009 09:47:15 +0000 (17:47 +0800)
install/scripts/1-install

index 79d0541..6af87e9 100644 (file)
@@ -129,6 +129,7 @@ install_to()
                done
                p=$((`echo $1 | sed "s/sd$h//"`-1))
                create_menulst $p
+               rm -f /hd/boot/grub/stage1
                echo "setup (hd$d) (hd$d,$p)" | grub > /dev/tty5
                [ $? -ne 0 ] && return 255
        fi