simple question

If you are new to development, plan on spending some time here before visiting the other forums.

Moderator: Moderators

Post Reply
Posts: 7
Joined: Tue Dec 14, 2010 3:54 am

simple question

Post by yma » Mon Jan 03, 2011 9:08 pm

Can I use a virtual cd/dvd drive instead of a virtual floppy drive?

Posts: 92
Joined: Thu May 27, 2010 8:54 pm
Location: Netherlands

Re: simple question

Post by halofreak1990 » Wed Jan 05, 2011 7:27 pm

You can, but you'll have to make drastic changes to the bootloader to get the bootsector to work.
(must be 2048 bytes, last two bytes must be the boot signature 'AA55' etc.)
And, of course, you'll need some software to actually write your bootloader to the bootsector of a virtual disc image.

I did this once, but could't get it to display text on the screen. Never tried going as far as to load my kernel, but it should work.

Posts: 34
Joined: Sun Nov 21, 2010 6:40 pm

Re: simple question

Post by Hoozim » Wed Jan 05, 2011 10:51 pm

Instead of virtualization, try fomatting a usb device as a floppy disk. My emulator recognizes it as a floppy disk. It is very easy and no problems. :)

Posts: 387
Joined: Tue Oct 23, 2007 10:05 am

Re: simple question

Post by Andyhhp » Wed Jan 05, 2011 11:14 pm

Yes you can.

Also, you dont specifically need to make it 2048 long. There is BIOS compatability mode to boot from a CD as if it were a floppy disk.

Most emulation software and all PCs should be able to do this.

I suggest you have a look at isolinux which has a few documents on the subject.


Post Reply