Using USB Mass Storage on FreeDOS

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Using USB Mass Storage on FreeDOS

Ercan Ersoy
Hello,

I tried using my USB mass storage on Virtualbox 5.0.36. I using
USBASPI.SYS and USBDOS programs. But, I don't use my mass storage.

How can I using my mass storage on FreeDOS?

Thanks and best regards,
Ercan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Rugxulo
Hi,

On Wed, Apr 26, 2017 at 10:02 AM, Ercan Ersoy <[hidden email]> wrote:
>
> I tried using my USB mass storage on Virtualbox 5.0.36.

You mean "pass-through" or whatever, using native hardware under VM?
Doubt VBox supports that for DOS guests (since they don't have any
guest additions for DOS, last I heard).

> I using
> USBASPI.SYS and USBDOS programs. But, I don't use my mass storage.

USBASPI? That doesn't come with FreeDOS, AFAIK, hence it's probably
not supported nor recommended (and won't work).

> How can I using my mass storage on FreeDOS?

I'm not sure if you can. Half-jokingly, you should maybe try this:

http://ftp.slackware.com/pub/slackware/slackware-11.0/zipslack/

Better than nothing?  ;-)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Thomas Mueller
On USBASPI and USBDOS, I had zero luck.

But on a newer computer where USB drives are recognized by BIOS or UEFI, FreeDOS can boot from USB stick.

Also, FreeDOS can access any USB stick with FAT32 if present at boot time.

FreeDOS did not recognize a USB stick inserted after FreeDOS was already active.

FreeDOS was not able to access any USB stick with Linux or BSD file system, no drive letter.

Drive letters look strange and feel clumsy to me after spending almost all my computer time with OSes (Linux, BSD, Haiku) that don't use DOS-style drive letters.


Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Karen Lewellen-2
In reply to this post by Ercan Ersoy
From: "Thomas Mueller" <[hidden email]>

On USBASPI and USBDOS, I had zero luck.

But on a newer computer where USB drives are recognized by BIOS or UEFI,
FreeDOS can boot from USB stick.

Also, FreeDOS can access any USB stick with FAT32 if present at boot time.

FreeDOS did not recognize a USB stick inserted after FreeDOS was already
active.

FreeDOS was not able to access any USB stick with Linux or BSD file system, no
drive letter.

Drive letters look strange and feel clumsy to me after spending almost all my
computer time with OSes (Linux, BSD, Haiku) that don't use DOS-style drive
letters.


Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (276:10/901)
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Ercan Ersoy
In reply to this post by Rugxulo
Thanks for replying.

After this, I won't use USBASPI on FreeDOS.

How can I use a USB mass storage that is formatted FAT16 or FAT32 on
FreeDOS with USBDOS?

Best regards,
Ercan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Eric Auer-3

Hi Ercan,

> After this, I won't use USBASPI on FreeDOS.
>
> How can I use a USB mass storage that is formatted
> FAT16 or FAT32 on FreeDOS with USBDOS?

...as Thomas wrote: If you boot from USB drive or if the
USB drive is already plugged in at boot time, the BIOS
will often support it directly (if modern enough and if
for example legacy support is enabled in the BIOS setup)
so you will not even need drivers. Of course only FAT16
and FAT32 will work, not NTFS or EXFAT sticks. You can
assume that only newer / larger sticks use the latter,
or use Windows or Linux to re-format them to FAT16/32.

Cheers, Eric


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Thomas Mueller
In reply to this post by Ercan Ersoy
> Thanks for replying.

> After this, I won't use USBASPI on FreeDOS.
       
> How can I use a USB mass storage that is formatted FAT16 or FAT32 on
> FreeDOS with USBDOS?

> Best regards,
> Ercan

If your BIOS or UEFI recognizes USB mass storage, then FreeDOS should recognize it if it is in place at boot time.

I don't think FreeDOS can recognize a USB stick inserted after FreeDOS boots and is active, but I could be wrong in the case of USBDOS.

FAT16 is very inefficient regarding cluster size, so on a USB stick, even if only 1 GB, you do better with FAT32.

With FAT16, if file system is between 1 GB and 2 GB, cluster size is 32 KB, meaning this is the amount of space taken by a very small file.

One way you can test diskspace use is to see (with DIR) how much space you have, and then run something like
ECHO ababcdcdefefgg > JUNK1.TXT
and then run DIR and see how much diskspace you have after that.

Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Ercan Ersoy
In reply to this post by Ercan Ersoy
> If your BIOS or UEFI recognizes USB mass storage, then FreeDOS should recognize
> it if it is in place at boot time.
>
> I don't think FreeDOS can recognize a USB stick inserted after FreeDOS boots
> and is active, but I could be wrong in the case of USBDOS.
>
> FAT16 is very inefficient regarding cluster size, so on a USB stick, even if
> only 1 GB, you do better with FAT32.
>
> With FAT16, if file system is between 1 GB and 2 GB, cluster size is 32 KB,
> meaning this is the amount of space taken by a very small file.
>
> One way you can test diskspace use is to see (with DIR) how much space you
> have, and then run something like
> ECHO ababcdcdefefgg > JUNK1.TXT
> and then run DIR and see how much diskspace you have after that.
>
> Tom
Before boot, I insert my mass storage to VirtualBox USB inferance. But,
FreeDOS doesn't mount the mass storage with USBDOS. USBUHCI.COM doesn't
recognize the mass storage.

I tried USBASPI.SYS on FreeDOS again. But, USBASPI.SYS doesn't work.

Best regards,
Ercan
//
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Karen Lewellen-2
In reply to this post by Ercan Ersoy
From: Ercan Ersoy <[hidden email]>

Thanks for replying.

After this, I won't use USBASPI on FreeDOS.

How can I use a USB mass storage that is formatted FAT16 or FAT32 on
FreeDOS with USBDOS?

Best regards,
Ercan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (276:10/901)
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Karen Lewellen-2
In reply to this post by Ercan Ersoy
From: "Thomas Mueller" <[hidden email]>

> Thanks for replying.

> After this, I won't use USBASPI on FreeDOS.

> How can I use a USB mass storage that is formatted FAT16 or FAT32 on
> FreeDOS with USBDOS?

> Best regards,
> Ercan

If your BIOS or UEFI recognizes USB mass storage, then FreeDOS should recognize
it if it is in place at boot time.

I don't think FreeDOS can recognize a USB stick inserted after FreeDOS boots
and is active, but I could be wrong in the case of USBDOS.

FAT16 is very inefficient regarding cluster size, so on a USB stick, even if
only 1 GB, you do better with FAT32.

With FAT16, if file system is between 1 GB and 2 GB, cluster size is 32 KB,
meaning this is the amount of space taken by a very small file.

One way you can test diskspace use is to see (with DIR) how much space you
have, and then run something like
ECHO ababcdcdefefgg > JUNK1.TXT
and then run DIR and see how much diskspace you have after that.

Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (276:10/901)
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Karen Lewellen-2
In reply to this post by Ercan Ersoy
From: Ercan Ersoy <[hidden email]>

> If your BIOS or UEFI recognizes USB mass storage, then FreeDOS should
recognize

> it if it is in place at boot time.
>
> I don't think FreeDOS can recognize a USB stick inserted after FreeDOS boots
> and is active, but I could be wrong in the case of USBDOS.
>
> FAT16 is very inefficient regarding cluster size, so on a USB stick, even if
> only 1 GB, you do better with FAT32.
>
> With FAT16, if file system is between 1 GB and 2 GB, cluster size is 32 KB,
> meaning this is the amount of space taken by a very small file.
>
> One way you can test diskspace use is to see (with DIR) how much space you
> have, and then run something like
> ECHO ababcdcdefefgg > JUNK1.TXT
> and then run DIR and see how much diskspace you have after that.
>
> Tom
Before boot, I insert my mass storage to VirtualBox USB inferance. But,
FreeDOS doesn't mount the mass storage with USBDOS. USBUHCI.COM doesn't
recognize the mass storage.

I tried USBASPI.SYS on FreeDOS again. But, USBASPI.SYS doesn't work.

Best regards,
Ercan
//
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (276:10/901)
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user
Reply | Threaded
Open this post in threaded view
|

Re: Using USB Mass Storage on FreeDOS

Karen Lewellen-2
In reply to this post by Ercan Ersoy
From: Eric Auer <[hidden email]>


Hi Ercan,

> After this, I won't use USBASPI on FreeDOS.
>
> How can I use a USB mass storage that is formatted
> FAT16 or FAT32 on FreeDOS with USBDOS?

....as Thomas wrote: If you boot from USB drive or if the
USB drive is already plugged in at boot time, the BIOS
will often support it directly (if modern enough and if
for example legacy support is enabled in the BIOS setup)
so you will not even need drivers. Of course only FAT16
and FAT32 will work, not NTFS or EXFAT sticks. You can
assume that only newer / larger sticks use the latter,
or use Windows or Linux to re-format them to FAT16/32.

Cheers, Eric


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user

--- Internet Rex 2.29
 * Origin: capcity2.synchro.net - 502/875-8938 (276:10/901)
--- Synchronet 3.15a-Linux ListGate 1.3
 *  Capitol City Online - Frankfort, KY - telnet://capitolcityonline.net


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freedos-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/freedos-user