On Tue, Jul 15, 2014 at 10:59:24AM +0200, Marcos Menendez wrote: > 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. >
This is not something I would want to do, but take a look at http://community.linuxmint.com/tutorial/view/1357 which I found by googling for grub2 bootsplash. Also, perhaps, look at plymouth e.g. https://wiki.debian.org/plymouth which provides a graphic animation while the kernel is booting. [...] > > 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. > It ruins it because -o /boot/grub/grub.cfg overwrites it. And what you get, if you have multiple systems, is a pair of "normal" and "recovery" variants (I've never understood what the recovery variant is for) for every kernel/system combination. All you need to do is #vim /boot/grub/grub.cfg Having a rescue CD (or rescue usb stick, I suppose) and a backup of how the cfg was before you changed it is probably a good idea, just in case the edit goes catastrophically wrong (I think that has happened to me once). ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
