LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 10-16-2006, 06:20 PM   #1
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Rep: Reputation: 15
How do I use GRUB with x86_64 CLFS?


According to the x86_64 CLFS book:

Quote:
The Lilo package contains the Linux Loader, a bootloader.

We have chosen to use Lilo because at the moment no other bootloader builds and runs on a pure64 system. If your machine has multiple systems (i.e. x86 or multilib) you may prefer to use the bootloader from the other system, such as GRUB.
I have GRUB installed already on Ubuntu (64-bit) so how would I configure it to work with x86_64 CLFS? Would it be as simple as adding my CLFS partition to menu.lst or would it require something else?

-sheep
 
Old 10-17-2006, 02:34 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

You can indeed use the grub that you are already using and the only thing you need to do is add an appropriate entry for CLFS in the menu.lst. Something like:

# CLFS
title CLFS
root (hd0,3)
kernel /boot/clfskernel root=/dev/hda4


You probably need to edit the hd0,3, clfskernel and /dev/hda4 entries in the above example.

Hope this helps.
 
Old 10-18-2006, 11:58 AM   #3
fatsheep
Member
 
Registered: Sep 2006
Posts: 79

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna
Hi,

You can indeed use the grub that you are already using and the only thing you need to do is add an appropriate entry for CLFS in the menu.lst. Something like:

# CLFS
title CLFS
root (hd0,3)
kernel /boot/clfskernel root=/dev/hda4


You probably need to edit the hd0,3, clfskernel and /dev/hda4 entries in the above example.

Hope this helps.
It does, thanks.
 
  


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
CLFS: error while making texinfo 4.8 magesing Linux From Scratch 3 02-05-2009 10:17 AM
CLFS 1.0.0 Released mdh Linux From Scratch 1 09-30-2006 09:42 PM
The differenc between CLFS,BLFS ALFS and LFS sumargin Linux From Scratch 5 09-29-2006 04:46 AM
CLFS Expect-5.43.0 caio53 Linux From Scratch 3 05-05-2006 07:16 AM
x86_64 or not? BaltikaTroika Suse/Novell 4 11-30-2005 03:54 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration