BootAble – FreeDOS boot testing freeware
To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.
GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.
The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.
You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.
(You may permanently close this reminder with the 'X' in the upper right.)
Thanks for the reply. I’ve tested a few semi-recent Lenovo laptops (2018, 2019) which had no problems CSM booting and running SpinRite but couldn’t recognize drive size about 2.2TB. It sounds like you’ve gotten past it. What I want to do is stop randomly testing hardware, and build a small rig with hardware that is known to work. Do you (or does anyone) know a hardware configuration I could buy off of Amazon right now (either pre-built or I’ll assemble it) which is known to work? How about Raspberry Pi -type stuff — anything in the mini / micro computer / board config which might work?The issue you're encountering is that the machines you've tried are likely all old enough to not have a modern BIOS that is capable of 48-bit LBA addressing. All older machines only did 32-bit LBA addressing and 2^32 x 512 bytes = 2,199,023,255,552 bytes (which is your 2.2TB limit.) For completeness, 2^48 x 512 bytes = 144,115,188,075,855,872 bytes, or 144,115 TBs. I have newer AMD machines that are able to Legacy Boot, but also support 48 bit LBAs and I have successfully used 3TB drives with SpinRite during development testing of version 6.1.
Perhaps you could supply information about the machines you've tried (including BIOS supplier and version) and someone else here will know info about them and can confirm what I've suggested.
CONFIG.SYS if BUFFERS=98 ), and try:SPINRITE NORAMTEST SKIPVERIFYSome general information . . .I can get FreeDOS to boot and SpinRite to run, as I have tried on several different machines with CSM BIOS support and able to boot off USB. I have tried directly attaching to the motherboard on a desktop, and also connecting SATA drives externally via USB. I have bought and tried 6-7 different adapters and hard drive cradles which purport to support larger hard drive geometry. All show my drives at 2.2TB, even though if I boot into Windows they all show 4TB.
SPINRITE NORAMTESTSpinRite 6.1 doesn't care about MBR vs GPT. Please post your log files.I think I have been running into the MBR limit
Final note — I’m a career software developer / security guy that’s done some OS filesystem / driver development in the past — kind of makes me wonder if it might be worth developing a virtualization layer for SpinRite — it would be really cool if (just using this as a use-case example disregard the specific Docker reference) you could just gun up SpinRite using something like Docker on any newer hardware and it would run bypasing lower-level hardware issues. Hmmm…..
Thank you! Do you have any logs from when you tried connecting this drive to a desktop via a SATA port?As requested, I have attached my SpinRite logs from a past run
Unfortunately, that didn't come through. This forum has a hidden size limit of 500 kB, so you'll have to resize the image.I have also attached a screenshot
Unfortunately, not at the moment.Do you have any logs from when you tried connecting this drive to a desktop via a SATA port?
I was under the impression that there was a way for SpinRite to work with drives connected via USB. Can it be said definitively that the only way SpinRite will recognize drives above the 2.2TB limit is with direct SATA connection to the motherboard, and connecting via USB will not work in any configuration?You're running into a 2.2 TB limit on your laptop because SpinRite only knows how to access USB drives through the BIOS.
Do you (or anyone) happen to know if the Zimaboard2 supports CSM / legacy booting? I think those are still available...Buy a Zimaboard, if they're still available.
In most cases, Nope. Please see https://forums.grc.com/threads/usb-support-in-spinrite-6-1.1479/ for more information.Quick clarification:
I was under the impression that there was a way for SpinRite to work with drives connected via USB.
In almost all cases: Yes The rare exception would be a system with a more modern BIOS that can address space beyond the 2.2 TB limit.Can it be said definitively that the only way SpinRite will recognize drives above the 2.2TB limit is with direct SATA connection to the motherboard, and connecting via USB will not work in any configuration?
That talks a lot about BIOS, but according to the research I did (and I probably am just not fully understanding it), the BIOS primarily governs the boot drive, not the data drive. As a result, I didn't fully understand the referenced post, and in particular this statement:In most cases, Nope. Please see https://forums.grc.com/threads/usb-support-in-spinrite-6-1.1479/ for more information.
...my research seemed to indicate that It is not the BIOS, but the OS support for GPT that determines whether the full capacity of a non-boot data drive is accessible. So I guess that is the clarification I am asking now -- is the problem ultimately one that SpinRite does not fully support GPT?Accessible BIOS drives will typically be limited to just the first 2.2 TB of capacity, with the exception of the rare BIOS that is able to access additional capacity.
Both SpinRite 6.0 and 6.1 are:...my research seemed to indicate that It is the OS support for GPT that determines whether the full capacity of the drive is accessible. So I guess that is the clarification I am asking now -- is the problem ultimately one that SpinRite does not fully support GPT?
FORCE command line option:SPINRITE FORCENORAMTEST command line option:SPINRITE NORAMTESTIn other words as I understand this, sparing the lower level details (see the attached doc):Your BIOS is part of the limit (via Int 13h), but mainly the DOS application does not support GPT nor large addressing.
- To fully see & use the 4TB GPT drive, you would need either:
- a modern OS that bypasses BIOS after boot (Windows, Linux), or
- special DOS drivers that implement large LBA and GPT.
When SpinRite 6.1 can use it's built-in native drivers with an internal drive connected to a motherboard controller:SpinRite's drivers implement large LBA and GPT only with direct-connected SATA drives. Following, there isn't really anything magic about a ZimaBoard or any other hardware, and there should be no struggle for config -- direct-connect SATA to motherboard, done-and-done.
I am concerned that the BIOS may be so new on the ZimaBoard2 that it won't allow legacy booting. They don't seem to have info either way in the documentation I searched. (I did make a request to their technical support, but it's all automated and they never got back.)ZimaBoard2
Yeah, I have the same concern. I had also fired off a message to their tech support and also posted to their Discord, but crickets on both. I decided to take the plunge anyway and find out. I have other potential uses for the ZimaBoard2 even if SpinRite doesn't pan out. But I should know shortly (within a week if shipping info is accurate), and I'll post back here when I do.I am concerned that the BIOS may be so new on the ZimaBoard2 that it won't allow legacy booting. They don't seem to have info either way in the documentation I searched. (I did make a request to their technical support, but it's all automated and they never got back.)
Thanks for that link, Scott. Depending on what happens with the ZimaBoard2, yours might end up being the only game in town. I may end up doing it on VMware Fusion or Paralllels b/c I prefer to work on macOS (b/c of other development support needs), but I'll eventually get there.You could also spin up VirtualBox under Windows and run SR in a virtual machine. The VirtualBox BIOS can definitely address drives larger than 2.2 TB.
If you are not testing your boot drive, no need to create a boot drive, just install VirtualBox on your running Windows install and follow instructions to map your drives.
Thanks for that link, Scott. Depending on what happens with the ZimaBoard2, yours might end up being the only game in town. I may end up doing it on VMware Fusion or Paralllels b/c I prefer to work on macOS (b/c of other development support needs), but I'll eventually get there.
Thanks for that. I *WAS* looking at one as well.Well, what do you know, I just got a reply from the Zima Store folks. Here’s the answer: ZimbaBoard2 does not support legacy booting, it only supports UEFI booting. So ZimaBoard2 … no go..
You will almost certainly find that any "new" machines currently available will not do legacy boot. Your best bet is to look for a second hand machine that is a few years old. If it is not urgent, there may be a lot of them after 24 October ( end of W10 support) that still do BIOS booting.No promises, but over the next weeks I’m going to see if I can’t come up with a hardware configuration which can be easily purchased for a dedicated SpinRite rig.
The OG ZimaBoard 2G was still listed last time I looked. You don't need more RAM than that for SpinRite, so get one of those if you still can. Steve mentioned getting a beefier power supply also, this should link you to that post: https://forums.grc.com/threads/zimaboard-and-ide-drives.1414/#post-10610dedicated SpinRite rig
@PHolder Yeah, just grabbed a ZimaBoard off of Amazon, so in a week I’ll give that a try. Thanks!The OG ZimaBoard 2G was still listed last time I looked. You don't need more RAM than that for SpinRite, so get one of those if you still can. Steve mentioned getting a beefier power supply also, this should link you to that post: https://forums.grc.com/threads/zimaboard-and-ide-drives.1414/#post-10610
Thanks @ColbyBouma ! I contacted the Zima folks tonight because they were very courteous in their support reply to my last question and explanation of the SpinRite use case (they were very interested to learn about that apparently). I asked if their engineers might test CSMWrap on the ZimaBoard2 and let me know if it is compatible, and if so, I’d buy it again (I returned the other) and test SpinRite on it. I’ll post here when I get an answer from them.millQ was able to get it working:
SPINRITE NORAMTEST SKIPVERIFYSPINRITE NORAMTEST SKIPVERIFYThanks for the comments.You need another computer where you can install the drive to be tested as an internal SATA drive.
The rare exception would be a system with a more modern BIOS that can address space beyond the 2.2 TB limit.
It is apparently a legacy spec that is no longer commonly used.Well, the BIOS Enhanced Disk Drive Services (EDD) spec was released back in 1995. It allows up to 64-bits of disk addressing, far more than SCSI or ATA. I doubt there's any BIOS around today that doesn't support it, and SpinRite will use EDD when it detects the BIOS supports it. The 2.2TB limit is almost certainly not because of BIOS limitations these days, or even in the last 20 years.
@peterblaise -- your imagination would have indeed been accurate. I was thrilled when I saw the full capacities of a few different drives come up. In finally getting to run a long-running SpinRite operation, I inadvertently discovered something I had forgotten (much to both my humor and annoyance), that older OSs weren't plug-and-play. In the screenshots I shared in a previous post, I had this rig attached to a monitor with four inputs, and after about 4 hours of running a Level 3, with a LOOOOOONG way to go, I switched the monitor input to another computer to do some work. Oops...no way to get the display back, switching back and even disconnecting / reconnecting the display didn't work. I was completely blind to progress. LOL...well dedicated monitor employed now....
It is apparently a legacy spec that is no longer commonly used.
To quote Google's AI:
No, BIOS Enhanced Disk Drive (EDD) services are not commonly used in modern computer systems
,
EDD is a legacy specification that provided a way for the BIOS to interact with disk drives and make information available to operating systems, particularly older ones like MS-DOS.
@jlee, as far as I understand, the BIOS limit relevant in this thread limits USB access.
Not IDE ATA SATA.
- - - - -
Some really old-by-now BIOS, especially PATA-generation, never expected to 'see' any drive larger than 28-bit LBA topping out at 137.4 GB, though later PATA climbed to 750GB via 48-bit LBA before SATA overcame PATA, yet some folks bridged 1 TB SATA to PATA in some systems.
Not USB.
Re: "... SpinRite definitely uses EDD * if it's present ..."
But no way to tell if EDD is present or fully supported and functional.