IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> DOS and USB hard drive, Can't access some drives
herbalist
post Nov 22 2008, 02:58 PM
Post #1


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


I'm trying to build a DOS bootdisk that will read all of the FAT32 formatted drives on my USB hard drive with LFN support, DPMI, mouse, sound, etc. Everything works except for one problem. I can only access 2 of the 4 FAT32 formatted drives, sda1 and sda5 (F and H as read by Win98). All of the Windows versions read the entire drive, as does a Knoppix Live CD and a GParted CD. This is the partitioning of the USB drive.

Drives C through E are internal. Drive G is the CDRW. Sda7 is a blowfish encrypted logical drive.
Is it possible to read the sda6 and 8 drives from DOS with the presently available drivers? The USBASPI driver seems to detect sda6 but says it's "not formatted". I'm running out of ideas and am hoping that I'm just overlooking something simple. Any ideas?
Rick
Go to the top of the page
 
+Quote Post
Multibooter
post Nov 22 2008, 04:43 PM
Post #2


Advanced Member
***

Group: Members
Posts: 415
Joined: 21-March 08
Member No.: 183045
OS: 98SE
Country Flag


QUOTE (herbalist @ Nov 22 2008, 01:58 PM) *
I can only access 2 of the 4 FAT32 formatted drives, sda1 and sda5 (F and H as read by Win98). All of the Windows versions read the entire drive, as does a Knoppix Live CD and a GParted CD.
I would start with checking the USB HDD with Partition Table Doctor v3.5.
Go to the top of the page
 
+Quote Post
herbalist
post Nov 23 2008, 12:06 PM
Post #3


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


I don't have partition table doctor and the demo version does nothing. Too much to pay for something I'm not likely to use more than once. Is there something else that will work, preferably freeware? Gparted, Win98, Win2000, and Linux have no problems accessing all the drives. All of them find no problems with any of the drives/partitions.

This post has been edited by herbalist: Nov 23 2008, 12:07 PM
Go to the top of the page
 
+Quote Post
Multibooter
post Nov 23 2008, 03:00 PM
Post #4


Advanced Member
***

Group: Members
Posts: 415
Joined: 21-March 08
Member No.: 183045
OS: 98SE
Country Flag


Be careful when you use Partition Table Doctor, it's one of the 20 programs most useful to me, but you have to know what you are doing.
QUOTE (herbalist @ Nov 22 2008, 01:58 PM) *
Sda7 is a blowfish encrypted logical drive.
Here a quote from the System Commander user manual, maybe it helps:
"Limitations of DOS:
When your system has more than one primary FAT partition, the inactive primary partitions might not be visible. This DOS bug will occur when either:
- an extended partition exists without any logical drives defined
- the extended partition has no FAT logical partitions defined."

This post has been edited by Multibooter: Nov 23 2008, 03:37 PM
Go to the top of the page
 
+Quote Post
herbalist
post Nov 23 2008, 05:38 PM
Post #5


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


I'm almost positive that there's just one primary partition with one drive on it, drive F. Everything else is on one extended partition. I'm not sure why the logical drives are in that order, not matching the order of the devices. Might be the order I formatted them. Sda7 was originally Fat32. I used Scramdisk to convert it to Blowfish after all the drives were formatted. I have resized some of them later on with GParted since then.

I did have problems with "H", the backup image storage. Most of the files there are Acronis Images, which will be eliminated when I get this access problem solved. Win98 showed one of the files with a large negative size. I wouldn't have noticed it if I had not had 2 different apps open that both showed available space on the drives. One said I had over 4GB. The other said it was almost full. GParted couldn't access the external drive at the time. Just kept scanning. I deleted the 2 files (it was part of a set), ran Scandisk, then was able to read the external drive with GParted, but it didn't fix the DOS access problem. Right now, Scandisk is checking the last of the 4 drives, the biggest one, which I've been able to access in DOS all along. No errors of any kind on the other 3.

I'm still not sure if this is a drive/partition problem or a limitation of the DOS USB drivers. All the drives are usable with every other OS I have, except DOS. Need to take a break from this thing.
Rick
Go to the top of the page
 
+Quote Post
dencorso
post Nov 23 2008, 11:01 PM
Post #6


Adiuvat plus qui nihil obstat
Group Icon

Group: Super Moderator
Posts: 1384
Joined: 7-April 07
Member No.: 134642
OS: 98SE
Country Flag


QUOTE (herbalist @ Nov 23 2008, 09:38 PM) *
I'm still not sure if this is a drive/partition problem or a limitation of the DOS USB drivers. All the drives are usable with every other OS I have, except DOS.


You didn't ever mention it... what drivers exactly are you using? You should be using:

USBASPI.EXE 21,322 bytes, the Panasonic "ASPI Manager for USB mass-storage", Version 2.26
and
DI1000DD.SYS 16,368 bytes, NOVAC's ASPI DISK Driver, Version 2.00, the "Motto Hairu Driver"

These are the latest existing versions.
Go to the top of the page
 
+Quote Post
herbalist
post Nov 24 2008, 08:39 AM
Post #7


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


I don't see a version number on my copy of DI1000DD.SYS but the size matches. I've been using usbaspi.sys. Been trying 4 different versions. Wasn't aware of an exe version. I'll give that one a try.
Thanks
Go to the top of the page
 
+Quote Post
herbalist
post Nov 24 2008, 10:32 AM
Post #8


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


Tried using USBASPI.EXE. No change. DOS still refers to sda6 as drive H, (Win98 calls it drive I) says "not format". DOS doesn't see sda8 at all.
Rick
Go to the top of the page
 
+Quote Post
MDGx
post Nov 25 2008, 03:22 PM
Post #9


creator of 98SE2ME
Group Icon

Group: Super Moderator
Posts: 2481
Joined: 22-November 04
From: ..- ... .-
Member No.: 37121
OS: none
Country Flag


QUOTE (herbalist @ Nov 24 2008, 09:32 AM) *
Tried using USBASPI.EXE. No change. DOS still refers to sda6 as drive H, (Win98 calls it drive I) says "not format". DOS doesn't see sda8 at all.
Rick
This is the answer from the author of modded USBASPI:
QUOTE
It is great that those USB for DOS drivers exist. However, all of them including DI1000DD.SYS have bugs and limitations. As they say YMMV. I have more than one USB memory stick that works fine under WindowsXP (and Windows 98SE), but is not recognized under DOS.

My suggestion: Replace DI1000DD.SYS with ASPIDISK.SYS and report your findings.

ASPIDISK.SYS
ASPI Disk Driver for DOS
Version 4.01b
Copyright 1989-1997 Adaptec, Inc.

BTW, the latest version of USBAPSI.EXE is 2.28. Contrary to some belief in this forum, it is the most up-to-date version of the Panasonic USB --> SCSI driver.
HTH
Go to the top of the page
 
+Quote Post
herbalist
post Nov 25 2008, 05:57 PM
Post #10


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


QUOTE
My suggestion: Replace DI1000DD.SYS with ASPIDISK.SYS and report your findings.

ASPIDISK.SYS
ASPI Disk Driver for DOS
Version 4.01b
Copyright 1989-1997 Adaptec, Inc.

BTW, the latest version of USBAPSI.EXE is 2.28. Contrary to some belief in this forum, it is the most up-to-date version of the Panasonic USB --> SCSI driver.

I've got that version of USBASPI from your site, but can't find that version of aspidisk.sys. Got a link to it? Thanks.
Rick

edit
I found a copy at Adaptec's site but I think it's a much older version. It's 15060 bytes. MD5 is f667369e2b45c4696892daef93549cba
So far, it's the only one I've found.

This post has been edited by herbalist: Nov 25 2008, 06:36 PM
Go to the top of the page
 
+Quote Post
jaclaz
post Nov 26 2008, 10:56 AM
Post #11


MSFN SuperB
Group Icon

Group: Software Developers
Posts: 5575
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


QUOTE (MDGx @ Nov 25 2008, 10:22 PM) *
QUOTE

BTW, the latest version of USBAPSI.EXE is 2.28. Contrary to some belief in this forum, it is the most up-to-date version of the Panasonic USB --> SCSI driver.


FYI, here:
http://www.msfn.org/board/index.php?showtopic=46581
you still have reference to vesrion 2.24


@herbalist
yes, that should be the right one.
Just open it in Notepad, you should be able to see
QUOTE
ASPI Disk Driver for DOS Version 4.01b Copyright 1989-1997 Adaptec, Inc.



jaclaz
Go to the top of the page
 
+Quote Post
herbalist
post Nov 26 2008, 04:59 PM
Post #12


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


Thanks. Forgot all about being able to do that. The whole thing's getting frustrating enough that I'm overlooking the obvious.
Go to the top of the page
 
+Quote Post
herbalist
post Dec 12 2008, 08:18 PM
Post #13


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


I got so frustrated with this job, I had to walk away from it for a week or so. I'd like to thank everyone for all the help, both in this thread and in PMs. This was more than a driver problem. The external drive was full of problems. Bad boot sectors, bad partition table with multiple entries for the same partition, overlapping partitions, and my complete lack of experience in dealing with such problems. It took several days to sort through the data, compress it with 7zip, and copy it to CDRWs, plus a couple more days learning to work with different partitioning and partition repair tools.

I now have several boot disks that do everything I need:
  • Read/write access to all partitions on internal and external drives.
  • CD access.
  • Long file name support.
  • Sound.
  • Conventional and USB mouse support.
  • Large Ramdisk.
  • DPMI that enables me to run a version of 7zip in DOS.


Once the external drive was fixed, my original bootdisk basically worked, but the files you people sent and linked me to made an even better one.

Earlier, I used 7zip on its maximum compression settings to archive an entire internal drive, my lite98SE test system. It compressed the drive contents far better than Acronis did. The next step is to see if I can unpack that archive with the DOS bootdisk and restore a complete operating system with it. If it works (I don't see any more reasons it shouldn't, knock on wood) I can start converting Acronis images to 7zip archives and recover several Gigabytes of disk space.
Thanks again.
Rick

This post has been edited by herbalist: Dec 12 2008, 08:22 PM
Go to the top of the page
 
+Quote Post
jaclaz
post Dec 13 2008, 06:06 AM
Post #14


MSFN SuperB
Group Icon

Group: Software Developers
Posts: 5575
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


QUOTE (herbalist @ Dec 13 2008, 03:18 AM) *
  • DPMI that enables me to run a version of 7zip in DOS.


Are you using HX DOS?
http://www.japheth.de/HX.html

Check also the FreeDos versions:
http://www.ibiblio.org/pub/micro/pc-stuff/...util/file/7zip/

newwink.gif

Something you may want to try is FreeArc (it should work under HX DOS, but cannot say unsure.gif):
http://freearc.org/

jaclaz
Go to the top of the page
 
+Quote Post
herbalist
post Dec 13 2008, 11:03 AM
Post #15


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


The FreeDos version of p7z that you linked to is the one I'm using. At the moment, I'm running it in MSDOS with cwsdpmi.exe.
When I could finally read the entire external drive in DOS, I got into too much of a hurry and didn't set up the next test properly. It does appear that I can restore a functional OS with this setup but it still needs work. It took way too long and some files appear to be missing, about 16MB of them. After waiting for almost 3 hours, I let it run overnight. The process was moving fairly quick at first but slowed way down as it went. Need to repeat the test under more controlled conditions.
Go to the top of the page
 
+Quote Post
herbalist
post Dec 14 2008, 01:00 PM
Post #16


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


Went through the whole process again last night with a few changes. The system I'm copying is the entire "E" drive, which is the primary partition of the primary master hard drive. I extracted the archive to a folder on a logical drive on the external hard drive (J:\Edrive\) using 7zip while in Windows, then compared the 2 with WinMerge. They were identical, so the archive is complete and correct. I erased the external drive, rebooted to DOS, then used 7za to extract the same archive to the same location. This time the extraction process took 3:28 +/- 5 minutes. Most of the extraction process moved fairly quick, except for a couple of subfolders in E:\Program Files\X-Setup Pro. The plugins folder which contained over 900 plugins (*.xpl) was the worst. This folder took over half of the total time, even though it totals only 1.7MB. Why, I don't know, but I will remove X-setup before the next test.

WinMerge reports several differences between the two this time. 3 contain characters that are probably a problem in DOS.
  • Norwegian (Bokmål).txt
  • µTorrent.lnk
  • 3½ Floppy (A).lnk

These shouldn't be a problem.

2 more may be problems because of the length of the paths.
  • E:\Program Files\Connectix\Virtual PC 5.1 Online Installer\Installer\program files\Connectix
  • E:\WINDOWS\Application Data\Mozilla\Profiles\default\ycmdj0ug.slt\chrome

Both of these folders and their contents are missing from the DOS extracted copy. I'm not sure if the fact that the destination was a folder affected this. The next test will extract directly to the "J" drive, not to a folder on it.

The last 2 that are missing I have no explanation or ideas for.
  • E:\WINDOWS\Desktop\olddos.exe
  • E:\WINDOWS\Win95_ActiveAccessibility_Redist_13.exe

At the moment, I'm not sure if I'm dealing with DOS limitations, limitations or bugs in 7za.exe, DOS USB driver issues, the configuration of my bootdisk, or all of the above combined. Anyone have any ideas?

While I'm thinking about it, anyone know of an application or an easy way to convert a boot floppy to an img file that I can use with my burner to make bootable CDs?
Thanks
Rick
Go to the top of the page
 
+Quote Post
jaclaz
post Dec 14 2008, 01:12 PM
Post #17


MSFN SuperB
Group Icon

Group: Software Developers
Posts: 5575
Joined: 23-July 04
From: Italy
Member No.: 25215
OS: none
Country Flag


QUOTE (herbalist @ Dec 14 2008, 08:00 PM) *
The last 2 that are missing I have no explanation or ideas for.
  • E:\WINDOWS\Desktop\olddos.exe
  • E:\WINDOWS\Win95_ActiveAccessibility_Redist_13.exe

At the moment, I'm not sure if I'm dealing with DOS limitations, limitations or bugs in 7za.exe, DOS USB driver issues, the configuration of my bootdisk, or all of the above combined. Anyone have any ideas?

All the others have an explanation, these two are tough ones? woot.gif

You may want to go along the (old) path of LFN thingies, but if the end goal is to IMAGE the drives/partitions, why not using a "proper" app?:
http://johnson.tmfc.net/dos/index.html
http://johnson.tmfc.net/dos/todisk.html
I don't think that a smaller level of compression (from the ZLIB library) would be that bad, when compared with the possible problems that may arise like the one you listed by using a file based approach. unsure.gif


QUOTE (herbalist @ Dec 14 2008, 08:00 PM) *
While I'm thinking about it, anyone know of an application or an easy way to convert a boot floppy to an img file that I can use with my burner to make bootable CDs?
Thanks
Rick


You joking right? blink.gif
There are thousands of them, here is what I find best one.

DDCOPY:
http://users.telenet.be/jbosman/applications.html

jaclaz

This post has been edited by jaclaz: Dec 14 2008, 01:12 PM
Go to the top of the page
 
+Quote Post
herbalist
post Dec 14 2008, 05:31 PM
Post #18


paranoid independent
***

Group: Members
Posts: 487
Joined: 15-December 06
Member No.: 118612
OS: 98
Country Flag


QUOTE
You may want to go along the (old) path of LFN thingies, but if the end goal is to IMAGE the drives/partitions, why not using a "proper" app?:
http://johnson.tmfc.net/dos/index.html
http://johnson.tmfc.net/dos/todisk.html
I don't think that a smaller level of compression (from the ZLIB library) would be that bad, when compared with the possible problems that may arise like the one you listed by using a file based approach.

Imaging entire drives and partitions is part of what I want to do. I already have Acronis, which does that just fine. I'd also like to be able to image specific folders and subfolders. One of the main reasons I chose to use 7zip archives is so I could access those archives from within Windows or DOS. So far, I haven't found anything else that can open an Acronis image file. There's also a big size difference between an Acronis image and a 7zip image. On its maximum compression, Acronis compressed a drive with 525MB on it down to 260MB. 7zip compressed the same drive to 167MB. If the same ratio applies to all the Acronis images I'm storing, I can recover almost 12GB of space and have the benefit of being able to open those images with conventional archiving software. My external drive is getting quite full and it's going to be a while before I can afford more storage space. I'm also working on another project that requires me to be able to extract such archives in DOS.
QUOTE
QUOTE
While I'm thinking about it, anyone know of an application or an easy way to convert a boot floppy to an img file that I can use with my burner to make bootable CDs?

You joking right? blink.gif
There are thousands of them, here is what I find best one.

DDCOPY:
http://users.telenet.be/jbosman/applications.html

I wish I was joking. This is fairly new to me. I've done very little with boot images, partition tables, etc. For me, fixing the external drive was a major learning experience, some of which was quite surprising. It would seem that using a GParted CD to set up the external drive was the source of most of my problems. When I used GParted to repartition the drive again, I couldn't access the new partitions in DOS again. When I used Partition Table Doctor to fix the boot sectors, then I could access them in DOS.

It turns out that I already have an app that could create an .img file but didn't know it. WinISO can make an image from a boot floppy, with a .WBT file extension. I used an existing boot image to make a floppy, then had WinISO save it in its own format. It turns out that their WBT files are img files. The MD5's of the 2 files were exactly the same. I changed the extension and my burner accepted it. The CD works fine.

I have made 2 more 7zip images of the "E" drive using different compression levels. Each took about 45 minutes to make, thanks to my underpowered hardware. I'll try extracting them in DOS either tonight or tomorrow and see what happens.
Rick
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 9th February 2010 - 10:25 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2010 msfn.org
Privacy Policy