How do I use the floppy?

Hi everyone,
I’m quite new with QNX (hence this group :wink: and am having problems
copying files using the floppy. I copied the files from Windows (DOS file
system) but can not get QNX to read them. Any help would be appreciated.

mount -tdos /dev/fd0 /fs/floppy

then all files appear under /fs/floppy

unless of course you are using DOS under NT. There appears to be a problem
reading disks generated in this environment. All three NT machines at our
place produce non-QNX readable disks but 95.98 etc works just fine?

Poseidon

Hi…

One way to get away from the disk thing is to create a new partition. I
understand that Partition Magic 6.0 will work in Win2000 and NT. Just
crete a 2Gb partition, install QNX 6.1.0 on it, and you will never have
to worry about the ‘disk’ thing. Then you choose which partition to
boot. I have both my laptop and desktop running this way. BTW, AFIK
Linux does not work in its own partition with Win2000 or NT on it like
QNX does; you will need the disk to boot in Linux.

I recall reading somewhere that QNX 6.1.0 will not understand the NT
type partition present in both NT and Win2000 boxes. Frankly, a
solution for the time being --until QNX can get around reading NT file
format-- is to leave and old machine with Win98 on it. Then you could
use it as a bridge between QNX and the Mircro$$$$oft world (that is not
a typo BTW). It will save you a lot of headache.

Hope this help…

Bests…

Miguel.


Me wrote:

unless of course you are using DOS under NT. There appears to be a problem
reading disks generated in this environment. All three NT machines at our
place produce non-QNX readable disks but 95.98 etc works just fine?

Poseidon

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com

Hello,

You’re going to have to use the mount utility to gain access to the disk. You can type ‘use mount’ on the command line to get the usage for this utility. In your case you’re going to most likely use something like the following.
‘mount -t dos /dev/fd0 /floppy’
This will create the directory ‘floppy’ and all files on the disk can be seen in that directory.

Regards,
Dave B.


Doc Turner <docturner@earthlink.net> wrote:

Hi everyone,
I’m quite new with QNX (hence this group > :wink: > and am having problems
copying files using the floppy. I copied the files from Windows (DOS file
system) but can not get QNX to read them. Any help would be appreciated.

Hi,

Miguel Simon <simon@ou.edu> wrote in article <3B49F186.F03280@ou.edu>…

Hi…

One way to get away from the disk thing is to create a new partition. I
understand that Partition Magic 6.0 will work in Win2000 and NT. Just
crete a 2Gb partition, install QNX 6.1.0 on it, and you will never have
to worry about the ‘disk’ thing. Then you choose which partition to
boot. I have both my laptop and desktop running this way. BTW, AFIK
Linux does not work in its own partition with Win2000 or NT on it like
QNX does; you will need the disk to boot in Linux.

I am sure Linux works in its own partition with Win2000 or NT. You will
need the image of bootsector (the first 512 bytes) of ext2 partition to
pass control to lilo from ntldr. Of course, you can pass control to ntldr
from lilo, if you prefer lilo.
I am not quite sure it affects the initial question

[cut]

Me wrote:

unless of course you are using DOS under NT. There appears to be a
problem
reading disks generated in this environment. All three NT machines at
our
place produce non-QNX readable disks but 95.98 etc works just fine?

Poseidon

Did you try format a: in NT console? exactly in Command Prompt, nor GUI ? I
use disks formatted in Windows NT 4.0 workstation SP6 and they seem to work
for me in QNX.

Regards,
Eduard.

I am sure Linux works in its own partition with Win2000 or NT. You will
need the image of bootsector (the first 512 bytes) of ext2 partition to

what I meant as well…

pass control to lilo from ntldr. Of course, you can pass control to ntldr
from lilo, if you prefer lilo.

My understanding is that lilo (RH 7.1) is not compatible with W2k or NT.
Thus the need for the floppy to boot into Linux partition.

I am not quite sure it affects the initial question

You are right, in no way.

Bests…

Miguel

[cut]

Me wrote:

unless of course you are using DOS under NT. There appears to be a
problem
reading disks generated in this environment. All three NT machines at
our
place produce non-QNX readable disks but 95.98 etc works just fine?

Poseidon

Did you try format a: in NT console? exactly in Command Prompt, nor GUI ? I
use disks formatted in Windows NT 4.0 workstation SP6 and they seem to work
for me in QNX.

Regards,
Eduard.

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com

Hello,

Miguel Simon <simon@ou.edu> wrote in article <3B4B4528.ACAFFA57@ou.edu>…

I am sure Linux works in its own partition with Win2000 or NT. You will
need the image of bootsector (the first 512 bytes) of ext2 partition to

what I meant as well…

pass control to lilo from ntldr. Of course, you can pass control to
ntldr
from lilo, if you prefer lilo.

My understanding is that lilo (RH 7.1) is not compatible with W2k or NT.
Thus the need for the floppy to boot into Linux partition.

I’m not quite sure I understand what do you mean "lilo is not compatible

with". You can install linux in own partition, then you can save the
bootsector of ext2 partition (I hope dd helps your). Then you must to place
the saved file (for example, linux.bs) alongside of ntldr (for example, on
disk C:). And last, you must add the next in your boot.ini:
C:\linux.bs=“RedHat Linux 7.1”
What do you need the floppy for? You will have the “RedHat Linux 7.1”
prompt from NT OS Loader. You could install QNX RTP in its own partition in
the same manner. Of course, you must do not choose the QNX loader during
installation (QNX loader is placed in master boot record only, BTW do not
forget to point to hdaN where N is number of your ext2 partition for lilo
during linux installation :slight_smile:)

[cut]

Me wrote:

unless of course you are using DOS under NT. There appears to be a
problem
reading disks generated in this environment. All three NT machines
at
our
place produce non-QNX readable disks but 95.98 etc works just fine?

Poseidon

Did you try format a: in NT console? exactly in Command Prompt, nor GUI
? I
use disks formatted in Windows NT 4.0 workstation SP6 and they seem to
work
for me in QNX.
I have formatted floppy and I have saved files to the floppy, both in WinNT

4.0 SP6 by GUI tools exclusive for my interest (I usual use command
prompt). I have no any problem to mount this floppy and to read the files
in QNX RtP. I believe it just was a joke…

Regards,
Eduard.

I have formatted floppy and I have saved files to the floppy, both in
WinNT
4.0 SP6 by GUI tools exclusive for my interest (I usual use command
prompt). I have no any problem to mount this floppy and to read the files
in QNX RtP. I believe it just was a joke…

A joke?

Hi Eduard…

I am a newby on Linux things, so bear with me… :slight_smile:

(To all: my apologies for using rtp newsgroups to ask a Linux question,
but I need to have Linux and RTP all in the same machine. So in a way
the questions are relevant any way, and for a change, I am porting from
RTP to Linux… go figure! :slight_smile: Thanks.)

Eduard Kromskoy wrote:

My understanding is that lilo (RH 7.1) is not compatible with W2k or NT.
Thus the need for the floppy to boot into Linux partition.

I’m not quite sure I understand what do you mean “lilo is not compatible
with”. You can install linux in own partition, then you can save the

…my experience? But you can tell my experience is limited, can you?
:slight_smile:
(thanks for your help BTW).

bootsector of ext2 partition (I hope dd helps your). Then you must to place

How exactly do you “save the bootsector of ext2 partition” ? What is
dd?

the saved file (for example, linux.bs) alongside of ntldr (for example, on
disk C:). And last, you must add the next in your boot.ini:
C:\linux.bs=“RedHat Linux 7.1”
What do you need the floppy for? You will have the “RedHat Linux 7.1”

I agree that I do not want the floppy, so I’ll try this and see…

prompt from NT OS Loader. You could install QNX RTP in its own partition in
the same manner. Of course, you must do not choose the QNX loader during
installation (QNX loader is placed in master boot record only, BTW do not
forget to point to hdaN where N is number of your ext2 partition for lilo
during linux installation > :slight_smile:> )

Any place online where all this information is available?

May be you can help on this too: On Linux, where are the libsocket
libraries? How do you compile a sockets program in Linux? g++ -lsocket
does not seem to do the trick… :frowning:

What Linux news group would you recommend I ask these questions (there
is gazillion of them)? I would prefer a technical group the likes of
RTP news groups…

Thanks…

Miguel.

Regards,
Eduard.

my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.

Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com

Hi.

Me <paul.ryan2@nospam.virgin.net> wrote in article
<9ihauv$89c$1@inn.qnx.com>…

I have formatted floppy and I have saved files to the floppy, both in
WinNT
4.0 SP6 by GUI tools exclusive for my interest (I usual use command
prompt). I have no any problem to mount this floppy and to read the
files
in QNX RtP. I believe it just was a joke…

A joke?
:slight_smile:

I’m sorry for my sloppy English. I meant you had made a joke… Anyway I
don’t know that which causes for your trouble.

Best regards,
Eduard.

Hi Miguel,

Miguel Simon <simon@ou.edu> wrote in article <3B4CA45A.63F73258@ou.edu>…

Hi Eduard…

I am a newby on Linux things, so bear with me… > :slight_smile:

(To all: my apologies for using rtp newsgroups to ask a Linux question,
but I need to have Linux and RTP all in the same machine. So in a way
the questions are relevant any way, and for a change, I am porting from
RTP to Linux… go figure! > :slight_smile: > Thanks.)

Eduard Kromskoy wrote:

My understanding is that lilo (RH 7.1) is not compatible with W2k or
NT.
Thus the need for the floppy to boot into Linux partition.

I’m not quite sure I understand what do you mean “lilo is not
compatible
with”. You can install linux in own partition, then you can save the

…my experience? But you can tell my experience is limited, can you?
:slight_smile:
(thanks for your help BTW).

My English is bad. I meant no harm.

bootsector of ext2 partition (I hope dd helps your). Then you must to
place

How exactly do you “save the bootsector of ext2 partition” ? What is
dd?

dd is a command (I hope it’s a POSIX command). Type dd --help for get help.
Anyway you could try in linux (you must be root)
dd if=dev/hda1 of=linux.bs count=1 bs=512
to save the bootsector of first primary partition to “linux.bs” file in
current directory.

the saved file (for example, linux.bs) alongside of ntldr (for example,
on
disk C:). And last, you must add the next in your boot.ini:
C:\linux.bs=“RedHat Linux 7.1”
What do you need the floppy for? You will have the “RedHat Linux 7.1”

I agree that I do not want the floppy, so I’ll try this and see…

Do you intend to have NT in addition to linux+qnx? This conversation about
boot management by NT OS loader. Lilo (or QNX loader) does not require any
images of bootsectors. When you choose other OS in lilo or qnx loader you
to point to partition would you like to boot from. When you choose other OS
in ntldr you to point the image of bootsector would you like to pass
control to (instead really bootsector on partition).

prompt from NT OS Loader. You could install QNX RTP in its own
partition in
the same manner. Of course, you must do not choose the QNX loader
during
installation (QNX loader is placed in master boot record only, BTW do
not
forget to point to hdaN where N is number of your ext2 partition for
lilo
during linux installation > :slight_smile:> )

Any place online where all this information is available?

What kind of information exactly you need? I’m afraid it’s only docs of
different OS.

May be you can help on this too: On Linux, where are the libsocket
libraries? How do you compile a sockets program in Linux? g++ -lsocket
does not seem to do the trick… > :frowning:

I believe I’ve read this question in other newsgroup. Unfortunately, I can
not help.

What Linux news group would you recommend I ask these questions (there
is gazillion of them)? I would prefer a technical group the likes of
RTP news groups…

It’s a pity, but I don’t know…
may be, anyone else can help…?

Best regards,
Eduard.