General discussion

Locked

Dos Boot Disk Creation - Need help plz

By mrafrohead ·
I am making a bootable thumbdrive.

I have the drive working properly if I take a dos boot disk and copy the whole thing to the root of the thumbdrive.

When I boot with it, it treats the thumbdrive as a C:\ drive.

Therefore will everything in the root, I just needed to alter the autoexec.bat and config.sys and setramd.bat to route through to the C:\ instead of A:\.

Wellllll....

I decided to change things a little bit. So i took all of the files, EXCEPT the three main dos files, command.com/io.sys/msdos.sys, and put them into a directory called "DOS".

So now I have taken all of the config files I listed above and have them pointed to c:\dos but now it's not working right.

I added a autoexec.bat file to the root and had it point to the autoexec.bat file in the DOS folder.

None of my virtual drives are showing up now. I'm not given a choice to boot from CD. My ramdrive won't work.

Neone have any ideas what I'm doing wrong. I've spent all day on this and had it figured out, but now since my little "change", I am completely stuck...

Any help would be appreciated. If you need more info, just lemme know and I'll post it... :)

Thanks,

Mrafrohead

This conversation is currently closed to new comments.

15 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DOS or Windows

by willcomp In reply to Dos Boot Disk Creation - ...

Are you using pure old DOS or Win 95/98/Me imbedded DOS?

You will need drivers for optical drives called in autoexec.bat and config.sys.

There are also drive size limitations based on boot OS. DOS and Win95A have a 2GB partition limit.

May want to try a bootdisk from link below.

http://freepctech.com/pc/002/files010.shtml

Boot Disk Essentials may be one you need.

Dalton

Collapse -

I think it's something else.

by mrafrohead In reply to DOS or Windows

The thing is, it all worked just fine before I changed the extra files to the DOS folder.

And it is from Windoze 98SE. Not necessarily a true dos disk, but good enough for me. Allows me to get into a running state and then run the rest of my tools from there...

The thumbdrive that I installed them on is only 32M...

Collapse -

Config.sys

by Skidoggeruk In reply to I think it's something el ...

Didn't see you mention config.sys file. You may need to have that in the root as well. Good Luck

Collapse -

Know it sounds obvious but

by JamesRL In reply to Config.sys

Have you checked your path statement to ensure that its actually seeing the DOS directory?


If you get to the DOS prompt, type path and hit return. It could be a simple misplacement of a comma in the path statement in your autoexec.bat.

James

Collapse -

Yes

by mrafrohead In reply to Know it sounds obvious bu ...

This is what I see...

c:\dos>path
PATH=:\;A:\;:\;C:\DOS;C:\

The two blank spots should represent the CDRom and the blasted virtual drive that stores all of the tools.

Collapse -

Thanks, that fixed part of it.

by mrafrohead In reply to Config.sys

I dropped that file into the root, and now I get my menu.

The funny part is this... if that enables me to get my menu, and I have to have it in the root, I'm starting to think that I may as well just put everything in the root and make the files all hidden.

The purpose of me doing this was, I like my drives to be clean and tidy.

I'm familiar enough with DOS to do what I need to do, but I've never done anything like this with it. This is new to me.

I am starting to think that if I have to have more than just the three files in teh root, I may as well just have them all, unless you may know of a way to path them out...

;p

Collapse -

5 files

by Skidoggeruk In reply to Thanks, that fixed part o ...

From what I remember of Dos, you only need those 5 files in root, everything else may be pathed. Think I would just leave those files in root and forget about it, as these are usually small anyway.

If you are loading devices, like a cd-drive, these files may be pathed. Hope you are remembering the old "path=" line, as well

Collapse -

by mrafrohead In reply to 5 files

yes from the autoexec.bat. I have them all edited. I have tried doing it a different way this time...

What I did is I took the disk and allowed the "system" files to be copied into the directory. I then took the rest of them and put htem into the dos directory. I'm going to start tweaking and see waht I come up with...

I think that this will do it.

Actually I KNOW it can be done, it's just whether or not I have the ability to do it...

The only real dos work I ever did was back when I lived with my parents and I needed to alter my dos boot disks to work with my games... ;p that way my dad didn't get pissed because I was screwing with his computer...

Collapse -

3 Required, 2 Optional

by willcomp In reply to 5 files

The 3 required MS DOS files are MSDOS.SYS, IO.SYS, and COMMAND.COM. AUTOEXEC.BAT and CONFIG.SYS are optional, but rather necessary to do anything except boot the system. All 5 must be in the root directory.

CONFIG.SYS is processed first, then AUTOEXEC.BAT. You can call files in other directories in autoexec.bat using the full path or the file name if after path statement and file is in path.

Dalton

Collapse -

by mrafrohead In reply to 3 Required, 2 Optional

Right on man, thank you ;p

That answers that right there... ;p

I actually have settled with those five and put the rest in the dos directory. Now if I can get the darned command.com to work hidden, I'll be set ;p

Keeps telling me that it isn't htere, yet the rest of everything else works hidden.

Back to Web Development Forum
15 total posts (Page 1 of 2)   01 | 02   Next

Software Forums