LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   building enviroment for offline buillding lfs 7.2 (http://www.linuxquestions.org/questions/linux-from-scratch-13/building-enviroment-for-offline-buillding-lfs-7-2-a-4175450883/)

rcorkum 02-19-2013 10:45 PM

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

spiky0011 02-20-2013 02:19 AM

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?

rcorkum 02-20-2013 08:12 PM

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

spiky0011 02-21-2013 01:59 AM

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

druuna 02-21-2013 02:42 AM

@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 ;)

rcorkum 02-21-2013 01:15 PM

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

Keith Hedger 02-22-2013 12:36 PM

Quote:

Originally Posted by druuna (Post 4896510)
@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!

druuna 02-22-2013 01:02 PM

Quote:

Originally Posted by Keith Hedger (Post 4897647)
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)?

Keith Hedger 02-22-2013 01:38 PM

Quote:

Originally Posted by druuna (Post 4897661)
...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.

druuna 02-22-2013 04:37 PM

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 ;) )

Keith Hedger 02-22-2013 04:57 PM

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!

yjy4321 02-22-2013 05:52 PM

Quote:

Originally Posted by druuna (Post 4897779)
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?

rcorkum 02-22-2013 05:55 PM

http://slackware.cs.utah.edu/pub/slackware/

druuna 02-23-2013 03:21 AM

And a link from LQ itself: LinuxQuestions.org > ISOs

rcorkum 03-01-2013 04:40 AM

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.


All times are GMT -5. The time now is 03:11 AM.