Disk Images

Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk, install
an image file system and then copy over some of our files i.e. take a blank
HDD and install QNX onto it for use in a system. My question is, once I’ve
created the hard disk, what is the best way of capturing an image of that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use tools
like Norton Ghost/Partition Magic since they don’t recognize QNX partitions.

Has anyone got any experience of doing this? Or am I approaching the problem
from the wrong direction?

TIA,
James.

Hi James,

If you intend to use the same hard disks (the size, geometry), look at ‘dd’
command. For example,

dd if=/dev/hd0 of=/dev/hd1

Cheers,
ed1k.


Zak Spede <zak.spede@raceme.com> wrote in article
<ardi1q$7g8$1@inn.qnx.com>…

Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once
I’ve
created the hard disk, what is the best way of capturing an image of that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.

Unfortunately i’ve no control over what size hard disks are used - it’s
generally whatever is in stock. Plus it needs to be as simple as poss. so
that some of the less techy peeps can be trained to use it easily…
“ESL” <somebody@esl.ca> wrote in message
news:01c2901d$35629660$1d229ad8@default…

Hi James,

If you intend to use the same hard disks (the size, geometry), look at
‘dd’
command. For example,

dd if=/dev/hd0 of=/dev/hd1

Cheers,
ed1k.


Zak Spede <> zak.spede@raceme.com> > wrote in article
ardi1q$7g8$> 1@inn.qnx.com> >…
Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once
I’ve
created the hard disk, what is the best way of capturing an image of
that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.

Hi Zak

I have used the commercial tool called Drive Copy 2.0 (from PowerQuest)
successfully for creating a partition copy of a QNX4FS filesystem. As long
as the blank HD is larger than the QNX partition that you are trying to copy
you are should be OK. It seems to work correctly for bootable QNX partitions
also.


Jens




“Zak Spede” <zak.spede@raceme.com> wrote in message
news:ardi1q$7g8$1@inn.qnx.com

Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once I’ve
created the hard disk, what is the best way of capturing an image of that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.

Zak Spede <zak.spede@raceme.com> wrote in article
<arfkrd$hq6$1@inn.qnx.com>…

Unfortunately i’ve no control over what size hard disks are used - it’s
generally whatever is in stock. Plus it needs to be as simple as poss.

Do you mean GUI and “just a click” technology? If yes, then ‘dd’ is very
complex :smiley:

so
that some of the less techy peeps can be trained to use it easily…

Usually you’d better to write shell script and put all commands there, so
those people will have to type something simple like ‘a’ and press .

Best regards,
ed1k

“ESL” <> somebody@esl.ca> > wrote in message
news:01c2901d$35629660$1d229ad8@default…
Hi James,

If you intend to use the same hard disks (the size, geometry), look at
‘dd’
command. For example,

dd if=/dev/hd0 of=/dev/hd1

Cheers,
ed1k.


Zak Spede <> zak.spede@raceme.com> > wrote in article
ardi1q$7g8$> 1@inn.qnx.com> >…
Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once
I’ve
created the hard disk, what is the best way of capturing an image of
that
HDD and blatting it onto other blank HDDs? I’m not sure if you can
use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.


\

This sounds promising. Can it resize the partition to take advantage of the
larger disk??

Thanks,
James.
“Jens H Jorgensen” <jhj@remove-nospam-videk.com> wrote in message
news:arg7dn$91j$1@inn.qnx.com

Hi Zak

I have used the commercial tool called Drive Copy 2.0 (from PowerQuest)
successfully for creating a partition copy of a QNX4FS filesystem. As long
as the blank HD is larger than the QNX partition that you are trying to
copy
you are should be OK. It seems to work correctly for bootable QNX
partitions
also.


Jens




“Zak Spede” <> zak.spede@raceme.com> > wrote in message
news:ardi1q$7g8$> 1@inn.qnx.com> …
Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once
I’ve
created the hard disk, what is the best way of capturing an image of
that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.
\

I have not tried it but I would not think so.

I think a better way would be to create a new partition in the additional
space and then mount that partition as your /home for instance (/opt is a
nother good candidate). Then you would have the orginal installation on the
partition copied over and your user data (/home) on the additional space the
new HD has.


Jens



“Zak Spede” <zak.spede@raceme.com> wrote in message
news:arib73$l0b$1@inn.qnx.com

This sounds promising. Can it resize the partition to take advantage of
the
larger disk??

Thanks,
James.
“Jens H Jorgensen” <> jhj@remove-nospam-videk.com> > wrote in message
news:arg7dn$91j$> 1@inn.qnx.com> …
Hi Zak

I have used the commercial tool called Drive Copy 2.0 (from PowerQuest)
successfully for creating a partition copy of a QNX4FS filesystem. As
long
as the blank HD is larger than the QNX partition that you are trying to
copy
you are should be OK. It seems to work correctly for bootable QNX
partitions
also.


Jens




“Zak Spede” <> zak.spede@raceme.com> > wrote in message
news:ardi1q$7g8$> 1@inn.qnx.com> …
Hi all.

I’ve got a system where we use dinit & co. to partition a hard disk,
install
an image file system and then copy over some of our files i.e. take a
blank
HDD and install QNX onto it for use in a system. My question is, once
I’ve
created the hard disk, what is the best way of capturing an image of
that
HDD and blatting it onto other blank HDDs? I’m not sure if you can use
tools
like Norton Ghost/Partition Magic since they don’t recognize QNX
partitions.

Has anyone got any experience of doing this? Or am I approaching the
problem
from the wrong direction?

TIA,
James.


\