Bruce, thanks for the links you supplied in the thread on -dev.  I’m including 
them here for reference.

http://www.linuxfromscratch.org/hints/downloads/files/grub2.txt? 
<http://www.linuxfromscratch.org/hints/downloads/files/grub2.txt?>

http://www.linuxfromscratch.org/pipermail/lfs-dev/2009-December/063355.html 
<http://www.linuxfromscratch.org/pipermail/lfs-dev/2009-December/063355.html>

There’s great info in both the hint and the e-mail.  For example, I didn’t 
realize I could use grub-setup to see where and how grub populates directories 
when it’s “installed” as a boot loader.  This is currently important to me 
while I’m investigating the works of grub-2.02~beta2.

I have some questions about what you did with grub.cfg in the e-mail.

1.  Although  it’s commented, why use “gfxmode=“1024x768;800x600;640x480”" and 
not gfxmode=auto?  I remember another example of grub.cfg you supplied in a 
thread that also had gfxmode set to a specific value.  Is this a preference of 
yours?  Is it specific to your hardware?  Just found what you wrote recently.  
It’s essentially the same as in the e-mail referenced here.

2.  You have:

>      if loadfont /grub/unifont.pf2 ; then
>     loadfont /grub/unifont.pf2
>     set gfxmode="800x600;640x480"
>     insmod gfxterm
>     insmod vbe
>     insmod tga
>   fi
There’s no “else” here.  ARCH uses a similar set of statements.  What’s the 
decision for grub to make?

Additionally, you have:

>  terminal_output gfxterm
>  if terminal_output gfxterm ; then true ; else
>       terminal gfxterm
>  fi

Unless it’s a situation of it “has to be that way in grub,” why not just have:

terminal_output gfxterm
terminal gfxterm

Of course if you use grub-mkconfig to generate grub.cfg, there are scads of 
“if-then-fi” trees that just seem that they could be replaced by two or three 
simple statements.

Thanks,
Dan


-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to