LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-24-2004, 12:03 PM   #1
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Rep: Reputation: 30
Add mc to a cd distro


Hi there.

I have tried out 'movix' (http://movix.sourceforge.net/) distribution and I liked it a lot. I created a 50Mb iso and I want to add it to a business cd (mini cd). The thing is, that the cd is 70 Mb... so... I want to add more things to it...

One important thing would be Midnight Commander (mc).
I tried to compile it statically, but it didn't work. I compiled it dinamically, and prefixed it so it would go into the root of the future cd-rom.
I also copied the libs it needed (found them out with ldd) to the lib directory.

So, now... when I boot movix and drop to a console, I have everything related to mc in /cdrom0.

I also copied to the cdrom my /bin directory (from my distro)
So far so good.
Now, I did a chroot /cdrom0 and everything was allright... Even ls worked. When I run 'mc' I get the following error:

Code:
Movix2->mc

** (process:600): CRITICAL **: file utilunix.c line 81 *init_groups): assertion 'pwd != NULL' failed
Segmentation fault
Movix2->
Any suggestions where I went wrong?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add SantaFe to the Distro section kidgrave LQ Suggestions & Feedback 3 12-09-2004 04:47 PM
appending grub - add other linux distro machiner Fedora 2 10-10-2004 03:38 PM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 07:04 PM
how to add mandrake distro menu path dir to KDEDIRS mmodem Mandriva 0 11-15-2003 05:06 PM
How to partition to add another distro Bruce Hill Linux - Newbie 3 07-22-2003 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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