LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-18-2008, 05:33 PM   #1
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
buidling bash to a chrooted system?


I need to build bash to a chrooted system

background= I accidently uninstalled bash in ubuntu hardy, so I could do nothing. I thought it is just to start ubuntulive-cd download bash_3.2_tar.gz and build bash from source. mount the installed ubuntu and trying to build to that system.

My question is how can you build bash dynamically to a chrooted system that does not have bash installed, and also build it with prefix that will work?
 
Old 11-18-2008, 07:02 PM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
why not just copy bash from the live cd instead of rebuilding it?
 
Old 11-18-2008, 08:32 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
You could use FTP to put Bash back into place if you know what file you deleted.

jlinkels
 
Old 11-19-2008, 03:14 PM   #4
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Original Poster
Rep: Reputation: 15
Ok! So all you have to do is cp from live cd to /bin/bash ?
 
Old 11-19-2008, 08:17 PM   #5
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,127
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
when running the live cd cp /bin/bash to whereever your drive is mounted bin directory
 
  


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
Help Buidling .deb Paris Heng Debian 1 03-06-2008 12:23 AM
Build RPM packages in chrooted system yapp SUSE / openSUSE 3 10-24-2005 09:51 PM
What does chrooted mean? Red Squirrel Linux - Software 6 08-21-2005 09:41 PM
is service chrooted? overlord73 Linux - Security 2 07-06-2005 02:10 AM
Chrooted Apache dominant Linux - Security 4 09-20-2004 03:48 AM

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

All times are GMT -5. The time now is 06:55 PM.

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