NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/42978: boot loader is too picky of spaces in boot.cfg

>Number:         42978
>Category:       port-i386
>Synopsis:       boot loader is too picky of spaces in boot.cfg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 15 20:15:01 +0000 2010
>Originator:     Aleksej Saushev <>
>Release:        NetBSD 5.99.24
System: NetBSD lithium 5.99.24 NetBSD 5.99.24 (KERN) #1: Sat Mar 13 00:30:56 
MSK 2010 asau@lithium:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
        boot loader is unforgiving to extra spaces in boot.cfg
        Randolf Richardson found it and wrote these instructions:

        "Modify your /boot.cfg file so that it looks like this one here
        (in particular, DO NOT insert a space before the word "load"
        or else the boot process will fail)..."

        menu=Boot Xen 3.3:load /netbsd-XEN3_DOM0 console=pc;multiboot /xen.gz 

        Indeed if you insert space before "load," boot fails.
        This may trap unsuspecting user (even experienced one)
        and make him to waste time on solving non-existent problems.
        Put the following line into /boot.cfg and try to boot:

        menu=Boot Xen 3.3: load /netbsd-XEN3_DOM0 console=pc; multiboot /xen.gz 
        Remove leading and trailing blank space from fields?

Home | Main Index | Thread Index | Old Index