diff options
Diffstat (limited to 'rescue/tree/ka/install.sh')
-rwxr-xr-x | rescue/tree/ka/install.sh | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/rescue/tree/ka/install.sh b/rescue/tree/ka/install.sh index d1a660630..1e9c17c6d 100755 --- a/rescue/tree/ka/install.sh +++ b/rescue/tree/ka/install.sh @@ -9,6 +9,9 @@ # $Header$ # $Id$ # $Log$ +# Revision 1.1.2.2 2002/11/05 15:49:13 erwan +# added some files +# # Revision 1.1.2.1 2002/11/05 11:16:54 erwan # added ka tools in rescue # @@ -481,12 +484,15 @@ if [ $rcv_linux = yes ]; then fields=( $line ) case ${fields[2]} in + reiserfs ) + runcom "Formatting ${fields[0]} as reiserfs" mkfs.reiserfs -f ${fields[0]} || fail + ;; jfs ) runcom "Formatting ${fields[0]} as jfs" mkfs.jfs ${fields[0]} || fail ;; xfs ) - runcom "Formatting ${fields[0]} as xfs" mkfs.xfs ${fields[0]} || fail + runcom "Formatting ${fields[0]} as xfs" mkfs.xfs -f ${fields[0]} || fail ;; ext3 ) runcom "Formatting ${fields[0]} as ext3" mkfs.ext2 -j ${fields[0]} || fail @@ -513,6 +519,9 @@ if [ $rcv_linux = yes ]; then fields=( $line ) case ${fields[2]} in + reiserfs ) + mount_partition ${fields[0]} ${fields[1]} || fail + ;; xfs ) mount_partition ${fields[0]} ${fields[1]} || fail ;; @@ -584,9 +593,11 @@ else sleep 1 fi - +echo "Writing modules.conf" +/usr/bin/perl /ka/gen_modules_conf.pl >/mnt/disk/etc/modules.conf runcom "Syncing disks" sync - +echo "Running mkinitrd" +/ka/make_initrd umount_partitions # maybe there is a last dummy ka-deploy for synchronization |