Current-Users archive

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

Re: Missing boot menu on i386 installation CD



On Wed, Feb 1, 2012 at 11:26 PM, Hubert Feyrer <hubert%feyrer.de@localhost> 
wrote:
> On Wed, 1 Feb 2012, Evgeniy Ivanov wrote:
>>
>> I do:
>> ./build.sh -O /usr/obj/ -R /usr/releasedir/ release
>> ./build.sh -u -O /usr/obj/ -R /usr/releasedir/ iso-image
>>
>> When I boot from CD there is no boot menu from boot.cfg, but instead
>> the default one with fallback to cd0a:netbsd*.
>> Is it a known issue? I noticed that boot.cfg is opened and read, but
>> either it considered as empty or read damaged. Before more debugging I
>> decided to check here.
>> Though booting works fine, so it reads from iso9660 normally...
>
>
> Are you in a position to modify the boot.cfg file that is actually put on
> the CD? If so, try adding a few dummy comments and then rebuild, and then
> see if the file is read.
>
> I have a strange suspicion that there's some weird size issue there, I ran
> into this for g4u. There, my boot.cfg looks like this:

Yeah, you're right: with few dummy comments it works. Thanks! If
nobody on this and if I get some time I'll try to debug it.


>        % cat boot.cfg.in
>        banner=Welcome to g4u @@G4UVERSION@@
>
>  banner================================================================================
>        banner=
>        banner=ACPI should work on all modern and legacy hardware, however if
> you
>        have
>        banner=problems, please try disabling it.
>        menu=Start g4u:load /miniroot.kmod;boot netbsd
>        menu=Start g4u (no ACPI):load /miniroot.kmod;boot netbsd -2
>        menu=Start g4u (no ACPI, no SMP):load /miniroot.kmod;boot netbsd -12
>        menu=Drop to boot prompt:prompt
>        timeout=5
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>        # This space intentionally left blank - leave to appease bootloader!
>
>
>  - Hubert



-- 
Evgeniy


Home | Main Index | Thread Index | Old Index