ergun
  
 
  
 
 
Group: Members 
Posts: 9 
Joined: Aug. 2004 | 
  | 
Posted: Aug. 24 2004,06:31 | 
   | 
 
 
  
Hello everyone .
  Last night I finally installed my DSL 0.7.3 on the HDD.
  First of all , on the normal install with dsl-hdinstall script from CD it`s not working with another EXT 2 file system set as primary and 83 type linux partition.
  Thank`s to UnDude for his hint .
  I`ve modified the DSL-HDINSTAL script located on /KNOPIX/usr/sbin/dsl-hdinstall   or /usr/sbin/dsl-hdinstall commenting following lines:
   1) before commenting
 
  DISK="$(echo $FSCHOICE | tr -d [0-9])" FDISK="$(fdisk -l /dev/$DISK|grep $FSCHOICE|awk '{print $(NF-1)}'|head -n1)" if [ "$FDISK" != "83" ]; then   echo "${RED}Sorry system has not detected a linux partition.${NORMAL}"   echo "You may need to just reboot, so the system can re-read"   echo "the partition table, or create your partition(s) with ${YELLOW}cfisk"   echo "${NORMAL}and then reboot."   echo "Script is terminating..."   exit 1 fi
 
 
  2 ) after commenting
 
 
  DISK="$(echo $FSCHOICE | tr -d [0-9])" # FDISK="$(fdisk -l /dev/$DISK|grep $FSCHOICE|awk '{print $(NF-1)}'|head -n1)" # if [ "$FDISK" != "83" ]; then   # echo "${RED}Sorry system has not detected a linux partition.${NORMAL}"   # echo "You may need to just reboot, so the system can re-read"   # echo "the partition table, or create your partition(s) with ${YELLOW}cfisk"   # echo "${NORMAL}and then reboot."   # echo "Script is terminating..."   # exit 1 # fi
 
  The  modified script must be , first of all , copy on the root partitin  and run it from there in shell as root:
  1) open an console and type:          sudo su 2) browse to the  location where your dsl-hdinstall script is located .  ex :     cd /usr/sbin
  then copy the script to he root folder or to you home directory doing like that:
  cp /usr/sbin/dsl-hdinstall   /
  or 
  cp /usr/sbin/dsl-hdinstall  /home/dsl/
  then type
  vi dsl-hdinstall
  press SHIFT + I     ( without + sign , just push both buttons Shift and I      , I from ICARUS ) to go on the INSERT MODE
  here , browse to the lines who interesting you and ad on the front of lines the  #  sign just like in examples.
  press ESC to go on COMMAND MODE
  type                         :w fallowed by ENTER and quit from vi   with   :q  command 
  Return to the location where you saved the modified dsl-hdinstall  and run it from here.
  Follow the stept asked by the script .
  Type on target partition request the destination EXT 2 partition for your DSL Install  (on my install it is hda5 )
 
  E Voila.
 
 
  Yuo hhave DSL Installed on the hard drive.
 
 
  With al do my respect ,
  PS : Sorry for my bad english. 
 |