QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
How to create a QNX2 boot floppy |
Ref. No. |
QNX.000009572 |
Category(ies) |
Utilities, Configuration |
Issue |
How do you create a QNX2 boot floppy?
|
Solution |
To make a protected mode QNX Boot diskette:
** The following instructions assume that you have a QNX system up and running. You may need to manually mount(see mount command in Utilities manual) and move over to your hard disk in order to proceed with step 1. e.g. boot with standard QNX boot floppy, mount hard disk, cd over etc.
1. Format a blank diskette. e.g. fdformat 1 +720
2. Dinit the floppy. e.g. dinit 1
3. Make the following directories on the floppy: mkdir 1:/cmds mkdir 1:/config mkdir 1:/drivers mkdir 1:/netboot
4. Copy to floppy the following files: (the dates may be different) cp /cmds/mount 1:/cmds/mount cp /cmds/sh 1:/cmds/sh cp /cmds/search 1:/cmds/search cp /drivers/*** 1:/drivers/*** - copy the disk driver that you will need e.g. disk.1540a /netboot/os.2.15Gatp - whichever os you desire.
5. Move over to the floppy. e.g. cd 1:/
6. Issue the boot command. e.g. boot 1:/netboot/os.2.15Gatp
7. Create a simple sys.init file within 1:/config that contains enough information to start up your hard disk and move to it. e.g. ed 1:/config/sys.init
Here is a sample file that mounts my hard disk: mount disk 3 /drivers/disk.atc pa=qnx
8. Your system should now be bootable from floppy.
**IMPORTANT** Booting from floppy means that no network access is permitted. This means that this procedure should only be considered for stand alone systems. It is not possible to boot a machine into a QNX network from the floppy drive. |
|