LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2009, 12:08 PM   #1
NEELIX_USR
LQ Newbie
 
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17

Rep: Reputation: 0
How to compile from live a CD onto an existing installation


I have a minimalinux installation that I'm trying to make into a basic webserver. This distribution doesn't come with an ide or anything so I have to insert a LiveCD with a build environment and compile it onto the hard drive.

I'm looking for somewhere/one that can give me some advise on how to do this. I've googled around, but I can't find anything useful...Thanks
 
Old 02-21-2009, 01:24 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You are probably better off cross compiling it on another machine and then just copying the binary over to the hard drive.
 
Old 02-21-2009, 08:15 PM   #3
NEELIX_USR
LQ Newbie
 
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
You are probably better off cross compiling it on another machine and then just copying the binary over to the hard drive.
If I compile it one one computer, how can I ensure that I copy everything that I need to install it on another computer?
 
Old 02-21-2009, 08:45 PM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by NEELIX_USR View Post
If I compile it one one computer, how can I ensure that I copy everything that I need to install it on another computer?
just compile it inside of a directory, you can just do ./configure root=/somedirectory and then copy the directory to the machine
 
Old 02-21-2009, 09:11 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
and this one for the kernel-source the devel sfs you down laod the iso.image. and burn it to cd. now take another cd and burn the two other files on to it.. Now boot puppy and after he is booted pull the disk out. and insert the other now just open the cdrom and click on the to files . now you have a complete live system
Quote:
You will see the defference in the kernel src-2.6.25.15- and the /puppy-4.1.2-k2.6.25.16 this is a typeo on the file it is the correct kerenel trust me this has been a laugh and only the few know this.
It actually is
Quote:
src-k2.6.25.16
any way if you can get and image of puppy linux on hard hardrive and put those two files on somrehow it would work. if you use a usb then have your friend install it on a usbdrive then boot the usbdrive.

Last edited by Drakeo; 02-21-2009 at 09:19 PM.
 
Old 02-21-2009, 09:17 PM   #6
NEELIX_USR
LQ Newbie
 
Registered: Sep 2007
Location: Boston, MA
Distribution: Custom
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AceofSpades19 View Post
just compile it inside of a directory, you can just do ./configure root=/somedirectory and then copy the directory to the machine
It's that easy? Just use the --prefix=/some/dir and then copy it to another dir?

What if the source creates a library in another dir?
 
Old 02-21-2009, 09:25 PM   #7
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you need to go to the puppylinux forums and read up. it is simple.
 
Old 02-22-2009, 01:53 AM   #8
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by NEELIX_USR View Post
It's that easy? Just use the --prefix=/some/dir and then copy it to another dir?

What if the source creates a library in another dir?
It won't because it thinks /some/dir is the root directory so it just makes directories in that one
 
Old 02-22-2009, 09:26 PM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
a minumal system is about 10 mb or less. take an image from your remasterd live cd and dd if=/your image of=/your/harddrive. no compile just an image of that node your trying to build. then yeap your server is bootable and ready to boot.
build the image and move it.
 
  


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
how to duplicate existing installation jjordan Linux - General 7 05-02-2007 10:32 AM
proper way to compile existing kernel robrecc Red Hat 1 02-05-2007 08:42 PM
Moving an Existing Installation dudeman41465 Linux - General 1 09-13-2006 04:30 PM
updating existing installation b123coder Red Hat 2 04-08-2006 07:19 AM
mounting existing mirror in new installation Astro_ortsa Fedora 2 03-26-2005 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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