Magellan Linux

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

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

revision 1034 by niro, Sun May 30 18:29:43 2010 UTC revision 1045 by niro, Sun May 30 23:08:26 2010 UTC
# Line 89  create_grub_conf() Line 89  create_grub_conf()
89   if [[ -f ${INSTALL_ROOT}/boot/${splashimage} ]]   if [[ -f ${INSTALL_ROOT}/boot/${splashimage} ]]
90   then   then
91   add_grub_conf "# splash image"   add_grub_conf "# splash image"
  # old logo  
  #add_grub_conf "splashimage /boot/magellan.xpm.gz"  
  #add_grub_conf "foreground FFFFFF"  
  #add_grub_conf "background 1B456B"  
   
  # the new one  
92   add_grub_conf "splashimage $(convert_device ${PARTITION_DISK_BOOT})/boot/${splashimage}"   add_grub_conf "splashimage $(convert_device ${PARTITION_DISK_BOOT})/boot/${splashimage}"
93   add_grub_conf "foreground FFFFFF"   add_grub_conf "foreground FFFFFF"
94   add_grub_conf "background 253861"   add_grub_conf "background 253861"
# Line 108  create_grub_conf() Line 102  create_grub_conf()
102    
103   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-::))"
104   add_grub_conf "root $(convert_device ${PARTITION_DISK_BOOT})"   add_grub_conf "root $(convert_device ${PARTITION_DISK_BOOT})"
105   add_grub_conf "kernel /boot/$(readlink ${INSTALL_ROOT}/boot/vmlinuz) root=$(get_uuid ${PARTITION_DISK_ROOT})"   add_grub_conf "kernel /boot/$(readlink ${INSTALL_ROOT}/boot/vmlinuz) root=UUID=$(get_uuid ${PARTITION_DISK_ROOT})"
106   add_grub_conf "initrd /boot/$(readlink ${INSTALL_ROOT}/boot/initrd)"   add_grub_conf "initrd /boot/$(readlink ${INSTALL_ROOT}/boot/initrd)"
107    
108   # add an empty line as spacer between other boot entries   # add an empty line as spacer between other boot entries

Legend:
Removed from v.1034  
changed lines
  Added in v.1045