Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: run mydsl-load when starting dsl< Next Oldest | Next Newest >
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 28 2007,12:23 QUOTE

Hello,

I succeeded in remastering and added the application "git" to my "my.iso". I also removed dillo and change the path for user dsl.

In a second step, I remastered in that way that i added the mydsl application jre1_5_0, because "git" needs java.

When I boot the image from CD, everything works fine ... it boots, installs java, and starts the application "git" (I configured that in .xinitrc).

And now to my problem.

I tried to convert that installation  to a PXE booting image.

It boots, the application "git" is there, the changes in xinitrc and the modified PATH are there ...

What is missing is the mydsl-java!!

I put the file "jre1_5_0.tar.gz in the / level and tried to start it with

mydsl-load jre1_5_0.tar.gz

This produces the following message when booting:

"please mount media containing optional dir and try angain"

any ideas?

Rigas
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 28 2007,13:55 QUOTE

Your mydsl file may have become corrupted. Shuffling a lot of files around, particularly very large files, on an ext2 filesystem can quickly cause fragmentation (assuming that's the correct term to use in this case?).  You should fsck your ext2 partition(s) on a regular basis (every couple of months at least), and run md5 check on your mydsl file.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 28 2007,15:38 QUOTE

PXE-packed DSL is similar to using toram option. The entire image is in the initial ramdisk. This prevents the need to search for the KNOPPIX image. Which also means no way to auto search for mydsl directory as the cdrom or other boot device is not mounted. That is why you are seeing that message. Recall that PXE-packing ( loaded in the intital ramdisk ) was done to prevent the need for nfs for the typiclal module search and attempting mounting of the remote boot device. You might try booting the PXE server with sshd and then mounting the remote boot device (PXE server) from the booted client, then use fuse/sshfs and then try to mydsl-load your extension.
Back to top
Profile PM WEB 
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 28 2007,15:59 QUOTE

Hello,

thanks for your answers.

I understand that the auto search for mydsl archives does not work in the pxe environment.

For this reason I copied the jre1_5_0.tar.gz file into / and tried to install it using

mydsl-load jre1_5_0.tar.gz

using a script, that is started automatically at boot-time with .xinitrc.

I DO have a working pxe image, in which I can - as user dsl - start a script manually, that

installs the java mydsl-package (lying in dir /)
extends the path for java/bin
starts application git.

The only thing I want achieve is that this happens automatically after the start of the system. (I try to built a music box for the living room ... the rest of the family does not want to start a script in a linux command shell ....)

What is the difference between starting a script as user dsl or starting the script via .xinitrc?

Any ideas?

Rigas
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 28 2007,16:47 QUOTE

.xinitrc is executed when startx is issued. In other words, this is used when the X starts (for fluxbox, the gui, etc.).  As such, this file should be used only for X specific apps... but if you don't care it doesn't matter :P
Back to top
Profile PM 
7 replies since May 28 2007,12:23 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: run mydsl-load when starting dsl

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code