Skip navigation.
The QNX Community Portal

View topic - Software to resize QNX4 filesystem partitions?

Software to resize QNX4 filesystem partitions?

For the old QNX2 and QNX4 RTOS

Software to resize QNX4 filesystem partitions?

Postby KwadGuy » Mon Sep 21, 2009 2:41 am

I have a new toy (Harmon Kardon DMC 1000 music server) that is basically a single purpose PC in an audio component case. It has a 250gb hard drive for storing music, which I would like to replace/upsize. I took the drive out and was able to dd image it in linux to a new 650gb drive--and the resulting drive worked in the music server--but still only saw it as 250Gb.

It turns out the drive uses the qnx4 filesystem, used by the emedded QNX linux system.

As far as I can tell, none of the popular partition managing software programs out there allow you to do much/anything with qnx4 filesystems. I though maybe I could use one of these to resize the paritions and use the additional space...

So my question is: Is there an QNX expert out there who can tell me: 1) Would it likely be a small matter of resizing the partitions to use the extra space; and 2) if so, is there any utility out there that could do that?

New Member
Posts: 1
Joined: Mon Sep 21, 2009 2:39 am

RE: Software to resize QNX4 filesystem partitions?

Postby mario » Mon Sep 21, 2009 2:11 pm

It's a very complicated process, it's more like hacking... Further more in most cases a bigger HD requires some special option to be specify to the file system driver ( Fsys ), which unless you have complete QNX4 system you won't be able modify. However this system may use QNX6 which may not need this special option.

What I would do, is get QNX6, run it in vmware. Create 2 extra virtual HD but they would be map to the physical 250Gb and 650Gb HD you have. From QNX6 format and partition the 650Gb disk and then copy the content ( with the cp command ) from the 250Gb to the 650Gb disk.
QNX Master
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Software to resize QNX4 filesystem partitions?

Postby maschoen » Mon Sep 21, 2009 3:45 pm

Mario described this quite well. There are other issues that may thwart your effort. For example, the device could have a special BIOS and use specific disk sector information to boot the system. It wouldn't be the usual for QNX, but you are in wide open territory right now.
QNX Master
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

Return to QNX2 and QNX4

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests