Page 1 of 1
Question about virtual floppy drive
Posted: Thu Mar 31, 2011 2:44 am
by David003
Hello,
I try to create a virtual floppy drive with my simple "boot loader" that says "Hello World".
I use this guide:
http://wiki.osdev.org/Loopback_Device - Floppy Disk Images With FAT16
I do this:
Code: Select all
sudo dd if="boot.o" of="Project.img" bs=512 count=1 seek=0
sudo dd if="/dev/zero" of="Project.img" bs=512 count=2879 seek=1
sudo losetup /dev/loop1 Project.img
mkdosfs /dev/loop1
mount -t msdos /dev/loop1 /mnt/floppy/
But where is my Virtual Floppy Drive?
Thanks, David
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 3:39 am
by David003
Not exactly, I'm Dutch.
I understand english not very good.
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 4:01 am
by Solar
David003 wrote:I understand english not very good.
Understanding English, especially technical English, at a competent level is more or less a prerequisite for OS development.
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 6:00 am
by David003
Okay, I understand now where my floppy drive is.
Only my virtual player will not find the drive.
I use VMware Player.
How can I ensure that he finds him
Thanks, David
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 6:11 am
by Brynet-Inc
Nice try.
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 6:59 am
by Combuster
David003 wrote:I'm Dutch. I understand english not very good.
Try not to skip classes
The level of english you learn there is (apart from technical terminology) well above what many other countries provide. If you are dutch and complaining about english skills, someting is seriously wrong.
Also, it's a forum rule so complaining does not help. (Het beheersen van engels is één van de regels van dit forum, zorg dat je niet weggepest gaat worden doordat je niet kan lezen. Net zoiets als een auto proberen te repareren als je niet weet hoe een schroevendraaier werkt
)</dutch lecture>
Re: Question about virtual floppy drive
Posted: Thu Mar 31, 2011 7:33 am
by David003
I will do another good read, so i will understand.
I have read it, and it works.
I'm Using a .IMG File.