fdisk command:

Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Reply me ASAP!

Thanks

Shumail
shumail@colormail.com

Previously, Shumail wrote in qdn.public.qnx2:

Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Before you use fdisk, you will need to mount a disk driver, eg.

$ mount disk 3 disk.ata

If the disk mounts properly, you can check to see if this runs?

$ dcheck 3

If dcheck appears to be working, then


$ fdisk 3

should.



\

Mitchell Schoenbrun --------- maschoen@pobox.com

I issued the commands that you told me. It showed me the fdisk menu with many
options which is kinda confusing. I am writing the screen input:

Ignore Next Previous Change Del Mount Boot Unboot
Save Quit

OS Name Type start cylinder end cylinder
Number(Cylinder) Number(Blocks) Boot

  1.    ---------                    ----
    

  1.    dos (1)                    23145
    

23155 11 207
3. ---- (165) 33952
63137 29186 -1273494525 *
4. ---- (243) 906
44457 43552 -13371853 *

user up and down …
type c to …
type …

qnx is OS type 7,8 or 9 and dos is os type 1 or 4. Unused is os type 0

First Cylinder is 0, Last Cylinder is 79
Disk is 737,280 bytes H=2 T=80 N=0

I have QNX installed on this hard disk but I am confused with this. I think
the mbr is corrupted. Can you please guide me?

Reply me ASAP!

Thanks
Shumail

shumail@colormail.com


Mitchell Schoenbrun wrote:

Previously, Shumail wrote in qdn.public.qnx2:
Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Before you use fdisk, you will need to mount a disk driver, eg.

$ mount disk 3 disk.ata

If the disk mounts properly, you can check to see if this runs?

$ dcheck 3

If dcheck appears to be working, then

$ fdisk 3

should.


Mitchell Schoenbrun --------- > maschoen@pobox.com

Hi,

When I first issue the command:

mount disk 3 disk.ata
it says:
disk.ata : unable to match file

when I issue the command:

fdisk 1 then it show the statistics that I posted before and when I issue the
command fdisk 2 or fdisk 3 and fdisk 4 it doesnt’ work at all.

What are the possible reasons? if disk.ata doesn’t match then there’s any
alterante name?

Thanks
Shumail
shumail@colormail.com


Mitchell Schoenbrun wrote:

Previously, Shumail wrote in qdn.public.qnx2:
Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Before you use fdisk, you will need to mount a disk driver, eg.

$ mount disk 3 disk.ata

If the disk mounts properly, you can check to see if this runs?

$ dcheck 3

If dcheck appears to be working, then

$ fdisk 3

should.


Mitchell Schoenbrun --------- > maschoen@pobox.com

Hi Mitchell,

I guess that disk.ata is missing so I checked under /drivers and it showed me
the following files start with disk:

disk.ahascsi
disk.at
disk.atc
disk.bios
disk.ps2
disk.ps2esdi
disk.ps2scsi
disk.ram
disk.xt

which file I should choose?

Thanks

Shumail
shumail@colormail.com

Mitchell Schoenbrun wrote:

Previously, Shumail wrote in qdn.public.qnx2:
Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Before you use fdisk, you will need to mount a disk driver, eg.

$ mount disk 3 disk.ata

If the disk mounts properly, you can check to see if this runs?

$ dcheck 3

If dcheck appears to be working, then

$ fdisk 3

should.


Mitchell Schoenbrun --------- > maschoen@pobox.com

disk.atc is the correct driver for a non-lba mode hdisk connected on a machine
that has lba disabled for ide.
you will need to ensure that the cmos on that machine has the correct
heads/tracks/sectors as described on your harddisk itself.

disk.ata is a newer driver that was donated by the community for use with
lba drives, but it is not shipped on the qnx floppy.

Shumail <shumail@colormail.com> wrote:

Hi,

When I first issue the command:

mount disk 3 disk.ata
it says:
disk.ata : unable to match file

when I issue the command:

fdisk 1 then it show the statistics that I posted before and when I issue the
command fdisk 2 or fdisk 3 and fdisk 4 it doesnt’ work at all.

What are the possible reasons? if disk.ata doesn’t match then there’s any
alterante name?

Thanks
Shumail
shumail@colormail.com



Mitchell Schoenbrun wrote:

Previously, Shumail wrote in qdn.public.qnx2:
Hello everyone,

I have one harddisk which is primary one. I boot from floppy. I tried to
issue the fdisk command but it gave me error “unable to access”. can
anybody tell me that what’s the exact syntax of fdisk command? I am not
sure if I am giving the right command.

Before you use fdisk, you will need to mount a disk driver, eg.

$ mount disk 3 disk.ata

If the disk mounts properly, you can check to see if this runs?

$ dcheck 3

If dcheck appears to be working, then

$ fdisk 3

should.


Mitchell Schoenbrun --------- > maschoen@pobox.com


Randy Martin randy@qnx.com
Manager of FAE Group, North America
QNX Software Systems www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579