Magellan Linux

Diff of /trunk/installer/include/prepare_bootloader.sh

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

revision 1024 by niro, Wed Sep 24 11:21:07 2008 UTC revision 1025 by niro, Sun May 30 17:40:47 2010 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/magellan-cvs/magellan-src/installer/include/prepare_bootloader.sh,v 1.3 2008-09-24 11:21:07 niro Exp $  #!/bin/bash
2    # $Id$
3    
4  source include/hwdetection.sh  source include/hwdetection.sh
5    
# Line 106  create_grub_conf() Line 107  create_grub_conf()
107    
108   add_grub_conf "title Magellan-Linux $(< ${INSTALL_ROOT}/etc/mageversion) ($(readlink ${INSTALL_ROOT}/boot/vmlinuz | sed s:kernel-::))"   add_grub_conf "title Magellan-Linux $(< ${INSTALL_ROOT}/etc/mageversion) ($(readlink ${INSTALL_ROOT}/boot/vmlinuz | sed s:kernel-::))"
109   add_grub_conf "root $(convert_device ${PARTITION_DISK_BOOT})"   add_grub_conf "root $(convert_device ${PARTITION_DISK_BOOT})"
110   add_grub_conf "kernel /boot/$(readlink ${INSTALL_ROOT}/boot/vmlinuz) root=${PARTITION_DISK_ROOT}"   add_grub_conf "kernel /boot/$(readlink ${INSTALL_ROOT}/boot/vmlinuz) root=$(get_uuid ${PARTITION_DISK_ROOT})"
111   add_grub_conf "initrd /boot/$(readlink ${INSTALL_ROOT}/boot/initrd)"   add_grub_conf "initrd /boot/$(readlink ${INSTALL_ROOT}/boot/initrd)"
112    
113   # add an empty line as spacer between other boot entries   # add an empty line as spacer between other boot entries
# Line 119  install_bootloader() Line 120  install_bootloader()
120   echo 25   echo 25
121   create_grub_conf >&2   create_grub_conf >&2
122   echo 50   echo 50
  create_initrd >&2  
  echo 75  
123   install_grub >&2   install_grub >&2
124   echo 100   echo 100
125  }  }

Legend:
Removed from v.1024  
changed lines
  Added in v.1025