Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-07-2006, 03:41 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Thumbs up need some help with jhalfs-1.0


i'm total newbie to linux and i've been going through the lfs build several times, everything works just fine when building manually but hey after several times of manual build you don't get the appetite to continue, now i have been looking at this, "jhalfs", automated lfs, tried it few time with no luck,
as far as i get is:

lfslivecd:root | mån 7 aug 2006 19.29.09 | ~/jhalfs-1.0
# ./lfs -D /mnt/lfs -M -G -B 6.2

BASH: <3.1.17(1)-release> ..OK
GCC: <4.0.3> ..OK
TAR: <1.15.1> ..OK

BOOK: <lfs-6.2>
BUILDDIR: </mnt/lfs>
SRC_ARCHIVE: </mnt/lfs/sources>
TEST: <1>
STRIP: <1>
PAGE: <A4>
TIMEZONE: <Europe/Stockholm>
LANG: <sv_SE>

*** lfs config parameters look good ***


Are you happy with these settings? yes/no (no): yes


Downloading the lfs document, 6.2 version... done
Creating LFS specific URLs file ...OK
cp: "/mnt/lfs/sources/autoconf-2.59.tar.bz2" and "./autoconf-2.59.tar.bz2" is the same file

Goodbye and thank you for choosing <jhalfs>

now i have no idea why it won't continue, as far as i know it should continue with downloading needed packages, check the configs and start building or i might be missing something here

please help, i'm kind a stuck here, i'd like to get this working
any help would be appreciated, thanks
Old 08-30-2006, 08:56 PM   #2
LQ Newbie
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
It has created a makefile in $LFS/jhalfs. Either CD to that dir and run a make command, or just rerun the jhalfs program with -M. If you just run jhalfs directly with ./lfs from a bash prompt, try this:

./lfs -M

Of course, you need to be in the directory

Good luck. I just build a system with jhalfs today... took 2 or 3 hours. But it will build a quick and clean system. You can build your system off of it

Let me make note of something:

Before entering your lfs from boot, download an X server (hint: if you want it. I think thats all you need to get X running besides the nessesary build. You should know if youve been threw lfs before. its prolly

make install

but X is in several packages.

Anyway, you COULD do BLFS to get your fancy graphics, but than you may be bloating it more than you want. BLFS can be done threw jhalfs apparently. I'm going to try to get my lfs to boot (It freezes up sometime after init, i need to find whats misconfigured) and i'll work on getting the fancy Xgl working and stuff (Hello dependency hell!). Keep in mind, you need to make boot entries. jhalfs will NOT build a kernel. You could use your current kernel.

To make boot entries *PLEASE* look for it in your distro setup. You need to make a new entry with all of the same settings as your current linux EXCEPT FOR ONE THING: you need to change the root=/dev/xxx on the kernel line to the LFS hard drive block device. This will always be the same as one your host linux if ALFS worked correctly and your core isnt fucked up. in SuSE linux, start up Yast, go into the system catagory and select "Bootloader"

To make grub boot entries on most distros, you can generally do this at a bash prompt:

cd /boot/grub

If your not logged in as root, its time to do the following:
(su then asks for your root password.)

If you run KDE:
kwrite menu.lst

If you run GNOME:
gedit menu.lst

If you dont have KDE or GNOME(I never used emachs, cant tell you how to use that.)
vim menu.lst

then copy and past an entry(witch is basically title bla bla and the few indented lines past it) in your text editor. in vim, this is impossible, just type it all out.

so its alot like this

title LFS
kernel bla bla root=/dev/REPLACEWITHLFSHARDDRIVE bla bla
initrd . . .

And there... Hopefully you either knew everything i said or i told you everything you needed.

Last edited by nmn; 08-30-2006 at 11:58 PM.
Old 08-30-2006, 09:06 PM   #3
LQ Newbie
Registered: Aug 2006
Posts: 24

Rep: Reputation: 15
Damn.. it posted even though it said it didnt. Sorry.. i rewrote it thinking my other one was gone. wierd.


alfs, lfs, linux, scratch

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 AM.

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