Forum Topic - Booting from USB:
   
Booting from USB  
Trying to boot from USB so I can get Hugh Brown some pciinfo data.
The USB boots, starts the QNX loader on partitiion 4  but it cant find the operating system
Not sure what I am missing

Did the following
Fsys.umass -v fsys -l -n Direct-Access=usb0

fdisk /dev/usb0

This works fine, set partitiion 4 to QNX, put on the loaded, made the partition bootable

mount -p /dev/usb0 /dev/usb0t77 /usb

dinit -h -f /boot/images/usb /dev/usb0t77

for the .boot file I have

sys/boot
$ boot -v

sys/Proc32
$ Proc32 -p 1024 -l 1 -D

sys/Slib32
$ Slib32

sys/Slib16
$ Slib16

/bin/io-usb
$io-usb

/bin/Fsys
$ Fsys -a -l 0 -c 100 -r 16384

/bin/Fsys.umass
$ Fsys.umass -v fsys -l -n Direct-Access=usb0

/bin/mount
$ mount -p /dev/usb0 /dev/usb0t77 /

/bin/sinit
$ sinit TERM=qnx

Any help would be appreciated
RE: Booting from USB  
Do you have a /etc/config/sysinit file? sinit looks for this file.


-----Original Message-----
From: dave allamby [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 14, 2009 12:59 PM
To: qnx4-community
Subject: Booting from USB

Trying to boot from USB so I can get Hugh Brown some pciinfo data.
The USB boots, starts the QNX loader on partitiion 4  but it cant find
the operating system
Not sure what I am missing

Did the following
Fsys.umass -v fsys -l -n Direct-Access=usb0

fdisk /dev/usb0

This works fine, set partitiion 4 to QNX, put on the loaded, made the
partition bootable

mount -p /dev/usb0 /dev/usb0t77 /usb

dinit -h -f /boot/images/usb /dev/usb0t77

for the .boot file I have

sys/boot
$ boot -v

sys/Proc32
$ Proc32 -p 1024 -l 1 -D

sys/Slib32
$ Slib32

sys/Slib16
$ Slib16

/bin/io-usb
$io-usb

/bin/Fsys
$ Fsys -a -l 0 -c 100 -r 16384

/bin/Fsys.umass
$ Fsys.umass -v fsys -l -n Direct-Access=usb0

/bin/mount
$ mount -p /dev/usb0 /dev/usb0t77 /

/bin/sinit
$ sinit TERM=qnx

Any help would be appreciated




_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post39927
Re: Booting from USB  
Hugh,

Not yet...I will add it...but think I have an problem with .boot
When I start the USB i get

Qnx Loader
Boot Partition 4
Missing Operating System

I did get a warning that the OS size exceeds 630784 bytes and may not 
load correctly
so I took out the slib16 to get the size down and I still get the 
missing os warning



Hugh Brown wrote:
> Do you have a /etc/config/sysinit file? sinit looks for this file.
>
>
> -----Original Message-----
> From: dave allamby [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 14, 2009 12:59 PM
> To: qnx4-community
> Subject: Booting from USB
>
> Trying to boot from USB so I can get Hugh Brown some pciinfo data.
> The USB boots, starts the QNX loader on partitiion 4  but it cant find
> the operating system
> Not sure what I am missing
>
> Did the following
> Fsys.umass -v fsys -l -n Direct-Access=usb0
>
> fdisk /dev/usb0
>
> This works fine, set partitiion 4 to QNX, put on the loaded, made the
> partition bootable
>
> mount -p /dev/usb0 /dev/usb0t77 /usb
>
> dinit -h -f /boot/images/usb /dev/usb0t77
>
> for the .boot file I have
>
> sys/boot
> $ boot -v
>
> sys/Proc32
> $ Proc32 -p 1024 -l 1 -D
>
> sys/Slib32
> $ Slib32
>
> sys/Slib16
> $ Slib16
>
> /bin/io-usb
> $io-usb
>
> /bin/Fsys
> $ Fsys -a -l 0 -c 100 -r 16384
>
> /bin/Fsys.umass
> $ Fsys.umass -v fsys -l -n Direct-Access=usb0
>
> /bin/mount
> $ mount -p /dev/usb0 /dev/usb0t77 /
>
> /bin/sinit
> $ sinit TERM=qnx
>
> Any help would be appreciated
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39927
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39933
>
>
>   
RE: Booting from USB  
Have you tried dinit'ing it without the '-h', so that it thinks that it
is a floppy? Some BIOSes think that it is a floppy.


-----Original Message-----
From: dave allamby [mailto:community-noreply@qnx.com] 
Sent: Wednesday, October 14, 2009 2:01 PM
To: qnx4-community
Subject: Re: Booting from USB

Hugh,

Not yet...I will add it...but think I have an problem with .boot
When I start the USB i get

Qnx Loader
Boot Partition 4
Missing Operating System

I did get a warning that the OS size exceeds 630784 bytes and may not 
load correctly
so I took out the slib16 to get the size down and I still get the 
missing os warning



Hugh Brown wrote:
> Do you have a /etc/config/sysinit file? sinit looks for this file.
>
>
> -----Original Message-----
> From: dave allamby [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 14, 2009 12:59 PM
> To: qnx4-community
> Subject: Booting from USB
>
> Trying to boot from USB so I can get Hugh Brown some pciinfo data.
> The USB boots, starts the QNX loader on partitiion 4  but it cant find
> the operating system
> Not sure what I am missing
>
> Did the following
> Fsys.umass -v fsys -l -n Direct-Access=usb0
>
> fdisk /dev/usb0
>
> This works fine, set partitiion 4 to QNX, put on the loaded, made the
> partition bootable
>
> mount -p /dev/usb0 /dev/usb0t77 /usb
>
> dinit -h -f /boot/images/usb /dev/usb0t77
>
> for the .boot file I have
>
> sys/boot
> $ boot -v
>
> sys/Proc32
> $ Proc32 -p 1024 -l 1 -D
>
> sys/Slib32
> $ Slib32
>
> sys/Slib16
> $ Slib16
>
> /bin/io-usb
> $io-usb
>
> /bin/Fsys
> $ Fsys -a -l 0 -c 100 -r 16384
>
> /bin/Fsys.umass
> $ Fsys.umass -v fsys -l -n Direct-Access=usb0
>
> /bin/mount
> $ mount -p /dev/usb0 /dev/usb0t77 /
>
> /bin/sinit
> $ sinit TERM=qnx
>
> Any help would be appreciated
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39927
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39933
>
>
>   




_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post39938
Re: Booting from USB  
Hugh,

Yes, it does not work....it knows there is a partition table on the device
I will grab one of my other USB drives and see if I can format without a 
table


Dave


Hugh Brown wrote:
> Have you tried dinit'ing it without the '-h', so that it thinks that it
> is a floppy? Some BIOSes think that it is a floppy.
>
>
> -----Original Message-----
> From: dave allamby [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 14, 2009 2:01 PM
> To: qnx4-community
> Subject: Re: Booting from USB
>
> Hugh,
>
> Not yet...I will add it...but think I have an problem with .boot
> When I start the USB i get
>
> Qnx Loader
> Boot Partition 4
> Missing Operating System
>
> I did get a warning that the OS size exceeds 630784 bytes and may not 
> load correctly
> so I took out the slib16 to get the size down and I still get the 
> missing os warning
>
>
>
> Hugh Brown wrote:
>   
>> Do you have a /etc/config/sysinit file? sinit looks for this file.
>>
>>
>> -----Original Message-----
>> From: dave allamby [mailto:community-noreply@qnx.com] 
>> Sent: Wednesday, October 14, 2009 12:59 PM
>> To: qnx4-community
>> Subject: Booting from USB
>>
>> Trying to boot from USB so I can get Hugh Brown some pciinfo data.
>> The USB boots, starts the QNX loader on partitiion 4  but it cant find
>> the operating system
>> Not sure what I am missing
>>
>> Did the following
>> Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> fdisk /dev/usb0
>>
>> This works fine, set partitiion 4 to QNX, put on the loaded, made the
>> partition bootable
>>
>> mount -p /dev/usb0 /dev/usb0t77 /usb
>>
>> dinit -h -f /boot/images/usb /dev/usb0t77
>>
>> for the .boot file I have
>>
>> sys/boot
>> $ boot -v
>>
>> sys/Proc32
>> $ Proc32 -p 1024 -l 1 -D
>>
>> sys/Slib32
>> $ Slib32
>>
>> sys/Slib16
>> $ Slib16
>>
>> /bin/io-usb
>> $io-usb
>>
>> /bin/Fsys
>> $ Fsys -a -l 0 -c 100 -r 16384
>>
>> /bin/Fsys.umass
>> $ Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> /bin/mount
>> $ mount -p /dev/usb0 /dev/usb0t77 /
>>
>> /bin/sinit
>> $ sinit TERM=qnx
>>
>> Any help would be appreciated
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39927
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39933
>>
>>
>>   
>>     
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39938
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39940
>
>
>   
Re: Booting from USB  
Hugh

In attempting to get the  OS running on the PowerEdge R200, I was doing 
some experimenting on the Dell PowerEdge 860 and found that io-usb locks 
up the machine.
Can you take a look at the show_pci output and see if there is something 
I can do to correct this.

Dave

> Have you tried dinit'ing it without the '-h', so that it thinks that it
> is a floppy? Some BIOSes think that it is a floppy.
>
>
> -----Original Message-----
> From: dave allamby [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 14, 2009 2:01 PM
> To: qnx4-community
> Subject: Re: Booting from USB
>
> Hugh,
>
> Not yet...I will add it...but think I have an problem with .boot
> When I start the USB i get
>
> Qnx Loader
> Boot Partition 4
> Missing Operating System
>
> I did get a warning that the OS size exceeds 630784 bytes and may not 
> load correctly
> so I took out the slib16 to get the size down and I still get the 
> missing os warning
>
>
>
> Hugh Brown wrote:
>   
>> Do you have a /etc/config/sysinit file? sinit looks for this file.
>>
>>
>> -----Original Message-----
>> From: dave allamby [mailto:community-noreply@qnx.com] 
>> Sent: Wednesday, October 14, 2009 12:59 PM
>> To: qnx4-community
>> Subject: Booting from USB
>>
>> Trying to boot from USB so I can get Hugh Brown some pciinfo data.
>> The USB boots, starts the QNX loader on partitiion 4  but it cant find
>> the operating system
>> Not sure what I am missing
>>
>> Did the following
>> Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> fdisk /dev/usb0
>>
>> This works fine, set partitiion 4 to QNX, put on the loaded, made the
>> partition bootable
>>
>> mount -p /dev/usb0 /dev/usb0t77 /usb
>>
>> dinit -h -f /boot/images/usb /dev/usb0t77
>>
>> for the .boot file I have
>>
>> sys/boot
>> $ boot -v
>>
>> sys/Proc32
>> $ Proc32 -p 1024 -l 1 -D
>>
>> sys/Slib32
>> $ Slib32
>>
>> sys/Slib16
>> $ Slib16
>>
>> /bin/io-usb
>> $io-usb
>>
>> /bin/Fsys
>> $ Fsys -a -l 0 -c 100 -r 16384
>>
>> /bin/Fsys.umass
>> $ Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> /bin/mount
>> $ mount -p /dev/usb0 /dev/usb0t77 /
>>
>> /bin/sinit
>> $ sinit TERM=qnx
>>
>> Any help would be appreciated
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39927
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39933
>>
>>
>>   
>>     
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39938
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39940
>
>
>   

Attachment: Text dell_860.txt 32.59 KB
RE: Booting from USB  
No, I can't see anything strange about the show_pci output. I will have
to pass this on to our USB expert to have a look at it.

Hugh.

-----Original Message-----
From: dave allamby [mailto:community-noreply@qnx.com] 
Sent: Friday, October 16, 2009 1:20 AM
To: qnx4-community
Subject: Re: Booting from USB

Hugh

In attempting to get the  OS running on the PowerEdge R200, I was doing 
some experimenting on the Dell PowerEdge 860 and found that io-usb locks

up the machine.
Can you take a look at the show_pci output and see if there is something

I can do to correct this.

Dave

> Have you tried dinit'ing it without the '-h', so that it thinks that
it
> is a floppy? Some BIOSes think that it is a floppy.
>
>
> -----Original Message-----
> From: dave allamby [mailto:community-noreply@qnx.com] 
> Sent: Wednesday, October 14, 2009 2:01 PM
> To: qnx4-community
> Subject: Re: Booting from USB
>
> Hugh,
>
> Not yet...I will add it...but think I have an problem with .boot
> When I start the USB i get
>
> Qnx Loader
> Boot Partition 4
> Missing Operating System
>
> I did get a warning that the OS size exceeds 630784 bytes and may not 
> load correctly
> so I took out the slib16 to get the size down and I still get the 
> missing os warning
>
>
>
> Hugh Brown wrote:
>   
>> Do you have a /etc/config/sysinit file? sinit looks for this file.
>>
>>
>> -----Original Message-----
>> From: dave allamby [mailto:community-noreply@qnx.com] 
>> Sent: Wednesday, October 14, 2009 12:59 PM
>> To: qnx4-community
>> Subject: Booting from USB
>>
>> Trying to boot from USB so I can get Hugh Brown some pciinfo data.
>> The USB boots, starts the QNX loader on partitiion 4  but it cant
find
>> the operating system
>> Not sure what I am missing
>>
>> Did the following
>> Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> fdisk /dev/usb0
>>
>> This works fine, set partitiion 4 to QNX, put on the loaded, made the
>> partition bootable
>>
>> mount -p /dev/usb0 /dev/usb0t77 /usb
>>
>> dinit -h -f /boot/images/usb /dev/usb0t77
>>
>> for the .boot file I have
>>
>> sys/boot
>> $ boot -v
>>
>> sys/Proc32
>> $ Proc32 -p 1024 -l 1 -D
>>
>> sys/Slib32
>> $ Slib32
>>
>> sys/Slib16
>> $ Slib16
>>
>> /bin/io-usb
>> $io-usb
>>
>> /bin/Fsys
>> $ Fsys -a -l 0 -c 100 -r 16384
>>
>> /bin/Fsys.umass
>> $ Fsys.umass -v fsys -l -n Direct-Access=usb0
>>
>> /bin/mount
>> $ mount -p /dev/usb0 /dev/usb0t77 /
>>
>> /bin/sinit
>> $ sinit TERM=qnx
>>
>> Any help would be appreciated
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39927
>>
>>
>>
>>
>> _______________________________________________
>>
>> QNX4 Community Support
>> http://community.qnx.com/sf/go/post39933
>>
>>
>>   
>>     
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39938
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post39940
>
>
>   





_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post40089
Re: RE: Booting from USB  
Hi Dave,

Have you tried to force different CHS geometry for USB Stick ?

Try to pass another "CHS configuration" to Fsys.umass and then create QNX4 partition once again.

Good luck,
Jacek
Re: Booting from USB  
Jacek,

Thanks, that allowed me to boot off USB. Running into limitations with 
regards to the boot image size, I am getting the OS size exceeds
630784 but seems to boot ok

Dave
Hugh

I am using this usb boot on the PowerEdge R200. I have included io-usb 
in the boot image and it crashes at D1:0000FE6E

Dave




Jacek Rudnicki wrote:
> Hi Dave,
>
> Have you tried to force different CHS geometry for USB Stick ?
>
> Try to pass another "CHS configuration" to Fsys.umass and then create QNX4 partition once again.
>
> Good luck,
> Jacek
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post40327
>
>
>   
RE: Booting from USB  
Dave,

I really don't know what's going on. I suggest that you speak to your
sales rep to try and find a resolution to this problem.

Thanks, Hugh.


-----Original Message-----
From: dave allamby [mailto:community-noreply@qnx.com] 
Sent: Tuesday, October 20, 2009 10:50 AM
To: qnx4-community
Subject: Re: Booting from USB

Jacek,

Thanks, that allowed me to boot off USB. Running into limitations with 
regards to the boot image size, I am getting the OS size exceeds
630784 but seems to boot ok

Dave
Hugh

I am using this usb boot on the PowerEdge R200. I have included io-usb 
in the boot image and it crashes at D1:0000FE6E

Dave




Jacek Rudnicki wrote:
> Hi Dave,
>
> Have you tried to force different CHS geometry for USB Stick ?
>
> Try to pass another "CHS configuration" to Fsys.umass and then create
QNX4 partition once again.
>
> Good luck,
> Jacek
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post40327
>
>
>   




_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post40336
Re: Booting from USB  
Hi Dave,

> I am getting the OS size exceeds 630784 but seems to boot ok

In my opinion the OS image ~630kB is too big.
Have you tried with any other but smaller image (just to see if it will boot fine) ?

As far as I know OS image with size less than 620kB is all what can do.

Regards,
Jacek




RE: Booting from USB  
The theory says close to 640k but the thing is the BIOS takes somes spaces of it own out of that 640k.I have seen a PC 
equipped with a network card that had a ROM BIOS that couldn`t handle image bigger then 520k.  Your mileage may vary.

> -----Original Message-----
> From: Jacek Rudnicki [mailto:community-noreply@qnx.com]
> Sent: October 21, 2009 7:37 AM
> To: qnx4-community
> Subject: Re: Booting from USB
> 
> Hi Dave,
> 
> > I am getting the OS size exceeds 630784 but seems to boot ok
> 
> In my opinion the OS image ~630kB is too big.
> Have you tried with any other but smaller image (just to see if it will
> boot fine) ?
> 
> As far as I know OS image with size less than 620kB is all what can do.
> 
> Regards,
> Jacek
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post40401
> 
Re: Booting from USB  
Jacek,

I downloaded and tried to install the new 2009 experimental product CD 
and I get the same error.
I made a boot file that was only 320k that just runs show_pci and it 
crashes at the same location as Fsys.atapi   FE6E
Talking with support team now, hopefully can get this sorted 
out...customer getting anxious

Dave





Jacek Rudnicki wrote:
> Hi Dave,
>
>   
>> I am getting the OS size exceeds 630784 but seems to boot ok
>>     
>
> In my opinion the OS image ~630kB is too big.
> Have you tried with any other but smaller image (just to see if it will boot fine) ?
>
> As far as I know OS image with size less than 620kB is all what can do.
>
> Regards,
> Jacek
>
>
>
>
>
>
>
>
> _______________________________________________
>
> QNX4 Community Support
> http://community.qnx.com/sf/go/post40401
>
>
>   
Re: Booting from USB  
Dave,

Try to boot from USB Stick on the other machine.
Can you send this or any other OS image which fails on your hardware ?

My image ~618kB boots fine from USB here.

Regards,
Jacek


>Jacek,

>I downloaded and tried to install the new 2009 experimental product CD 
>and I get the same error.
>I made a boot file that was only 320k that just runs show_pci and it 
>crashes at the same location as Fsys.atapi   FE6E
>Talking with support team now, hopefully can get this sorted 
>out...customer getting anxious

>Dave