package installer corrupts disk volume

Hi,

recently I de-installed with the installer ‘qnxinstall’ the useless
package ‘gettext’(3rd party CD) which consists out of 3 modules.

‘qnxinstall’ failed with the de-installation of the second
module and shuted down the whole machine ungracefuly =:-/

After this action a re-boot of the system was not possible because of
missing tcp/ip modules.

Only a boot with a base system was now possible … Photon could still
be started. After a succesful de-installation oft the last gettext
module the problem went away (by chance?)

So … what is correct way to repair the files system if a
de-installation by qnxinstall has been failed ??

Regards

Armin

It’s difficult to say without knowing exactly what went wrong. Would you
still have the /etc/system/package/session.log.* that shows the error while
uninstalling?

Jerry Chappell

“Armin” <a-steinhoff@web.de> wrote in message
news:b0pemp$qeg$1@inn.qnx.com

Hi,

recently I de-installed with the installer ‘qnxinstall’ the useless
package ‘gettext’(3rd party CD) which consists out of 3 modules.

‘qnxinstall’ failed with the de-installation of the second
module and shuted down the whole machine ungracefuly =:-/

After this action a re-boot of the system was not possible because of
missing tcp/ip modules.

Only a boot with a base system was now possible … Photon could still
be started. After a succesful de-installation oft the last gettext
module the problem went away (by chance?)

So … what is correct way to repair the files system if a
de-installation by qnxinstall has been failed ??

Regards

Armin



\

a-steinhoff@web.de sed in <b0pemp$qeg$1@inn.qnx.com>:

So … what is correct way to repair the files system if a
de-installation by qnxinstall has been failed ??

Dunno about installer specifics, but
if you’re thrown out with corrupt filesystem,

*) Press SPACE during “Press Space for boot options”
*) Select F5 (Emergency shell)
*) After awhile, emergency shell (fesh) kicks in. Then

cd /pkgs/base/qnx/os/core*

x86/sbin/chkfsys /dev/hd0t77

You can’t use “ls” as it needs fs-pkg which isn’t
invoked yet. Use “els”. Consult fesh help page for other commands.

exit

Boot resumes.
Bonus point: you can “chkfsys /boot/fs/qnxbase.qfs” to fix
glitches in the Base system files (/pkgs/base/).
*) Another emergency shell. just “exit”.

As QNX doesn’t have “single user” mode, I guess this is
the way to fsck^Wchkfsys cleanly.

chkfsys-ing from CDROM boot may be easier, but
booting from the existing HDD installation is faster you know.

kabe

Thanks a lot for your hints …

Regards

Armin


kabe@sra-tohoku.co.jp wrote:

a-steinhoff@web.de > sed in <b0pemp$qeg$> 1@inn.qnx.com> >:


So … what is correct way to repair the files system if a
de-installation by qnxinstall has been failed ??


Dunno about installer specifics, but
if you’re thrown out with corrupt filesystem,

*) Press SPACE during “Press Space for boot options”
*) Select F5 (Emergency shell)
*) After awhile, emergency shell (fesh) kicks in. Then

cd /pkgs/base/qnx/os/core*

x86/sbin/chkfsys /dev/hd0t77

You can’t use “ls” as it needs fs-pkg which isn’t
invoked yet. Use “els”. Consult fesh help page for other commands.

exit

Boot resumes.
Bonus point: you can “chkfsys /boot/fs/qnxbase.qfs” to fix
glitches in the Base system files (/pkgs/base/).
*) Another emergency shell. just “exit”.

As QNX doesn’t have “single user” mode, I guess this is
the way to fsck^Wchkfsys cleanly.

chkfsys-ing from CDROM boot may be easier, but
booting from the existing HDD installation is faster you know.