Hi,
I encounter almost the same situation when I try to modify the sysinit.1 file.
I did something stupid to add a line “stty +raw </dev/ser01” in the sysinit.1 file. When I wanted to boot again, the message showed there is no such a file or directory, then the system seemed to be hanged on. I waited for a long time, and it didn’t go on to the next step.
My hardware is not a PC. It is a PC/104 single board computer, an Advantech PCM-3350.
The original QNX system is installed on a CF card (let me call it CF1). I tried to mount the original as the second disk, then use another CF card (let me call it CF2) with installed QNX to boot in. However, I am not sure how to make it.
I mount the CF1 by rewrite sysinit.1 of CF2, but when I boot into the system of CF2, the CF1 cannot be mounted. The system detected CF1 and CF2 as primary master and secondary master respectively.
Here are some test I did with the sysinit.1 of CF2. Please check it and show me what’s wrong with my work. Thank you.
First, I found the example in the QNX instruction manual, and followed it:
  mount /dev/hd0t77 /
  mount /dev/hd1t77 /home2
But the mesaage when booting showed:
  mount: stat() on /dev/hd0t77 failed: No such file or directory
  mount: stat() on /dev/hd1t77 failed: No such file or directory
Then I check the /dev/ directory, found the hard disks were:
  hd0.0
  hd1.0
  hd1.0t6
  hd1.0t77
So I change the mounting description as:
  mount /dev/hd0.0t77 /
  mount /dev/hd1.0t77 /home2
And the message showed:
  mount: stat() on /dev/hd0.0t77 failed: No such file or directory
  mount: mount() on /dev/hd1.0t77 failed: Resource busy
Finally, I thought that CF2 was used for boot, so maybe it is why the message showed “resource busy”. Therefore, I rewrite the mounting description as:
  mount /dev/hd1.0t77 /
  mount /dev/hd0.0t77 /home2
And the message only showed:
  mount: stat() on /dev/hd0.0t77 failed: No such file or directory