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 260 by niro, Mon Apr 18 20:27:57 2005 UTC revision 268 by niro, Tue Apr 19 17:24:57 2005 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  #  #
3  # $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.2 2005-04-18 20:27:57 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxinstall-ng/bin/alxinstall-ng.sh,v 1.4 2005-04-19 17:24:57 niro Exp $
4  #  #
5  # AutoSta_LX Installation Script  # AutoSta_LX Installation Script
6  # version: 0.8b  # version: 0.8b
# Line 500  install_bootsector_chroot() { Line 500  install_bootsector_chroot() {
500   fi   fi
501    
502   echo -e "default 0" > $INSTALLPATH/boot/grub/grub.conf || die   echo -e "default 0" > $INSTALLPATH/boot/grub/grub.conf || die
503   echo -e "timeout 03" >> $INSTALLPATH/boot/grub/grub.conf ||die   echo -e "timeout 0" >> $INSTALLPATH/boot/grub/grub.conf ||die
504    
505   #no support for splash image in 6.1-r2   #no support for splash image in 6.1-r2
506   #echo -e "splashimage=(hd0,0)/boot/grub/splash.xpm.gz" >> $INSTALLPATH/boot/grub/grub.conf || die   #echo -e "splashimage=(hd0,0)/boot/grub/splash.xpm.gz" >> $INSTALLPATH/boot/grub/grub.conf || die
# Line 544  CHROOTEOF Line 544  CHROOTEOF
544   fi   fi
545    
546   ##enters chroot   ##enters chroot
547   mount -t proc proc $INSTALLPATH/proc   mount -t proc none $INSTALLPATH/proc
548     # bind /dev to get the devices right,
549     # if bootet from a 2.6 kernel with udev
550     mount -o bind /dev $INSTALLPATH/dev
551   chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i   chroot $INSTALLPATH /bin/bash --rcfile /root/.bashrc -i
552   umount $INSTALLPATH/proc   umount $INSTALLPATH/proc
553     umount $INSTALLPATH/dev
554   rm $INSTALLPATH/root/.bashrc   rm $INSTALLPATH/root/.bashrc
555  }  }
556    
# Line 566  install_alxconfig(){ Line 570  install_alxconfig(){
570    
571  install_system_settings(){  install_system_settings(){
572   ### schreibe fstab   ### schreibe fstab
573   echo -e "$BOOTHDD\t/\text3\tnoatime,noauto\t1 1" > $INSTALLPATH/etc/fstab || die   echo -e "$BOOTHDD\t/boot\text3\tnoatime,noauto\t1 1" > $INSTALLPATH/etc/fstab || die
574   echo -e "$ROOTHDD\t/\text3\tnoatime\t0 0" >> $INSTALLPATH/etc/fstab || die   echo -e "$ROOTHDD\t/\text3\tnoatime\t0 0" >> $INSTALLPATH/etc/fstab || die
575   echo -e "$SWAPHDD\tswap\tswap\tpri=1\t0 0" >> $INSTALLPATH/etc/fstab || die   echo -e "$SWAPHDD\tswap\tswap\tpri=1\t0 0" >> $INSTALLPATH/etc/fstab || die
576   echo -e "none\t/proc\tproc\tdefaults\t0 0" >> $INSTALLPATH/etc/fstab || die   echo -e "none\t/proc\tproc\tdefaults\t0 0" >> $INSTALLPATH/etc/fstab || die

Legend:
Removed from v.260  
changed lines
  Added in v.268