Starting OS w/o floppy

OS Design, Theory, and Programming

Moderator: Moderators

Starting OS w/o floppy

Postby ehenkes » Tue Oct 27, 2009 11:01 pm

What's the best way to start such an OS, if you have not got a floppy disk at your computer. How can you boot from and load from/save to USB memory stick in an easy way. Can you show me a link to an USB driver?
ehenkes
 
Posts: 34
Joined: Fri Jul 24, 2009 5:35 pm

Re: Starting OS w/o floppy

Postby Andyhhp » Wed Oct 28, 2009 7:44 pm

you can work without a real floppy drive by using a Virtual Floppy Driver.

This is a small bit of software that can mount small isos as if they were real floppy drives. Then emulators such as Bochs can work with this as if it were a floppy drive.

Alternativly, if you want to use physical hardware, your bios must support USB booting in which case, the dl register at the very beginning of execution of the bootsector contains the drive number used to boot. All you need to do is save this and use it in the int 0x13 call rather than using a default drive of 0.

~Andrew
Image
Andyhhp
Moderator
 
Posts: 387
Joined: Tue Oct 23, 2007 10:05 am
Location: 127.0.0.1

Re: Starting OS w/o floppy

Postby AUsername » Thu Oct 29, 2009 2:57 am

If you mean you have an OS that's meant to boot off of a floppy but the computer you want to test on doesn't have a floppy. (A real hardware test)

You can use MagicISO to create a bootable CD.

ISOs can emulate floppies until you leave RMode.
BIOSs can emulate CD drives as an HDD or CD for compatibility.
AUsername
 
Posts: 1
Joined: Sun May 24, 2009 6:45 pm

Re: Starting OS w/o floppy

Postby djsilence » Tue Nov 03, 2009 4:21 am

the best ways are: eigther use hard disk (but hard to implement at the begginers stage) or use virtual machine that support virtual floppies - the easiest way: need no reset and work quickly.

Daniel.
Thinking of great - thinking of little, thinking of little - thinking of great.
User avatar
djsilence
 
Posts: 30
Joined: Sun Feb 15, 2009 8:49 pm
Location: Kyiv, Ukraine

Re: Starting OS w/o floppy

Postby joniwalker » Sat May 15, 2010 12:48 pm

Current developing:
  • Jupitel OS - A Win32/Linux Hybrid System
  • Line Dark The Secret of Knight a 2d/3d MMORPG game

Email: jonathan_2097@hotmail.com
User avatar
joniwalker
 
Posts: 7
Joined: Sat Nov 21, 2009 1:09 pm

Re: Starting OS w/o floppy

Postby knowledgegranted » Tue Jun 01, 2010 3:46 am

Depending on your motherboard manufacturer, many motherboards now support booting off of a USB drive. Check around on the internet and see if your motherboard supports it.
User avatar
knowledgegranted
 
Posts: 1
Joined: Tue Jun 01, 2010 3:41 am


Return to Advanced OS Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron