LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-17-2015, 04:57 PM   #1
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Rep: Reputation: Disabled
jhalfs build


Anyone successfully install using jhalfs? I use:

"svn co svn://svn.linuxfromscratch.org/ALFS/jhalfs/trunk jhalfs-trunk"

every time there's errors during build, it's bad enough the instructions
are not very informative in that it should give more info, very frustrating.
 
Old 03-17-2015, 07:00 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Most long term users of lfs would suggest that new users do at least one build from the lfs/blfs book first before trying stuff like automatic builds as it gets you to know what and why you are doing certain things, you can then go on to deviate from the books with a much better idea of what you are doing and how to make changes.
 
Old 03-17-2015, 07:06 PM   #3
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
I understand, but was hoping if anyone had a tutorial for automated version.
 
Old 03-18-2015, 02:43 AM   #4
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
You could also try LFScript.
The latest version will build you a LFS/BLFS 7.6 with the possibility of a full desktop.
http://lfscript.org/wiki/index.php/Main_Page

It is a bit outdated at the moment, I hope Marcel will update the scripts.
 
Old 03-18-2015, 05:39 AM   #5
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
Thanks, I'll have a look.

Quote:
Originally Posted by hendrickxm View Post
You could also try LFScript.
The latest version will build you a LFS/BLFS 7.6 with the possibility of a full desktop.
http://lfscript.org/wiki/index.php/Main_Page

It is a bit outdated at the moment, I hope Marcel will update the scripts.

Last edited by Pednick; 03-18-2015 at 10:13 AM.
 
Old 03-18-2015, 10:05 AM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
To be honest, jhalfs is nice, but nothing beats writing your own buildscripts to automate your own builds.

I usually write my own scripts using the books before I start building. Once I get everything scripted, then I build. Plus, because I use a few add-in packages, it helps save time and trouble.
 
Old 03-23-2015, 06:00 AM   #7
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
I managed to install through jhalfs, well the first part after it says have a nice day but can't get into chroot the way it says in the book and I did the script with defaults. It won't chroot the book way can someone tell me how the script chroot ed so I can reboot by adding the boot, root passed and the rest. As you can tell, I'm no expert nor do I claim to be.
 
Old 03-23-2015, 06:29 AM   #8
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
If you are unsure, I suggest you try a standard LFS install before trying scripts. Or at least find out what the script is doing.

I can help you with scripted installs I used myself (Nutyx, MIX, LFScript, aryalinux and even CRUX).

To chroot, you need to mount proc, dev and sys:
# mount -t proc proc /proc
# mount --rbind /sys sys
# mount --rbind /dev dev

then you can chroot to the directory where you mounted your LFS (lfs uses /mnt/lfs)
# chroot /mnt/lfs /bin/bash
 
Old 03-23-2015, 06:32 AM   #9
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
Ok thank you.

Quote:
Originally Posted by hendrickxm View Post
If you are unsure, I suggest you try a standard LFS install before trying scripts. Or at least find out what the script is doing.

I can help you with scripted installs I used myself (Nutyx, MIX, LFScript, aryalinux and even CRUX).

To chroot, you need to mount proc, dev and sys:
# mount -t proc proc /proc
# mount --rbind /sys sys
# mount --rbind /dev dev

then you can chroot to the directory where you mounted your LFS (lfs uses /mnt/lfs)
# chroot /mnt/lfs /bin/bash
 
Old 03-25-2015, 04:13 PM   #10
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
Update: Nevermind, just noticed, yes I know stupid move, there's a developement web page.

Well I got chroot to work and I figured out how to use the blfs_root tools but with lots of errors and then I noticed different versions of files of that from the ones on the web site. I built the svn version, maybe should've picked the branch, anyway gonna try that later. I'm guessing svn version is developer testing build.

Last edited by Pednick; 03-25-2015 at 06:05 PM.
 
Old 03-26-2015, 04:56 AM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The SVN edition is a sort of rolling release edition. I would recommend against using it unless you're testing SVN editions or you need to lookmfor critical updates in errata.
 
Old 03-28-2015, 12:28 PM   #12
Pednick
Member
 
Registered: Nov 2014
Posts: 83

Original Poster
Rep: Reputation: Disabled
Thank you for your info, I realized the errors I was making, live and learn eh, LOL.

Quote:
Originally Posted by ReaperX7 View Post
The SVN edition is a sort of rolling release edition. I would recommend against using it unless you're testing SVN editions or you need to lookmfor critical updates in errata.

Last edited by Pednick; 03-30-2015 at 06:46 AM.
 
  


Reply



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
jhalfs permission problem lich000king Linux From Scratch 2 05-29-2012 03:16 PM
livecd and jhalfs question charlie_lab Linux From Scratch 1 03-02-2010 09:00 AM
Help again with jhalfs please bines Linux From Scratch 5 03-17-2009 05:03 AM
Using jhalfs - book problem bines Linux From Scratch 4 03-14-2009 08:18 AM
need some help with jhalfs-1.0 arcile Linux - Newbie 2 08-30-2006 09:06 PM

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

All times are GMT -5. The time now is 04:29 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