Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Which loader to use for USB flash stick: Page 1 of 3 (3 Items)
   
Which loader to use for USB flash stick  
I am running QNX 6.3.2 on a Boxer computer type AEC-6920. The boot device is a 4 Gbyte partition on an 8 Gbyte CF flash 
card. I have created a backup on a 4 Gbyte USB stick, and I try to make it bootable. The USB stick popped up as /fs/hd10
-dos-1 and as /dev/hd10t12. After umounting those, I did:

fdisk /dev/hd10 delete -a
fdisk /dev/hd10 add -s1 -t79 -b -p100
dinit -h /dev/hd10t79

I found a zero length .boot file in the root of the stick so I tried

dinit -f /x86/boot/sys/ipl-diskpc2 /dev/hd10t79

but found that dinit reported /x86/boot/sys/ipl-diskpc2-flop for the loader.

I swapped boot priority in the BIOS but no success in booting. Swapping back again, I did boot fron the CF card but 
after some time I could select to mount either the CF or the USB stick as root. I mounted the USB stick as root and the 
system continued to boot and works fine, but slower. 

Now I compared the sizes of the .boot files in the root of both devices, the
stick .boot was 472 bytes and the CF .boot (that worked) was 1214560 bytes!

I copied the CF .boot (and the .altboot) to the stick and tried again. It
stopped at the BIOS message "Hit Esc for .altboot", which was partially
overwritten by characters and then nothing happened. 

Where can I find a suitable .boot file? The stick is reported as vendor
0x090c (SMI Corporation), product 0x1000, (Mem-drive easyII) by the usb
utility.

Or must I build my own.ifs file?

Grateful for help
/Rune Larsson