I just installed QNX 4.25 and whenever I reboot, I get the “login: “ prompt for about a second, then it appears that my DVD-Rom drive is detected, and the following is displayed on the screen:
login: Path=0 – EIDE target=0 lvm=0 CD-ROM(5) – SAMSUNG DVDROM SD-616E Rev.F501
QNX pat ‘/dev/cd1.0’ adopted as CDROM drive ‘/cd1.0’
And then I able able to type root and login, but why is this being displayed at my login prompt?
[u]2nd Problem[/u]
Whenever I exit Photon, I see the following on the screen right after my original entry of # ph:
couldn’t open ////.photon/pwm/pwm.cfg for read #waiting for the Input driver to startup…
#
The default install leaves the eide driver in verbose, rather than quiet, mode and your driver takes a little time to repond - on a faster driver, the output would have been earlier in the boot process.
The second “problem” is because you don’t have a home directory for root - an error in the default qnx4 installation I suppose. In 6.x, root has a home dir of /root. You can do the same in qnx4 and you won’t get the “couldn’t open…” error.
by default, all those “debug/info” messages will show up on the console, which may mix up with other texts already on there. I am not sure if there is a way to “redirect” those messages.
you can create a home directory for root, eg: mkdir /home/root and then change the /etc/passwd file so that the home dir of root points to the newly created dir.
I don’t suppose there’s any way to delay the output of the message that’s contained in the /etc/issue file, maybe by using a sleep statement or something? That way it would give it more time to detect the CD-Rom?
Ok, how do I reset my root password. I’ve done something, and now when I type “root” to log in, it just gives me another login: prompt. I can only get in as ftp.
You can run “passwd root” command to reset the root password.
Now that you can’t even login, you can probably ftp get the /etc/shadow file and zero out the root password and ftp put back in. This hopefully will let you login as root with no password. Once you are in, you can run “passwd root” to reset the password.
Well, I simply renamed the pdms to pwms, and that got rid of the “couldn’t open…” message, but I’m still getting the “Waiting for the Input driver to startup…”. What is causing that?
“Waiting for the Input driver to startup…” come from the Photon startup script. If you don’t like it, you can edit /usr/bin/ph to comment out that line.