Jump to content
Corsair Community

How to make a USB Stick bootable


Greenhorn

Recommended Posts

Hi all there,

 

this is a translation of a german Tutorial found here.

It's made by 'ari', a respected member of http://www.windows-unattended.de/forum/,

featured and supported by 'FireGeier', also a respected member of the same Board...

 

 

Greetz

Greenhorn

 

---------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------

 

 

 

This Tutorial may interest you, if your USB-Stick doesn't come up with a Tool to make it bootable ...

 

mkbt doesn't work on all USB-Sticks, 'cause it's rather built to make 3,5" Floppy Drives bootable without the need to reformat the Drive.

 

HP Tool is a good facility to make the Stick bootable, but nobody knows from which DOS Version the Bootsector is coined that will be striked up on the Stick.

This is specially important in case you want to integrate an additional Menu per 'jo.sys' which allows to choose booting from the Stick or from HDD.

 

http://xs220.xs.to/xs220/07403/Bootmen_.jpg

 

To get the Menu shown on screen the file 'jo.sys' and the Bootsector must be coined by the same DOS Version.

And exactly that's not working on a Stick made bootable by the HP Tool. Neither the file v. W98 DOS nor the file v. WinME DOS will be accepted.

 

So we do it otherwise.

 

Download the attached file and extract it. Plug in your USB Stick and run the 'W98SE_Boot.exe'.

The Datas on the USB Stick will be deleted ! ! !

The 'W98SE_Boot.exe' contains a bootable Image with core DOS commands and the necessary Drivers.

Select your USB Stick in the Combobox and click 'OK'. Either the Image will be tranfered to the Stick and the affair is settled or an error appeares.

In case of an error abort here and reformat the Stick with FAT.

Now you can run again the 'W98SE_Boot.exe' and proceed the previous steps.

 

I succeeded on the first try.

If you got it too, skip the following section...

 

#####

##################################### making it bootable with DOS ######################################

#####

Run 'W98SE_Boot.exe' again and extract the Image to a Floppy Disk.

The Image comes up with three USB Drivers, not less than one of them should detect your Stick under DOS.

 

* USBASPI.SYS, Driverversion 1.xx by mhairu, detects old and new USB 1.1

* USBASPI2.SYS, Treiberversion 2.06 by Panasonic, detects old and new USB 1.1

* USBASPI3.SYS, Treiberversion 2.2 by Panasonic, detects new USB 1.1 & USB 2.0

* DI1000DD.SYS, this Driver allocates a Driveletter to the detected Stick .

 

The first Driver is the active one. Now boot from the Floppy Disk, the Stick should be plugged in at the latest from appearing the first Menu.

Select 'start from CD ROM' and in the next Menu select 'start with CD ROM, USB and Mousedrivers'.

Immediatly after that starts the detecting of USB Devices.

 

If at this point the message appears -> 'Device not found'

 

possibly stop the Boottask with <Break>, neither restart with <Strg>+<Alt>+<Del> and make the changes under WinXP nor you boot without <Break> to DOS prompt.

For simple Fileoperations I've packed by to the Image 'Norton Commander'.

Who dozed the prompt to start 'Norton Commander' can call it later with the command 'NC'.

Now delete the file USBASPI.SYS and rename the file USBASPI2.SYS to USBASPI.SYS, ...completed.

The next test can be done. If it failes too, try again by renaming the USBASPI3.SYS.

If you own a USB 2.0 Stick use shortly the USBASPI3.SYS.

 

If the detection runs successfully you should get shown something like this...

 

http://xs220.xs.to/xs220/07403/USB_Treiber.jpg

 

The detected USB Devices wil be listed with name and ID.

Under it Driveletters allocate to the IDs.

Keep in mind the
Driveletter
, you'll need it later. On my Screenshot it is 'D:'.

 

Now boot until DOS prompt.We don't need 'Norton Commander' this time.

 

Type the command -> format
Driveletter
-> <Enter> (e.g. format D:)

 

After that copy the Systemfiles from the Floppy Disk to the USB Stick and make it bootable by doing this.

 

Type -> SYS
Driveletter

 

Reboot the System but don't forget to change the Bootoptions in the BIOS. (or use the Bootmenu)

If you booted succesfully from the USB Stick, the following message appears...

 

Microsoft Windows 98

 

...and then the DOS prompt appears.

 

That's it, Folks. Now you can restart WinXP and copy the content of the Floppy Disk to the USB Stick overwriting existing files.

#####

################################### END: making it bootable with DOS ####################################

#####

 

 

 

... Additional you can copy the content of the 'DOS Cmds' folder which is enclosed in the archive you've downloaded.

It contains the most useful DOS commands and a helpfile which you can call under DOS with 'help'.

 

Reboot, jump into the BIOS and set your USB Stick to first Boot Device.

Depending to your BIOS - or respectively how your BIOS emulates the USB Stick at booting - an error could appear, now while you're using the active USB Driver at first booting.

Particulary that's the case, if only one USB Device is detected at booting. (namely your Stick you're booting from...)

You must check it out by yourself..., if the error occures a message appears similar to this:

 

File xxxxxx.xxx is corrupted.
Error at line xx in file config.sys.

 

To prevent this error edit the file config.sys with Notepad.

Comment out the following lines:

 

device=USBASPI:SYS    -> rem device=DI1000DD.SYS
device=DI1000DD.SYS   -> rem device=USBASPI.SYS

 

Do the changes two times in the file.

 

If you need multiple USB Devices under DOS, you have to undo the changes in config.sys !

Alternatively you can solve the problem with additional Menuentries in the config.sys,

which allows you to select the option to load the Driver or not.

 

The entries under the [menu] section matches to this Menu (2 at Screenshot):

 

http://xs320.xs.to/xs320/07403/Startmen___nd.jpg

 

The whole shebang will be evaluated in the 'autoexec.bat' file with such a line:

 

IF "%config%"=="NOCD" GOTO NOCDROM

 

In case of you want to change the Headline of the Menu (1 at Screenshot), you'll find it in the file 'io.sys' at line 621:

 

Microsoft Windows 98 Startmenü

 

Backup the 'io.sys' before making changes to it !

The new Headline must have the same counts of characters: Not more and not less !

Fill up the new Headline with <Space> characters to get the original length of the line.

 

The Keyset at the Footer (3 at Screenshot) you can hide with the command:

 

switches=/n /f

 

This command must be the first line in the 'config.sys' file !

 

The entries in the Menu which allows to select the Boot from HDD or your USB Stick is listed in the 'jo.sys' file, right in the first line.

Also don't forget here: Backup the file you want to change ! Same reason as previously explained: Make sure to keep the correct counts of characters !

 

 

And now I want to thank 'FireGeier' !

Without his investigating and preparatory work - especially with the USB Drivers - I had never got my USB Stick bootable.

 

 

 

Have fun on this Tutorial and I hope it comes out well !

 

ari

 

 

W98SE_Boot_Img_u._Dos_Cmds

 

 

 

---------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------

 

 

Thanx to 'ari' for this great Tutorial :D:

Link to comment
Share on other sites

No problem, knowledge should be available for everyone and free !!!;):

 

I hope my english is clear enough to you ... :o:

 

But another thing ..., may you can integrate a SPOILER-Function in the Board ???

It's very practical.

You don't know what a Spoiler Function is ... ?

Look here please and click the Button 'Zeige' ...:eek:

 

 

Greetz

Greenhorn

Link to comment
Share on other sites

With the SPOILER Function you can expand/collapse parts of the post, e.g. I could put the 'making it bootable with DOS' section in a SPOILER and only if I need to read it I expand it by clicking the Button.

Or I could put the pictures in it ...

That makes the Post more well arranged, I think...

 

 

Greetz

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...