flat assembler
Message board for the users of flat assembler.

Index > DOS > How to boot my DOS program through USB??

Author
Thread Post new topic Reply to topic
saigon



Joined: 29 May 2006
Posts: 62
saigon
Hello!
I have been always working with fasm, rawrite and my floppy to create and test my boot codes. The problem just is, I have seen that nowadays, mostly if you buy a new computer, it doesn't have a floppy-drive and many people are way too busy to go to the next shop to buy a floppy just to test my OS Surprised ...

So, what I see is that many people DO have a USB pen, so how would I make a bootable OS that runs from this USB pen??
I am wanting to make a floppy-version and a USB pen version. But right now I don't have that much knowledge Confused So please help me Smile

Any kind of help is very appreciated!
Post 10 Aug 2006, 14:33
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
The best way to boot from usb pen driver, is to use dos as a boot loader,
just format your pen drive wih windows and click add sys files, this will put a basic dos on the drive, then you can use autoexe to auto run your kernel or 2nd stage boot loader etc, on booting.

NOTE: Your bios needs to be able to load from usb devices.
Post 10 Aug 2006, 16:58
View user's profile Send private message Reply with quote
saigon



Joined: 29 May 2006
Posts: 62
saigon
Thanks Dex for the info!
Sorry for putting a late reply, but my ISP had some problems and my internet didn't work for 2 weeks.

But your info doesn't help me much, I'm working in a Linux distro (Debian) so I can't do what you said, but what I can now do is to study bootable CD's (I mean, everybody who buys a new computer has a CD drive Confused )
Post 14 Aug 2006, 14:11
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
All you need do to make a bootable CD is to get a bootable floppy or hdd image of your OS, open your burn software and click on make cd bootable.
And point the program to your image.
If you do not have a floppy driver to make a image, get someone elses image and a program like winimage and take there files out and put yours in.
And them do the above.
Post 15 Aug 2006, 16:36
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.