LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 09-23-2010, 06:27 AM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 865

Rep: Reputation: 110Reputation: 110
using a chroot environment to install software in LFS


Okay I got a working LFS system now and I am trying to install some x window software and I am just wondering if it would cause any issues by using the LFS CD to boot up and chroot into my LFS.

Also I would like to know if I mounted the drive under 64bit ubuntu would It still compile correctly on a 32bit LFS?

Thanks again

Last edited by jmc1987; 09-24-2010 at 06:18 AM.
 
Old 09-23-2010, 08:19 AM   #2
corbis_demon
Member
 
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 484

Rep: Reputation: 32
Well, building further packages from inside the chroot environment should be no different than building the base system packages. So yes, unless noted otherwise ( I guess for Qt), you shouldn't have a problem. Your post doesn't indicate as much, so I suggest you try out the BLFS book to install other packages. As for building on a 64-bit OS, I haven't tried it so can't advise you there.

EDIT: I guess you can build 32-bit packages on a 64-bit platform. A multi-lib setup is required, though. You can refer to the CLFS project for further information on setting up a multi-lib environment.

Last edited by corbis_demon; 09-23-2010 at 08:26 AM.
 
Old 09-23-2010, 10:01 AM   #3
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
Hi,
Quote:
Originally Posted by jmc1987 View Post
Okay I got a working LFS system now and I am trying to install some x window software and I am just wondering if it would cause any issues by using the LFS CD to boot up and chroot into my LFS.
Why would you want to do that?

If you have a working/bootable LFS system, you can install software without chrooting. Just boot into LFS, cd to your sources directory (or wherever you placed your packages) and start configuring/making/installing.

LFS is just a very basic linux system. Have a look at BLFS. All extras and goodies are mentioned there, including dependencies (which most often are also in the BLFS book).

Quote:
Also I would like to know if I mounted the drive under 64bit ubuntu would It still compile correctly on a 32bit LFS?
Haven't tried this, but like I stated before: If you have a bootable/working LFS, why bother?

Hope this helps.
 
Old 09-23-2010, 12:11 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 865

Original Poster
Rep: Reputation: 110Reputation: 110
@corbis Thanks that is what I needed to know

@drunna I wanted to do it that way for kinda of a silly aka lazy reason. So I can copy and paste links and md5s mostley installing Xorg which I found out so far its a real pain lol. So much stuff. Thanks anyways.

and yes I am using the BLFS
 
Old 09-23-2010, 12:31 PM   #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
Hi,
Quote:
Originally Posted by jmc1987 View Post
I wanted to do it that way for kinda of a silly aka lazy reason. So I can copy and paste links and md5s mostley installing Xorg which I found out so far its a real pain lol. So much stuff.
This is what I do as first steps when starting with BLFS; I install these 2 packages (both mentioned in BLFS):

1 - GPM (General Purpose Mouse daemon) - Has no dependencies, it does give you copy and paste functionality.

2 -Lynx (text based browser) - Forget about the optional dependencies for now, you can always reinstall this package later on (if you wish to do so).

Now you are ready to build BLFS the easy way, no more typing everything yourself

Use Lynx to read the BLFS book and have the possibility to copy/paste to another terminal and have the possibility to get on the internet (assuming you have a working network).

Hope this helps.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install debian server in a linux chroot environment LXer Syndicated Linux News 0 06-19-2010 05:30 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
can't chroot back into LFS after install shotokan Linux From Scratch 8 06-01-2005 03:09 PM
chroot in lfs shahzadiub Linux - Newbie 5 06-23-2004 12:08 PM


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