grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Warning if grub.cfg not found


From: Carles Pina i Estany
Subject: Re: [PATCH] Warning if grub.cfg not found
Date: Sat, 27 Sep 2008 19:37:52 +0200
User-agent: Mutt/1.5.18 (2008-05-17)


Hello,

I "recover" an old thread...

Long time ago I was thinking in a better warning when Grub2 couldn't
open grub.cfg file.

I send attached a new patch for it (previous one was a bit incorrect,
this one is shorter cleaner, showing the warning in a better place).

Question: What should Grub do when Grub cannot open find fs.lst and
command.lst?  I'm reading the code and in both cases it's doing nothing
(no warning, etc.).

In my understanding, if grub.cfg is missing probably it's a user error
and we should warn the user. If user doesn't want a grub.cfg (??) user
can have an empty grub.cfg.

I also send the ChangeLog, just in case it's correct and we don't want
anything else for fs.lst and command.lst:

-------
2008-09-27  Carles Pina i Estany  <address@hidden>
        * normal/main.c (read_config_file): Warn the user when Grub
        cannot open grub.cfg file.
-------
          
Thanks,

PS: if you want to test the patch, don't waste your time and remember
that grub-mkrescue is generating a grub.cfg file with the modules! (I
lost quite much time with it :-) )

-- 
Carles Pina i Estany            GPG id: 0x17756391
        http://pinux.info

Attachment: warning_grub.cfg.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]