Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Which loader to use for USB flash stick: (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

Re: Which loader to use for USB flash stick  
Instaed of 


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

did you tried :

dloader /dev/hd0t79 pc2

???



> 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
> 


Re: Which loader to use for USB flash stick  
No, I have not tried that.
AFAIK I need to build a .boot file with the appropriate drivers for the 
stick.

Regards
/Rune

Jeevan Mathew skrev:
> Instaed of 
>
>
>   
>> dinit -f /x86/boot/sys/ipl-diskpc2 /dev/hd10t79
>>     
>
> did you tried :
>
> dloader /dev/hd0t79 pc2
>
> ???
>
>
>
>   
>> 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
>>
>>     
>
>
>
>
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post27857
>
>
>
>