LinuxQuestions.org
Review your favorite Linux distribution.
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 08-08-2002, 11:46 AM   #1
killer_siller
LQ Newbie
 
Registered: Aug 2002
Location: illinois
Distribution: slamd64
Posts: 12

Rep: Reputation: 0
Lfs


I've finally got sick and fed up with RedHat and Mandrake and have decided to go with LFS. I will be asking questions in this thread about installing, running, and using LFS. But first I have a question. Is there anyway to do an LFS system with rpm's, like using the large amount of linux distro's i already own to do an LFS but instead of compiling, installing from rpm's. Has anyone documented this before?
 
Old 08-08-2002, 01:16 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Moved: We have a dedicated LFS forum in the Distro section, in which this has been moved to.
 
Old 08-09-2002, 03:25 AM   #3
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
You can try several things:

If you ave source rpmīs (usually spm files), you can do:

rpm --rebuild /path/to/your/rpm.rpm

this will give you a tar and patches usually in:

/usr/src/packages/SOURCES

You can also try giving them another prefix, like so:

rpm -i --prefix=$LFS/usr

I however am not sure how great this would work. I would just stick to compiling everything from source. Do not forget these rpmīs on your massive amount of distro cds are distro specific, and often times under optimized with files and prefixes in several different locations. after doing LFS, you can always chroot into one of your distros, install an rpm, and copy some libs (or in emergencys binarys) to your LFS system. Hope this helped a bit.

PEACE OUT
 
Old 08-09-2002, 02:34 PM   #4
killer_siller
LQ Newbie
 
Registered: Aug 2002
Location: illinois
Distribution: slamd64
Posts: 12

Original Poster
Rep: Reputation: 0
thanks

now that you mention it, it does seem just as if not more work. Plus, it's not as much fun, and i really want to learn anyway. Another question, i found a distro once that WAS linux from scratch. Someone had compiled it and then threw an installer in and distro'd it. I was wondering if anyone had heard of this. I think i saw it at linux.org but i don't remember very well. Thank you!
 
Old 08-10-2002, 04:29 PM   #5
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
There's a hint on the LFS site, which describes how to make an image of your brand spanking new LFS system and burn it to a bootable cd. IF you have enough knowledge of bash scripting or advanced gui programming using c then im sure you could make a bootable cd, scripts to install stuff, and make a nice installer for it.
 
Old 08-13-2002, 08:03 AM   #6
Baloo
Member
 
Registered: Feb 2002
Distribution: LFS
Posts: 41

Rep: Reputation: 15
Maybe your talking about LRS?

http://lrs-linux.org/news.html
 
Old 08-15-2002, 07:48 AM   #7
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I haven't used it (and don't want to), but i think there's a tip for adding rpm package manager to your system in the lfs hints section. I would suggest using git to keep track of what you put in from as early as possible (maybe the hint has the dependancy's)
have fun
 
  


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
A question on LFS LiveCD satimis Linux From Scratch 7 08-17-2005 07:22 AM
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
General question about RPM's Xirhyn Linux - Newbie 2 11-21-2003 05:31 AM
Question on tarballs and .rpm's... tarballed Linux - Software 2 07-18-2003 10:29 PM
Question concerning rpm's for Mandrake 9 Womandrake Linux - Distributions 10 04-24-2003 08:18 PM

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

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

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