Hi Lachu
... Is there any way to save list of installed packages ...
This will create a list of all installed packages:
ls -1 /etc/sysconfig/tcedir/optional/*.tcz > packages.lst
That's a one after the ls command.
Save packages.lst and a copy of your onboot.lst file someplace safe. You might also want to save a copy of your
/etc/sysconfig/tcedir/mydata.tgz file in case you have any configuration settings backed up in there.
... and remove installed after backup list creation?
You want to remove all installed extensions? Boot using the text base norestore boot codes. At the prompt, enter:
busybox rm -f /etc/sysconfig/tcedir/optional/*
If you want to re-installed all your extensions, boot using the text base norestore boot codes. At the prompt, enter:
busybox rm -f /etc/sysconfig/tcedir/optional/*
for i in `cat onboot.lst`; do tce-load -iw "$i"; done
Those are back ticks surrounding the cat command. They should be on your ~ key.
You can then:
ls -1 /etc/sysconfig/tcedir/optional/*.tcz > installed.lst
diff -u packages.lst installed.lst
This will list any discrepancies between your previous and current installations.
Or you can just copy your tce directory someplace safe and restore it when you are done.