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 2556 by niro, Mon Jul 4 18:07:16 2011 UTC revision 2557 by niro, Mon Jul 4 18:24:30 2011 UTC
# Line 32  CURRENTLINE=0 Line 32  CURRENTLINE=0
32  #TOTALLINES=11072 # -> now in images.conf  #TOTALLINES=11072 # -> now in images.conf
33    
34  # standard kernel opts  # standard kernel opts
35  KERNELOPTS="quiet  splash=silent,theme=default"  KERNELOPTS="quiet video=1024x768"
36    
37  # default specialdevices  # default specialdevices
38  SPECIALDEVICE=""  SPECIALDEVICE=""
# Line 540  install_bootsector_chroot() Line 540  install_bootsector_chroot()
540   # needed by grub-mkconfig on the first run   # needed by grub-mkconfig on the first run
541   if [[ ! -f ${INSTALLPATH}/boot/grub/video.lst ]]   if [[ ! -f ${INSTALLPATH}/boot/grub/video.lst ]]
542   then   then
543   install -m0644 ${INSTALLPATH}/lib/grub/*/video.lst /boot/grub/video.lst   install -m0644 ${INSTALLPATH}/lib/grub/*/video.lst /boot/grub/video.lst || die
544   fi   fi
545   echo 'grub-mkdevicemap' > ${INSTALLPATH}/root/.bashrc  
546   echo "LC_ALL=C grub-mkconfig -o ${grub2conf}" >> ${INSTALLPATH}/root/.bashrc   # set kernelopts
547   echo "grub-install --no-floppy ${HDD}" >> ${INSTALLPATH}/root/.bashrc   if [[ -f ${INSTALLPATH}/etc/conf.d/grub ]]
548     then
549     sed -i "s:^\(export GRUB_CMDLINE_LINUX_DEFAULT\)=.*:\1\"${KERNELOPTS}\":" ${INSTALLPATH}/etc/conf.d/grub || die
550     else
551     echo "export GRUB_CMDLINE_LINUX_DEFAULT=\"${KERNELOPTS}\"" >  ${INSTALLPATH}/etc/conf.d/grub || die
552     fi
553     echo 'grub-mkdevicemap' > ${INSTALLPATH}/root/.bashrc || die
554     echo "LC_ALL=C grub-mkconfig -o ${grub2conf}" >> ${INSTALLPATH}/root/.bashrc || die
555     echo "grub-install --no-floppy ${HDD}" >> ${INSTALLPATH}/root/.bashrc || die
556    
557   # grub-legacy   # grub-legacy
558   else   else

Legend:
Removed from v.2556  
changed lines
  Added in v.2557