Hello,

After having finished my LFS I'm having some problems trying to accomplish 
something that I thought it was easy:
A boot screen.

I have read the following hints but they are out-of-date:

http://www.linuxfromscratch.org/hints/downloads/files/bootsplash.txt
http://www.linuxfromscratch.org/hints/downloads/files/grub2.txt

I was searching through the GRUB2 docs at 

https://www.gnu.org/software/grub/manual/html_node/index.html#SEC_Contents

but I couldn't find anything there too.


I found info regarding some options (below) that need to be set up on the 
kernel but that is out-of-date too 
(kernel 2.6.17).


These were already after running 'make defconfig':

CONFIG_FB=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_INPUT_EVDEV=y
CONFIG_BLK_DEV_INITRD=y


I added this:

CONFIG_FB_VESA=y


This one I don't know if it is needed:

CONFIG_BLK_DEV_RAM=y


These don't exist on 3.13.3:

CONFIG_BOOTSPLASH=y 
CONFIG_VIDEO_SELECT=y


I have found that for older versions of grub you should use '--enable-graphics' 
at compile time to allow it but I couldn't find that option in the actual 
version used by LFS.



Most Google results show Ubuntu pages that point to using file 
/etc/default/grub or even 'wallpaper=' option but I don't think that that is 
what I want:
 
I just need a simple screen on /boot/grub (default location for an image as I 
think) that should be loaded at boot time automatically without the need of 
extra config files like /etc/default/grub.

I would appreciate too some info regarding the defaults for the image type 
(resolution, colors,...).

I have tried some combinations according with the info I found here

https://help.ubuntu.com/community/Grub2/Displays#Configuration_settings_.28splash_image_present.29

but no luck. The images used are not recognized (maybe because I need some 
option in the kernel, don't know...).


Another thing is the 'update-grub'. It is not present in the installation of 
grub2 used by LFS but every single page on the internet makes mention to it as 
the command you need to run after a change in grub.cfg.

I discovered that it is just a script that runs the following

grub-mkconfig -o /boot/grub/grub.cfg

but as mentioned in the LFS grub installation page, it ruins the custom LFS 
grub.cfg.



Can someone give me some updated info on how to accomplish this task for LFS?
(I would really appreciate an in detail explanation).


Marcos

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

Reply via email to