“Alain Bonnefoy” <firstname.lastname@example.org> wrote in message
qnxbase.qfs seems to create the base directory tree, now I need to manually
copy /etc/system/package/packages, /etc/rc.d/rc.local, and particularly
How to create a mythings.qfs to include all directories/files I want?
Exactly this question is answered at qdn.public.qnxrtp.embedded conference.
Ok, yet another cut&paste:
There is no any special utility, AFAIK.
creat a 4 Mb file
dd if=/dev/zero of=/systemX.qfs bs=1024 count=4096
creat a QNX file system inside the file
mount this file system
mount /systemX.qfs /systemX
work with files under /systemX/ like it is normal filesystem space
A: 1) Don’t use primary loader, if you don’t need partitioned drive in
target. Just dinit HD like you do for floppy disk.
But I did a fdisk and dinit allready and according to my tests I cannot use
dos fdisk If I boot with a dos floppy, it doesn’t >recognize my disk and
just create a ram disk as C: !!arghh!!
If you don’t need to have partitions on hard disk, you can do dinit only
(you must not do fdisk). Ok, you can try in DOS environment to type in
C:> fdisk /mbr
This command will write standard primary loader to hard disk. If your QNX
partition is marked as active (it’s selected by default in question “Boot
partition:”), the next reboot will boot this active partition without any
questions. And sure, DOS will not recognize your QNX partition on disk
But it should not be a problem to repair MBR (command “fdisk /mbr” is
supposed to use for repairing MBR after being under boot viruses attack )
- Use any primary loader which doesn’t ask about partition but just
use active partition. There are lots of them.
Maybe but where? I try to find some without success. Qnx web site talk
about /usr/free/qnx4/os/disk/utils/quietloaders.tgz >but it doesn’t exist
There is one of them in DOS, see above how to get it Also, you can get
such loader from Linux or any other OS. I don’t know why it’s not documented
but I believe I saw a lot of loaders in my QNX6.1 system.
- Hex-edit the MBR (primary loader) in order to eliminate the delay.
believe I wrote about this hack at embedded conference.
Why not? But be very careful