Manual partitioning ?

Clifford Perry cperry at rackspace.com
Wed Jun 4 21:53:56 CEST 2003


My own quick hack for this - only for the brave :)

Cliff.  

--- nfsroot/usr/share/fai/subroutines-linux	Wed Jun  4 14:39:29 2003
+++ orig-nfsroot/usr/share/fai/subroutines-linux	Thu Apr  3 09:00:37
2003
@@ -63,13 +63,7 @@
 task_partition() {
 
     echo "Partitioning local harddisks"
-    exec < /dev/tty6 > /dev/tty6 2>/dev/tty6
-    chvt 6 || echo "chvt didn't work" > /dev/tty6
-    cp -f /fai/disk_config/DEFAULT /tmp/disk
-    vi /tmp/disk
-    exec < /dev/tty1 > /dev/tty1 2>/dev/tty1
-    chvt 1
-    [ ! -s $diskvar ] && setup_harddisks -d -X -f /tmp/disk >
$LOGDIR/format.log 2>&1
+    [ ! -s $diskvar ] && setup_harddisks -d -X > $LOGDIR/format.log
2>&1
     # setup_harddisks must create $diskvar file
     if [ ! -s $diskvar ]; then
 	cat $LOGDIR/format.log



More information about the linux-fai mailing list