Automounting sda2Forum: USB booting Topic: Automounting sda2 started by: RigasW Posted by RigasW on April 22 2006,09:48
Hi,I finally managed to install DSL on a usb-stick with the zip-usb option. This creates two partitions sda1 and sda2. While sda1 is automatically mounted, sda2 is not. I tried to solve this by editing etc/fstab, but is automatically created and my changes are therefore not permanent. I installed a mydsl application to sda2 and would like to make it start automatically .... but where do i have to provide the mount information? Regards Rigas Posted by pr0f3550r on April 22 2006,10:00
try adding 'dsl mydsl=sda2' at boot time
Posted by RigasW on April 22 2006,10:13
Thanks, but this does not help ....Rigas Posted by mikshaw on April 22 2006,14:15
When you say you "installed" the mydsl application to sda2, do you mean that you extracted it onto sda2? This can work in some situations, but it is not an ideal situation. pr0f3550r: That would only work if the extension is a uci type. With dsl or tar.gz, the partition is umounted after the extensions are installed. Add the command "mount /dev/sda2" to /opt/.bootlocal.sh, and make sure you back it up. Posted by RigasW on April 22 2006,15:18
Hi Mikshaw,thanks for the information. The mounting works fine now, but I had not to make a backup before shutting down. My entry in bootlocal.sh was still there after reboot. Now sda2 is allready mounted, but I still have to go to sda2 (with EmelFM), and click on my nxclient...dsl file. Only then the applikation is ready and is shown in a MyDSL menu. Is there a better way to have the application right from the start? Regards Rigas Posted by RigasW on April 22 2006,15:29
Solved it myself ...I added the following line to bootlocal.sh: mydsl-load /mnt/sda2/mydsl/nxclient-1.4.0-75.dsl This creates the application when starting the system. An entry in /home/dsl/.Xinitrc finally starts the application. Thanks again for your help. Rigas |