Je bent niet ingelogd.

  • |

#1 24-Jun-2020 17:55:49

warp
Administrator

GRUB2 custom entries

Meer Grub info
All you need to do is modify your '30_os-prober' file: 

for OS in ${OSPROBED} ; do
  DEVICE="`echo ${OS} | cut -d ':' -f 1`"
  LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
  LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
  BOOT="`echo ${OS} | cut -d ':' -f 4`"

#Patch to prevent some partitions being autodetected 

SKIP_THESE_DEVICES="sdaX sdbX"  
PARTITIONNAME="`echo ${DEVICE} | cut -c 6- 2> /dev/null`"  
if [ "`echo ${SKIP_THESE_DEVICES} | grep -e ${PARTITIONNAME} 2> /dev/null`" ] ; then 
   continue  
fi 

# End of patch

  if [ -z "${LONGNAME}" ] ; then
    LONGNAME="${LABEL}"
  fi

Offline

Bulletin Board voettekst