Ticket #3039: grub-1.99-silent.patch

File grub-1.99-silent.patch, 1.9 KB (added by mad77, 13 years ago)
  • grub-core/boot/i386/pc/boot.S

    diff -pruN grub-1.99.orig/grub-core/boot/i386/pc/boot.S grub-1.99/grub-core/boot/i386/pc/boot.S
    old new LOCAL(general_error):  
    379379LOCAL(stop):
    380380        jmp     LOCAL(stop)
    381381
    382 notification_string:    .asciz "GRUB "
     382/* notification_string: .asciz "GRUB " */
     383notification_string:    .asciz ""
    383384geometry_error_string:  .asciz "Geom"
    384385hd_probe_error_string:  .asciz "Hard Disk"
    385386read_error_string:      .asciz "Read"
  • grub-core/boot/i386/pc/diskboot.S

    diff -pruN grub-1.99.orig/grub-core/boot/i386/pc/diskboot.S grub-1.99/grub-core/boot/i386/pc/diskboot.S
    old new LOCAL(general_error):  
    320320/* go here when you need to stop the machine hard after an error condition */
    321321LOCAL(stop):    jmp     LOCAL(stop)
    322322
    323 notification_string:    .asciz "loading"
     323/* notification_string: .asciz "loading" */
     324notification_string:    .asciz ""
    324325
    325 notification_step:      .asciz "."
    326 notification_done:      .asciz "\r\n"
     326/* notification_step:   .asciz "." */
     327notification_step:      .asciz ""
     328
     329/* notification_done:   .asciz "\r\n" */
     330notification_done:   .asciz ""
    327331
    328332geometry_error_string:  .asciz "Geom"
    329333read_error_string:      .asciz "Read"
  • grub-core/kern/main.c

    diff -pruN grub-1.99.orig/grub-core/kern/main.c grub-1.99/grub-core/kern/main.c
    old new grub_main (void)  
    175175
    176176  /* Hello.  */
    177177  grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
    178   grub_printf ("Welcome to GRUB!\n\n");
     178  /* grub_printf ("Welcome to GRUB!\n\n"); */
    179179  grub_setcolorstate (GRUB_TERM_COLOR_STANDARD);
    180180
    181181  /* Load pre-loaded modules and free the space.  */