LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-21-2012, 04:51 PM   #1
esornep
Member
 
Registered: Jun 2012
Posts: 48

Rep: Reputation: Disabled
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
 
Old 07-21-2012, 04:56 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,510
Blog Entries: 1

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
Hi

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

If you run
Code:
sudo update-grub
it should find it for you
 
Old 07-21-2012, 05:22 PM   #3
esornep
Member
 
Registered: Jun 2012
Posts: 48

Original Poster
Rep: Reputation: Disabled
Done and its on the menu ...... but I want to change the name on the menu ......... finally
 
Old 07-21-2012, 05:30 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,510
Blog Entries: 1

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
Hi

Ok you can do that by editing /boot/grub/grub.cfg file as root
Code:
sudo gedit /boot/grub/grub.cfg
look for the entry of your lfs
this part
Code:
menuentry "Planet-Spike7 (on /dev/sdd1)"
edit it between the 2 " "

The Planet-Spike is what I changed mine to

Last edited by spiky0011; 07-21-2012 at 05:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Booting LFS 7.0 with grub2 ubuntudude12 Linux From Scratch 11 09-12-2016 07:14 PM
[SOLVED] Question about adding grub2 background . . . gunzzz5930 Arch 3 12-02-2010 09:48 PM
Grub2 with Ubuntu 10.04 adding additional OS's mtooze Linux - Newbie 6 09-11-2010 02:52 PM
Grub adding modules to grub2 possible? linuxmandrake Linux - Software 1 07-23-2010 01:36 PM
Adding a menu entry to grub2 Jeff91 Linux - General 1 08-28-2009 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration