Make loader output a bit more user-friendly.
* util/grub.d/10_hurd.in: Print message indicating that GNU Mach
is being loaded. Likewise for the Hurd.
* util/grub.d/10_kfreebsd.in (kfreebsd_entry): Print message indicating
that kernel of FreeBSD ${version} is being loaded.
* loader/i386/linux.c (grub_cmd_linux): Move debug info to
grub_dprintf().
(grub_cmd_initrd): Likewise.
* util/grub.d/10_linux.in (linux_entry): Print message indicating
that Linux ${version} is being loaded. Likewise for initrd.
+2010-01-09 Robert Millan <rmh.grub@aybabtu.com>
+
+ Make loader output a bit more user-friendly.
+
+ * util/grub.d/10_hurd.in: Print message indicating that GNU Mach
+ is being loaded. Likewise for the Hurd.
+
+ * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Print message indicating
+ that kernel of FreeBSD ${version} is being loaded.
+
+ * loader/i386/linux.c (grub_cmd_linux): Move debug info to
+ grub_dprintf().
+ (grub_cmd_initrd): Likewise.
+ * util/grub.d/10_linux.in (linux_entry): Print message indicating
+ that Linux ${version} is being loaded. Likewise for initrd.
+
2010-01-09 Carles Pina i Estany <carles@pina.cat>
* gettext/gettext.c (GRUB_MOD_INIT): Gettextizze.
/*
* GRUB -- GRand Unified Bootloader
- * Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
+ * Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
grub_file_seek (file, real_size + GRUB_DISK_SECTOR_SIZE);
- grub_printf (" [Linux-bzImage, setup=0x%x, size=0x%x]\n",
- (unsigned) real_size, (unsigned) prot_size);
+ grub_dprintf ("linux", "bzImage, setup=0x%x, size=0x%x\n",
+ (unsigned) real_size, (unsigned) prot_size);
/* Look for memory size and video mode specified on the command line. */
linux_mem_size = 0;
goto fail;
}
- grub_printf (" [Initrd, addr=0x%x, size=0x%x]\n",
- (unsigned) addr, (unsigned) size);
+ grub_dprintf ("linux", "Initrd, addr=0x%x, size=0x%x\n",
+ (unsigned) addr, (unsigned) size);
lh->ramdisk_image = addr;
lh->ramdisk_size = size;
#! /bin/sh -e
# grub-mkconfig helper script.
-# Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
+# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
EOF
prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/"
cat << EOF
- multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}
+ echo $(gettext "Loading GNU Mach ...")
+ multiboot ${kernel} root=device:${GRUB_DEVICE#/dev/}
EOF
prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/"
cat << EOF
- module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
+ echo $(gettext "Loading the Hurd ...")
+ module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
--multiboot-command-line='\${kernel-command-line}' \\
--host-priv-port='\${host-port}' \\
--device-master-port='\${device-port}' \\
--exec-server-task='\${exec-task}' -T typed '\${root}' \\
'\$(task-create)' '\$(task-resume)'
- module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'
+ module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'
}
EOF
#! /bin/sh -e
# grub-mkconfig helper script.
-# Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
+# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
printf '%s\n' "${prepare_boot_cache}"
cat << EOF
- kfreebsd ${rel_dirname}/${basename}
+ echo $(printf "$(gettext "Loading kernel of FreeBSD %s ...")" ${version})
+ kfreebsd ${rel_dirname}/${basename}
EOF
if test -n "${devices}" ; then
cat << EOF
- kfreebsd_loadenv ${devices_rel_dirname}/${devices_basename}
+ kfreebsd_loadenv ${devices_rel_dirname}/${devices_basename}
EOF
fi
#! /bin/sh -e
# grub-mkconfig helper script.
-# Copyright (C) 2006,2007,2008,2009 Free Software Foundation, Inc.
+# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
printf '%s\n' "${prepare_boot_cache}"
cat << EOF
+ echo $(printf "$(gettext "Loading Linux %s ...")" ${version})
linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
EOF
if test -n "${initrd}" ; then
cat << EOF
+ echo $(gettext "Loading initial ramdisk ...")
initrd ${rel_dirname}/${initrd}
EOF
fi