Magellan Linux

Diff of /alx-src/trunk/alxinstall-ng/bin/alxinstall-ng.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6817 by niro, Thu Jul 23 08:48:15 2015 UTC revision 6818 by niro, Thu Jul 23 08:52:18 2015 UTC
# Line 29  TITLE="alxinstall-ng - ${VERSION}" Line 29  TITLE="alxinstall-ng - ${VERSION}"
29  CDPATH="/mnt/cdrom"  CDPATH="/mnt/cdrom"
30  INSTALLPATH="/mnt/magellan"  INSTALLPATH="/mnt/magellan"
31    
32  ### WICHTIG: anzahl lines in der autosta_lx.tar.gz -1  ### linecount of system.tar.gz -1 !
33  CURRENTLINE=0  CURRENTLINE=0
34  #TOTALLINES=11072 # -> now in images.conf  #TOTALLINES=11072 # -> now in images.conf
35    
# Line 52  FORMFACTOR="desktop" Line 52  FORMFACTOR="desktop"
52  FORMAT_FILESYSTEM="ext4"  FORMAT_FILESYSTEM="ext4"
53    
54  #################################################  #################################################
55  #  DIALOG BOXEN #  #  DIALOG BOXES #
56  #################################################  #################################################
57    
58  die()  die()
# Line 432  dialog_main() Line 432  dialog_main()
432  }  }
433    
434  #################################################  #################################################
435  # Install Komandos #  # Install Commands #
436  #################################################  #################################################
437  run_hardware_detection()  run_hardware_detection()
438  {  {
# Line 747  install_bootsector_chroot() Line 747  install_bootsector_chroot()
747   echo "initrd /boot/${KRNINITRD}" >> ${grubconf} || die   echo "initrd /boot/${KRNINITRD}" >> ${grubconf} || die
748   fi   fi
749    
750   # bootsector schreiben chrooted schreiben (lfs/magellan)   # write bootsector chrooted (lfs/magellan)
751   cat > ${INSTALLPATH}/root/.installrc << CHROOTEOF   cat > ${INSTALLPATH}/root/.installrc << CHROOTEOF
752  /usr/sbin/grub --no-floppy --batch << "EOF" 1> /dev/null 2> /dev/null  /usr/sbin/grub --no-floppy --batch << "EOF" 1> /dev/null 2> /dev/null
753  root (hd0,0)  root (hd0,0)
# Line 897  install_system_settings() Line 897  install_system_settings()
897    
898  install_system_settings_simple()  install_system_settings_simple()
899  {  {
900   # schreibe fstab   # write fstab
901   if is_uuid_supported   if is_uuid_supported
902   then   then
903   echo -e "UUID=$(get_uuid ${ROOTHDD})\t/\t${FORMAT_FILESYSTEM}\tnoatime\t0 0" > ${INSTALLPATH}/etc/fstab || die   echo -e "UUID=$(get_uuid ${ROOTHDD})\t/\t${FORMAT_FILESYSTEM}\tnoatime\t0 0" > ${INSTALLPATH}/etc/fstab || die
# Line 928  install_do_reboot() Line 928  install_do_reboot()
928  }  }
929    
930  #################################################  #################################################
931  #     Install Ablauf Scripte #  #     Install Main Scripts #
932  #################################################  #################################################
933    
934  run_install_normal()  run_install_normal()

Legend:
Removed from v.6817  
changed lines
  Added in v.6818