[syslinux] [PATCH] Let MEMDISK honor the quiet append option

Kim Mik kimmik999999 at yahoo.co.uk
Mon Sep 14 10:43:09 PDT 2009



> Hi.Why don't you use next construction type:
> ###############################

> LABEL mydisk
> KERNEL memdisk
> APPEND initrd=mydisk.img raw quiet
> ###############################
> It works fine at USB stick with syslinux bootloader.
>
> Best ragards, Mike.

It does the same as my construction.

My patch for MEMDISK suppresses the output of MEMDISK when "quiet" is added.
In the current implementation Syslinux only suppresses the loading progress of the
files (memdisk and mydisk.img), not the output of MEMDISK itself.

The current MEMDISK shows something like this with the quiet construction:
==============================================================
MEMDISK 3.83 3.83  Copyright 2001-2009 H. Peter A,vo, et al
e820: 00000000000000000 000000000000009fc00 1    (just invented some data here)
e820: 00000000000000000 000000000000009fc00 2    (just invented some data here)
e820: 00000000000000000 000000000000009fc00 2    (just invented some data here)
e820: 00000000000000000 000000000000009fc00 1    (just invented some data here)
e820: 00000000000000000 000000000000009fc00 3    (just invented some data here)
e820: 000000000ffc00000 000000000004000fc00 2    (just invented some data here)
Ramdisk at 0x74c50000, length 0x03200000
command line: raw quiet
MEMDISK: Image seems to have fractional end cylinder
Disk is hd0, 51200 K, C/H/S = 6/255/63
Using safe INT 15h access to high memory
Total size needed = 2406 bytes, allocating 3K
Old dos memory at 0x9d800 (map says 0x9d800), loading at 0x9cc00
1588: 0xffff 15E801: 0x3c00 0x73c5
INT 13 08: Success, count = 1, BPT = 0000:0000
old: int13 = e5cb11e1 int15 = f000f859 int1e = f000efc7
new: int13 = 9cc0000a int15 = 9cc0037f int1e = f000efc7
Loading boot sector... booting...
==============================================================

While my patch won't display anything for MEMDISK when quiet is added (unless a fatal error occurs).

Best regards,
Gert Hulselmans


      




More information about the Syslinux mailing list