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" |
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 |