[Frugalware-git] fw-initramfs: create_usblive.sh *update fstab before install grub
bouleetbil
bouleetbil at frogdev.info
Fri Nov 6 22:31:47 CET 2009
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fw-initramfs.git;a=commitdiff;h=cbebae081bd450963816a121d4f610b9ba2c2baa
commit cbebae081bd450963816a121d4f610b9ba2c2baa
Author: bouleetbil <bouleetbil at frogdev.info>
Date: Fri Nov 6 22:32:42 2009 +0100
create_usblive.sh
*update fstab before install grub
diff --git a/create_usblive.sh b/create_usblive.sh
index e890fd1..c336b38 100755
--- a/create_usblive.sh
+++ b/create_usblive.sh
@@ -110,20 +110,19 @@ cd $HOMESOURCE
cp ${DIRTEMP}work/initramfs.igz $MNTTMP/boot/
#####################################################################
-#grub install
-#####################################################################
-chroot $MNTTMP grub-install --no-floppy ${USBDEVICE:0:8}
-umount $MNTTMP/proc
-umount $MNTTMP/sys
-umount $MNTTMP/dev
-
-#####################################################################
#copy fstab for usbkey
#####################################################################
cp -f fstab.usbkey $MNTTMP/etc/fstab
DDUID=` blkid | grep /dev/sdb1 | cut -d \" -f 2`
echo "${DDUID}    /    ext3   defaults    1 1 " >> $MNTTMP/etc/fstab
+#####################################################################
+#grub install
+#####################################################################
+chroot $MNTTMP grub-install --no-floppy ${USBDEVICE:0:8}
+umount $MNTTMP/proc
+umount $MNTTMP/sys
+umount $MNTTMP/dev
#####################################################################
#change password root
More information about the Frugalware-git
mailing list