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 ??
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?
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 ??
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.
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.