dinit write failed, /dev/usb0t77 too small?

Hello,
I’m getting the following error because my hwe.ifs file is > the size of
/dev/usb0t77. Right now my hwe.ifs file is 2.5MB.

dinit -f hwe.ifs -h /dev/usb0t77 -q

All existing files on /dev/usb0t77 will be lost! Are you sure (y or n) ? y
Using loader /x86/boot/sys/ipl-diskpc2
Disk ‘/dev/usb0t77’ contains 4095 blocks (2047K).
DINIT: Write failed - block 4077: No such process

dinit succeeds when my hwe.ifs is < 2047k.

Any ideas how I can get around this or use another usb device?


Thanks,

Tom

I’m not familiar with the a USB drive, but dinit says the partition is only
2MB in size and you are trying to copy an image of 2.5MB into the .boot file
of that 2MB partition. So if the drive is larger then 2MB you should
repartition it with fdisk.

Jason

“Tom Shou” <tshou@pillardata.com> wrote in message
news:ar1hib$l3f$1@inn.qnx.com

Hello,
I’m getting the following error because my hwe.ifs file is > the size of
/dev/usb0t77. Right now my hwe.ifs file is 2.5MB.

dinit -f hwe.ifs -h /dev/usb0t77 -q

All existing files on /dev/usb0t77 will be lost! Are you sure (y or n) ?
y
Using loader /x86/boot/sys/ipl-diskpc2
Disk ‘/dev/usb0t77’ contains 4095 blocks (2047K).
DINIT: Write failed - block 4077: No such process

dinit succeeds when my hwe.ifs is < 2047k.

Any ideas how I can get around this or use another usb device?


Thanks,

Tom