-   Linux From Scratch (
-   -   Adding LFS to grub2 (

esornep 07-21-2012 04:51 PM

Adding LFS to grub2
Just built LFS on a unbuntu 12.04 system .... so how do i add it the grub2 ....
I have the Ubuntu with 10 GB on the primary with sda1
then 30 GB with logical on sda5 mounted on /mnt/lfs (built the entire LFS)
then around 5GB with swap ........
Help thanks

spiky0011 07-21-2012 04:56 PM


I take it you want to add lfs to the grub boot menu

If you run

sudo update-grub
it should find it for you

esornep 07-21-2012 05:22 PM

Done and its on the menu ...... but I want to change the name on the menu ......... :D :D :D finally

spiky0011 07-21-2012 05:30 PM


Ok you can do that by editing /boot/grub/grub.cfg file as root

sudo gedit /boot/grub/grub.cfg
look for the entry of your lfs
this part

menuentry "Planet-Spike7 (on /dev/sdd1)"
edit it between the 2 " "

The Planet-Spike is what I changed mine to

All times are GMT -5. The time now is 01:01 PM.