How to do away with mozilla
Posted: Wed 04 Jan 2006, 00:50
If you dont like mozilla / dont use it / want to use other broswers such as firefox / konqueror, use this how to remove mozilla from your usr_cram.fs file. It is huge around 30 mbs are eaten by mozilla when it is just sitting around there.
All the remaster scripts I have seen until now have humonguous requirements, which not every puppy user can have. However this is for me the simplest way of HACKING usr_cram.fs
I have my files vmlinuz, image.gz and usr_cram.fs stored on the hd. This how to is directed at such users. I dont know how this will work for cd users.
1. copy your usr_cram.fs to usr_cram.fs2
2. exec command -> mount -r -t squashfs -o loop /mnt/home/usr_cram.fs /mnt/data
3. make a folder called cram in my-documents
4. using rox drag all the files from /mnt/data to the cram folder (will take some time)
5. exec command -> umount /dev/loop2. Delete /mnt/home/usr_cram.fs
6. goto /cram/lib folder. Remove the mozilla folders
7. got /cram/local/bin. Remove all apps starting with moz.
8. Thats it we are all set to repackage out cram file
9. open a new rox. navigate to my-documents. right click. Select xterm here. execute the following command
mksquashfs ./cram /mnt/home/usr_cram.fs
this will take some time. the /mnt/home can be replaced to the folder where you want this
10. open rox -> click on the up arrow ie (now we are in /(thumbs)
delete the usr_cram.fs file from there. Puppy loads this usr_cram.fs file at every bootup. If it would be stored in pupfile than our changes wont take effect.
NOTE puppy loads the usr_cram.fs file by matching the size of the usr_cram.fs with one in the sizeusrcram in image.gz. Now remastering image.gz in dangerous. So we will not resort to that.
The only disavantage of this remaster is that at boot puppy will say to you that the size of the usr_cram file does not match, but will still load it after you press the enter key
11. REBOOT, dont panic, Press ENTER
All the remaster scripts I have seen until now have humonguous requirements, which not every puppy user can have. However this is for me the simplest way of HACKING usr_cram.fs
I have my files vmlinuz, image.gz and usr_cram.fs stored on the hd. This how to is directed at such users. I dont know how this will work for cd users.
1. copy your usr_cram.fs to usr_cram.fs2
2. exec command -> mount -r -t squashfs -o loop /mnt/home/usr_cram.fs /mnt/data
3. make a folder called cram in my-documents
4. using rox drag all the files from /mnt/data to the cram folder (will take some time)
5. exec command -> umount /dev/loop2. Delete /mnt/home/usr_cram.fs
6. goto /cram/lib folder. Remove the mozilla folders
7. got /cram/local/bin. Remove all apps starting with moz.
8. Thats it we are all set to repackage out cram file
9. open a new rox. navigate to my-documents. right click. Select xterm here. execute the following command
mksquashfs ./cram /mnt/home/usr_cram.fs
this will take some time. the /mnt/home can be replaced to the folder where you want this
10. open rox -> click on the up arrow ie (now we are in /(thumbs)
delete the usr_cram.fs file from there. Puppy loads this usr_cram.fs file at every bootup. If it would be stored in pupfile than our changes wont take effect.
NOTE puppy loads the usr_cram.fs file by matching the size of the usr_cram.fs with one in the sizeusrcram in image.gz. Now remastering image.gz in dangerous. So we will not resort to that.
The only disavantage of this remaster is that at boot puppy will say to you that the size of the usr_cram file does not match, but will still load it after you press the enter key
11. REBOOT, dont panic, Press ENTER