LinuxQuestions.org
Register a domain and help support LQ
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 02-19-2013, 10:45 PM   #1
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Rep: Reputation: 15
building enviroment for offline buillding lfs 7.2


right now its much more convenient for me to start my lfs build offline (ie need the build tools already in the host distro) that's a compliant host for lfs.

I tried debian live standard but doesn't come with the compiler as default

I want to just stick to a clean distro like debian or my favourite slackware but again I think with SLAX I need to add the modules for the build tools.

using usb to build lfs from (one to boot from my build environment) and another stick for storage and moving files to and from my lfs build) the rest of my boxes for now are windows so other then virtual don't have a linux box atm to build from so would like just an ideal iso to mount on my usb, lfs build box is already partitioned and ready go to just want to update E2fsprogs and set up ext4

Last edited by rcorkum; 02-19-2013 at 10:52 PM. Reason: adding book version of lfs
 
Old 02-20-2013, 02:19 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

there is a live cd around
http://comments.gmane.org/gmane.linu...s.support/2506
http://cross-lfs.org/~kb0iic/livecdupd/

I have never used it so not much help there will it help?
 
Old 02-20-2013, 08:12 PM   #3
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
well thanks for the info.

I tried lfslivecd-x86_64-6.3-r2160-updated-nosrc

I clean formatted my 4gb usb fat32 and use unetbootin and/or Yumi

and both result

I get this

Code:
LFS LiveCD could not find its device, perhaps due to unsupported or undetected hardware. Please fix this problem and exit shell.

the problem may be caused may be caused by the fact that ISA IDE and SCSI adapters are no longer attempted to be auto detected. if you use such hardware, load the proper driver manually with the 'modprobe' command and exit from this shell.

.......

.......

Dropping you to shell.

please note I can mount and boot and use the following iso's no issues other then they don't come with the build tools already installed. starting to think I am trying to find the mythical needle in the haystack

debian-live-6.0.6-i386-standard
slackware64-14.0-install-dvd

also boot and use below. so I don't think its my mounting method is at issue
gparted-live-0.14.1-6-i486

I really want to build lfs I even have book 7.2 and book 7.3rc1 even on separate usb raring to go.

but I need to start it offline. really don't want just install an os, image that then load that in usb to build an an iso.

my 500gb i3 4gb box is setting here crying for the past few days, please use me. I just like the idea of building an os from scratch reminds me of coding asm on my vic-20 and I SO SO miss those days want to get them back.

Robert

Last edited by rcorkum; 02-20-2013 at 08:20 PM.
 
Old 02-21-2013, 01:59 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
I dont know about loading it to make it bootable. Why dont you want
to load slack or debain and just install
required packages
Or just run it as live cd

Last edited by spiky0011; 02-21-2013 at 02:31 AM.
 
Old 02-21-2013, 02:42 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
@rcorkum: During all the years I've been playing with (B)LFS I never came across a distro that met the requirements specified by LFS. The chance of you finding one is probably zero.

The LFS team did provide a LFS liveCD, but that one is 5 to 6 years old and isn't maintained any more. More importantly: This liveCD cannot be used to build LFS versions 7.0 and up.

Like spiky0011 I'm wondering why you don't want to take the time to install a handful of packages. It's only a few minutes worth of work, especially if you are familiar with that specific distro. Once the distro is up to specs and you have downloaded the LFS packages/patches and book you can build off-line.


PS:
Quote:
I am trying to find the mythical needle in the haystack
That's easy:
- burn the hay, needle is now easy to find.
- or, if the hay has some value, get yourself a magnet.

Finding a specific needle in a needle stack; Now there lies a challenge
 
Old 02-21-2013, 01:15 PM   #6
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
I would close this threat as solved but thinking of leaving it open just in case there is a offline distro that would work that may help others if there lfs box can not be hooked up to the internet without difficulty
 
Old 02-22-2013, 12:36 PM   #7
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 830

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by druuna View Post
@rcorkum: During all the years I've been playing with (B)LFS I never came across a distro that met the requirements specified by LFS. The chance of you finding one is probably zero....
I first used slackware 13.37 to build my first LFS without error, maybe you should qualify your remarks as this sort of statement really doesn't help anyone!
 
Old 02-22-2013, 01:02 PM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Keith Hedger View Post
I first used slackware 13.37 to build my first LFS without error, maybe you should qualify your remarks as this sort of statement really doesn't help anyone!
I've been using LFS for roughly 10 years, used multiple distro's (including slackware 10 and 11) as host and never came across a distro that was fully compliant. I also never read about a distro that was compliant (LFS liveCD excluded).

I was just stating my experience over the years and the probably was put in for a reason..... I really don't see why, what looks to be, an exception to the rule would make my post not helpful.

On a positive note: This is the first time someone points out that it might be possible, which gives rcorkum something to look forward too.

PS: You are talking about a freshly installed Slackware 13.37 (no additional package installed later on)?

Last edited by druuna; 02-22-2013 at 01:05 PM.
 
Old 02-22-2013, 01:38 PM   #9
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 830

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by druuna View Post
...You are talking about a freshly installed Slackware 13.37 (no additional package installed later on)?
A number of 3rd party packages but nothing that I recall that was in the version check was not already installed ( I'm not sure that's a not good sentence! But you know what I mean ), I don't really use anything but LFS now.
 
Old 02-22-2013, 04:37 PM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Disclosure: I Just tried and Slackware 13.37 does pass the version-check test (at least for LFS versions 6.8, 7.0 and 7.2) out-of-the-box (a full recommended Slackware setup).

One of the things I do remember (and cannot test quickly) as being a problem in earlier Slackware versions is the expect -c "spawn ls" test in chapter 6.

@Keith Hedger: Thanks for bringing this to our attention (you could have been nicer to me though )
 
Old 02-22-2013, 04:57 PM   #11
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 830

Rep: Reputation: 167Reputation: 167
Sorry no offense I just don't like sweeping statements that something isn't possible/doesn't exist etc.
"There are always possibility's" someone with pointy ears once said!
 
Old 02-22-2013, 05:52 PM   #12
yjy4321
Member
 
Registered: Apr 2011
Distribution: Ubuntu
Posts: 42

Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Disclosure: I Just tried and Slackware 13.37 does pass the version-check test (at least for LFS versions 6.8, 7.0 and 7.2) out-of-the-box (a full recommended Slackware setup).
Can you post the link to the iso file? I couldn't find one...

Edit:
I just found one..
ftp://ftp.slackware.com/pub/slackwar...nstall-dvd.iso
Is this the right one?

Last edited by yjy4321; 02-22-2013 at 05:55 PM.
 
Old 02-22-2013, 05:55 PM   #13
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
http://slackware.cs.utah.edu/pub/slackware/
 
Old 02-23-2013, 03:21 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
And a link from LQ itself: LinuxQuestions.org > ISOs
 
Old 03-01-2013, 04:40 AM   #15
rcorkum
Member
 
Registered: Aug 2005
Location: Thunder Bay, Ontario, Canada
Distribution: Slackware Current
Posts: 80

Original Poster
Rep: Reputation: 15
I ripped my hair out last night and my non persistent debian usb host environment got rebooted (

so I decided to go a different route the m71e (3157) I am working on does not support a second hd mount (has room for second sata) so going to find my usb to sata converter and build the LFS external and use Slackware 14 as my host environment.

any hints or tips appreciated as I would like to keep once all is said and done. the partitions on the external HD (which will be moved to internal once the build is done) to sda (sda1 ext4 and sda2 as swap) this is for following the logic of lfs to its conclusion.

I love the idea behind lfs and look forward to building it (just before pulling my hair out I had everything mounted to the HD all packages downloaded was just building gcc itself. ran into a snag so typed in version-check.sh and couldn't exit the screen for some reason (it exited a few times no issues as I fixed a typo here and there) but then in a migraine late night session I did the 3 finger salute trying to abort and voila rebooted the non persistent 4gb usb I had Debian standard on so fast you could have blinked and missed it. the wife was like just redo it your having fun but my worry is to get really close to the end and do it again and again.

currently loading Slackware 14 through unetbootin to my 4gb usb to install on the m71e.
 
  


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] LFS chroot enviroment user confusion.... dwmolyneux Linux From Scratch 1 06-04-2012 01:20 AM
[SOLVED] Which version of book to use for BLFS??? (LFS-6.7 used for building LFS) rkmv Linux From Scratch 3 02-21-2012 05:32 PM
[SOLVED] building lfs janakiramulu Linux From Scratch 8 02-24-2011 01:22 AM
lfs chapter 6 changing enviroment 'i have no name' sunny keshav Linux From Scratch 3 08-21-2010 04:50 AM
Download sources, doing LFS offline? microsoft/linux Linux From Scratch 7 07-06-2005 09:38 PM


All times are GMT -5. The time now is 04:34 AM.

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