LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-17-2007, 06:14 AM   #1
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Question busybox corrputed my T2 SDE and fc6


I installed T2 SDE anf fc6 on the same system.
I downloaded t2-7.0-rc2.tar.bz2 in /home directory of T2 SDE. And extracted it in same directory.
When I was building busybox package it gives me error. Then I changed busybox.desc file (busybox-1.6.1.tar.bz2 to busybox-1.8.2.bz2).
then i run following commands
# ./scripts/Download busybox
# ./scripts/Build-Pkg busybox

after this my T2 SDE get corrupted.

it fails to run ls, init 6 and other commands.

When I turned off my computer and boot again it displays error:
init started : BusyBox v1.8.2 (2007-12-17 16:33:03 IST)
init : can't log to /dev/tty5
Bad inittab entry: id:2:initdefault:

Then I boot my fc6.
I mounted /dev/sda4 in fc6 /mnt/test directory. (/dev/sda4 is T2 SDE /home directory)
and do the same things those mentioned above. and the same thing again happend.
Then i check /sbin/init file it was a link to /bin/busybox. I unlink it.
And my linux commands are stop functionning. when i run my linux command it display an error:
bash: command_that_call: command not found.

It is taking dir command instead of ls.

How can I fix this problem.


Thanks
Komal K Pal
 
Old 12-17-2007, 06:48 AM   #2
Davinder Singh
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Rep: Reputation: 0
use which <command name> then see the path of command & execute as shown...
Pls tell me what is ur requirement behind this scenario......
 
Old 12-17-2007, 07:08 AM   #3
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Davinder Singh View Post
use which <command name> then see the path of command & execute as shown...
Pls tell me what is ur requirement behind this scenario......


bash: /usr/bin/which: No such file or directory

if I run any command it give me above error for that command.
 
Old 12-18-2007, 11:24 PM   #4
kkpal
Member
 
Registered: Oct 2007
Posts: 101

Original Poster
Rep: Reputation: 15
Wink

you should not use the Build-Pkg script directly, it has installed the
busybox binaries into your host system.

To use the chroot'ed and safe environment always use the Build-Target
script, even to re-build single packages like:

./scripts/Build-Target -cfg your-config -job 5-busybox


Regards
KKP
 
  


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
sde-g++, sde-cpp, sde-c++ Compile issues HELP!!! derrick_chi Linux - General 1 08-31-2007 08:16 PM
mono :System.Windows.Forms SDE landonmkelsey Linux - Software 0 06-06-2007 07:05 AM
iPod mounting: dmesg says sde, but no /dev/sde haertig Linux - Software 6 12-16-2006 07:56 PM
Corrputed root partition? dave111 Linux - Software 1 11-14-2004 11:02 AM
/boot partition corrputed vinay_r99 Linux - Hardware 5 03-03-2003 11:26 PM

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

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