How save apt-get update or install in Damn Small Embedded?
My problem is about persistence. I run dsl-vhd.bat.
How I can save sudo apt-get update and sudo apt-get install mypackage changes?
I don't know what is missing.
on a fugal install of DSL the only two directories that changes get saved in are /opt and the home directory all other changes are lost at shutdown, unless you do modification,s according to the howto instructions. Anything you want to startup at boot have to add to /opt/bootlocal.sh.
Might look at making a casper rw and add it to boot options. http://www.pendrivelinux.com/casper-...-from-windows/
Thanks for the feedback
I already created a persistent file from qemu-img.exe named harddisk (like DSL-embedded manual say’s).
I still have to create a caster-rw file?
dsl@box:~$cp -a /ramdisk/opt/ /mnt/hdb/opt
dsl@box:~$cp -a /ramdisk/home/dsl /mnt/hdb/home
all done, except… dsl home=hdb opt=hdb
What boot loader? Here I can change my boot options?
I have to do this everytime I install new packages?
Another idea I have is disable the /ramdisk, this solves my problem?
Here is my DSL. http://dl.dropbox.com/u/3059486/dsl-...ded%20diogo.7z
Maybe can help. Unpack, and run dsl-vhd.bat.
try adding the path of gcc to your filetool.lst. I think it will be in /usr/lib/ or copy the gcc directory to /opt and make a link in /usr/bin for the new location in /opt and put a line in /opt/bootlocal.sh to make the link on each bootup, there are probably some configuration files in /etc that will have to be added to the filetool.lst also. but not sure. If I understand it right the filetool.lst is where files are listed that you want to stay persistent.
Hello again colorpurple
I’m not sure if I do everything right. I add to .filetool.lst the following:
and for bootlocal.sh:
usr/lib/gcc-2.95 (boot: No such file or directory) – I don’t know why. I see the file after boot
mnt/hdb/mydsl/gcc-2.95.dsl (boot: Permission Denied)
After weeks of exhaustive search I finally found the answer ->http://www.damnsmalllinux.org/f/topic-3-9-16695-0.html
I hadn't tested it yet but I think it works.
I will also try “sudo dpkg-i /mnt/hdb/your_pkg_folder/*.deb” in /opt/bootlocal.sh to install all my .deb packages without specify the package name each boot.
Important Note: You have to copy your .deb package from /var/cache/apt/archives/ to /mnt/hdb/... or to other persistent volume.
|All times are GMT -5. The time now is 05:58 AM.|