Computing.Net > Forums > Disk Operating System > Yet another USB boot problem :(

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Yet another USB boot problem :(

Reply to Message Icon

Name: Svit
Date: April 23, 2008 at 06:36:49 Pacific
OS: DOS
CPU/Ram: na
Product: na
Comment:

Hello was hoping that someone would be kind enough to save my hairline.

Goal: boot to ghost.exe with usb2 support to image load harddisk.

I can get this to work at USB 1.1 speeds. It takes 2 hours.

Symptom: Can boot to command prompt without USBASPI.SYS. With USBASPI.SYS it installs the ASPI manager but then cannot find the command.com file, and any other file after invoking in config.sys device=usbaspi.sys. I suspect that it loses track of the path to disk after loading usbaspi.sys. How do I get it to keep track of the path to disk? I have tried many different solutions from many different website, I have read the big usbaspi thread on this site and it always runs in to a problem with not finding the command.com file "Enter name of Command Interpreter (for example, C:\Windows\Command.com) c>" There quite obviously is something that I do not understand or have missunderstood, as I have tried this on a number of different comps and USB. I am (almost desperately) hoping someone can steer me straight on this as, as far as I can tell this should work.

Yours hopefully

SvIT

option USBCD loads usbaspi.sys

Config.sys

[menu]
MENUITEM=cd,CD
menuitem=USBCD, Start computer with (USB) CD-ROM support.
MENUITEM=USBDOS,USB DOS
MENUITEM=intel1,Intel Pro/100
MENUITEM=intel1k,Intel Pro/1000
MENUITEM=hp,Broadcom
MENUITEM=3com,3Com
MENUITEM=wmware,WMware
menudefault=USBCD,30

[cd]
LASTDRIVE=Z
DEVICE=c:\CD\OAKCDROM.SYS /D:mscd001

[USBCD]

DEVICE=HIMEM.SYS /TESTMEM:OFF
DOS=HIGH,UMB
SWITCHES=/F
BREAK ON
SHELL=c:\COMMAND.COM /P /E:1024
FILES=60
BUFFERS=30
STACKS=9,256
Lastdrive=Z
DEVICE=oakcdrom.sys /D:MSCD001
DEVICE=USBASPI.SYS /V /NORST
DEVICE=USBCD.SYS /D:USBCD001
DEVICE=DI1000DD.SYS


[USBDOS]

rem ---------------
Stacks=9,256
device=himem.sys /testmem:off
rem device=aspiehci.sys
device=usbaspi.sys /v/w
rem device=usbcd.sys /d:usbcd001

LASTDRIVE = Z

rem ---------------


[intel1]
DEVICE=\net\protman.dos /I:\net\Intel1
DEVICE=\net\dis_pkt.dos
DEVICE=\net\Intel1\E100B.dos

[intel1k]
DEVICE=\net\protman.dos /I:\net\Intel1k
DEVICE=\net\dis_pkt.dos
DEVICE=\net\Intel1k\E1000.dos

[hp]
DEVICE=\net\protman.dos /I:\net\B57
DEVICE=\net\dis_pkt.dos
DEVICE=\net\B57\B57.dos


[3com]
DEVICE=\net\protman.dos /I:\net\3Com
DEVICE=\net\dis_pkt.dos
DEVICE=\net\3com\el90x.dos

[wmware]
DEVICE=\net\protman.dos /I:\net\WMware
DEVICE=\net\dis_pkt.dos
DEVICE=\net\WMware\pcntnd.dos

AUTOEXEC.BAT

@echo off

prompt $p$g


GOTO %CONFIG%

REM --------

set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;c:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy viktigt.txt %RAMD%:\ > NUL

:ERROR
IF EXIST ebd.cab GOTO EXT
echo S„tt i Windows 98 Stardiskett 2
echo.
pause
GOTO ERROR

:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo De diagnostiska verktygen har laddats till enhet %RAMD%.
echo.

REM --------

:intel1
\net\netbind.com
GOTO net_ghost

:intel1k
\net\netbind.com
GOTO net_ghost

:hp
\net\netbind.com
GOTO net_ghost

:3com
\net\netbind.com
GOTO net_ghost

:wmware
\net\netbind.com
GOTO net_ghost

:cd
c:\cd\mscdex.exe /d:mscd001 /l:q
cd \ghost
echo Loading...
ghost -fni -rb -sure
GOTO end

:net_ghost
set comspec=%RAMD%:\command.com
cd \ghost
echo Loading...

ghost -fni -rb -sure
GOTO end

:end



Sponsored Link
Ads by Google

Response Number 1
Name: DosX
Date: April 25, 2008 at 09:29:16 Pacific
Reply:

The problem is, that you boot of USB drive that is emulated as an ordinary drive by bios. Once you load USB drivers, emulation stops - C: drive no longer exist. I see only two solutions:
1: do not use USB drivers
2: create a ram drive before you use USB drivers and copy the needed files to it. Of course copying files while inside config.sys can be tricky, but 4dos command interpreter (command.com replacement) can be used *inside* config.sys to "execute some initial batch jobs". See 4help (part of 4dos package) "Starting 4dos" for explanation.

4dos download page: http://www.4dos.hit.bg/

BTW I didnt try to do all of that...


0

Response Number 2
Name: mavis007
Date: April 27, 2008 at 13:12:50 Pacific
Reply:

"...kind enough to save my hairline..."

... ya just a (future) suggestion, create another partition, copy ghost image to it.

... either make that partition bootable or use the CD...(dos bootloader + bat file(s)ghost.exe blah blah ;)

... use the ghost option (or script) restore image to partition.

... restoring @ least 4 times faster than usb2 + less hairloss

Grrrr
wat do I know?
... got brain freeze


0

Response Number 3
Name: Mickey the Fish
Date: August 24, 2008 at 14:27:34 Pacific
Reply:

Hi Svit,

I was curious, did you manage to solve this problem?

I have a similar situation where i need to push an image from DOS
I am booting from my USB device and can push the image to the local IDE disk however it seems to take a good few hours to push a one gig file out.

I was under the impression loading the USB 2.0 (USBASPI.SYS) drivers would speed this up greatly.

did you ever manage to get this working?

Mickey the Fish.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Read batch file and write... dos6.22 print to txt file...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Yet another USB boot problem :(

Making USB boot disk bootable www.computing.net/answers/dos/making-usb-boot-disk-bootable/15561.html

USB Booting in DOS www.computing.net/answers/dos/usb-booting-in-dos/16393.html

making boot disk for my external HD www.computing.net/answers/dos/making-boot-disk-for-my-external-hd/15520.html