LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need some help with jhalfs-1.0 (https://www.linuxquestions.org/questions/linux-newbie-8/need-some-help-with-jhalfs-1-0-a-471696/)

arcile 08-07-2006 03:41 PM

need some help with jhalfs-1.0
 
hi,

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

KERNEL: <2.6.16.27> ..OK
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>
GETPKG: <1>
RUNMAKE: <1>
TEST: <1>
OPTIMIZE: <0>
REPORT: <1>
COMPARE: <0>
STRIP: <1>
FSTAB: <>
CONFIG: <>
GETKERNEL: <0>
VIMLANG: <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 :confused:

please help, i'm kind a stuck here, i'd like to get this working
any help would be appreciated, thanks

nmn 08-30-2006 08:56 PM

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:
THIS WILL NOT BUILD A SYSTEM WITH X WINDOWS.

Before entering your lfs from boot, download an X server (hint: X.org) 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

./configure
make
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
(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
root(LEAVE_WHATEVERS_HERE_ALONE)
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.

nmn 08-30-2006 09:06 PM

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


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