creating install floppies from QNX 4.25 CDROM

Greetings,
I would like to know how I can create install floppies from my 4.25
CDROM. It’s a pain to boot/install from CDROM all the time. Any help would
be appreciated. Thanks to all!!

Marco

I don’t think that would be at all easy. The well known technique needs
a text file, make, the Proc pieces, etc. If you can temporarily install
to a hard drive, making the boot floppy would be much easier.

Richard

“M. Mazzi” wrote:

Greetings,
I would like to know how I can create install floppies from my 4.25
CDROM. It’s a pain to boot/install from CDROM all the time. Any help would
be appreciated. Thanks to all!!

Marco

Richard,
Thanks for the response. Yes, I can install to hard disk. But would
that still allow me to create install floppies of the OS??? Let’s assume
that after this last CDROM install, I only want to perform future installs
using floppies. The pain is taking the 104 Stack apart, running the IDE
cable, etc…Thanks,

M. Mazzi

“Richard Kramer” <rrkramer@kramer-smilko.com> wrote in message
news:3D77F46C.1987EA9D@kramer-smilko.com

I don’t think that would be at all easy. The well known technique needs
a text file, make, the Proc pieces, etc. If you can temporarily install
to a hard drive, making the boot floppy would be much easier.

Richard

“M. Mazzi” wrote:

Greetings,
I would like to know how I can create install floppies from my
4.25
CDROM. It’s a pain to boot/install from CDROM all the time. Any help
would
be appreciated. Thanks to all!!

Marco

Hi Mazzi

It really isn’t hard at all. I’ve made several different kinds of install
floppies. They all install just fine with the /etc/install command. There
are just a few gotchas. Here they are:

The /etc/install technique involved storing old style QNX licenses and a
.pax.F archive on a single floppy. That archives is stored on the
floppy using the vol utility. The first file in the archive is called
“/dev/tty” so when it is unarchived it just displays to the screen. It is
usually just a text file that contains something like:
“\n\n\n\n\n\n\t\t\t\Installing Blah Blah Blah Version 1.23\n”. The last
file in the archive is a shell script called /tmp/setup. After /etc/install
is done unarchiving, it then executes the /tmp/setup file if it exists.
Hint: Good programming practice is to delete the setup file as the last line
of it.

Since there may be old style licenses on the floppy vol has to write the vol
data offset by 1 sector. Here is a script that I use to create install
floppies. This script runs on the host system that is creating the floppies
but it writes out all of the necessary scripts on the floppies. Read
carefully to see how it does what it does. In places where it might not
make sense I’ve removed any propritary information.


#!/bin/sh
echo "This utility will create a floppy that can be installed with
the QNX install utility

The floppy will install all Blah Blah Blah software and config and data
files

You will need 3 pre-fdformat’ed and dcheck’ed floppies.
"
read ans?‘Hit to continue’


echo "





We will now install Blah on your system.
When the installation is complete your system must be rebooted.
Make sure that you remove the floppy before the system reboots.

" > install_msg


echo "cd /etc/config

rename the sysinit files

mv sysinit.1 sysinit.1original
mv sysinit.newsystem sysinit.1
" > loadBackground.1

\

create the /blah/blah

/bin/mkdir -p /blah/blah

\

create an empty data base file

/bin/touch /blah/data/my.db


echo "\a
Your system will now be rebooted.
Make sure that you remove the floppy before the system reboots.

Many of the newer high speed PCI Pentiums are not able to soft boot.
If your system does not completely reboot,
hit the RESET button on the front of the computer.

To Prevent your system from rebooting hit +C Now!"
/bin/sync
sleep 15
echo
echo You have 10 seconds
sleep 1
echo You have 9 seconds
sleep 1
echo You have 8 seconds
sleep 1
echo You have 7 seconds
sleep 1
echo You have 6 seconds
sleep 1
echo You have 5 seconds
sleep 1
echo You have 4 seconds
sleep 1
echo You have 3 seconds
sleep 1
echo You have 2 seconds
sleep 1
echo You have 1 seconds
echo
sleep 1
shutdown -f
" > setup
chmod +x setup


echo “install_msg
setup” > /tmp/install.tmp
find /blah/bin >> /tmp/install.tmp
echo /blah/data/my.db >> /tmp/install.tmp


pax -vw < /tmp/install.tmp | freeze | vol -ws2 /dev/fd0

if [ $? -ne 0 ]; then
exit
fi

sync
echo "
Wait for Diskette drive light to go out and then remove the diskette"

rm install_msg setup /tmp/install.tmp

“Richard Kramer” <rrkramer@kramer-smilko.com> wrote in message
news:3D77F46C.1987EA9D@kramer-smilko.com

I don’t think that would be at all easy. The well known technique needs
a text file, make, the Proc pieces, etc. If you can temporarily install
to a hard drive, making the boot floppy would be much easier.

Richard

“M. Mazzi” wrote:

Greetings,
I would like to know how I can create install floppies from my
4.25
CDROM. It’s a pain to boot/install from CDROM all the time. Any help
would
be appreciated. Thanks to all!!

Marco