Question about virtual floppy drive

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
David003
Posts: 11
Joined: Tue Mar 29, 2011 6:08 am

Question about virtual floppy drive

Post 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
David003
Posts: 11
Joined: Tue Mar 29, 2011 6:08 am

Re: Question about virtual floppy drive

Post by David003 »

Not exactly, I'm Dutch.
I understand english not very good.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Question about virtual floppy drive

Post 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.
Every good solution is obvious once you've found it.
David003
Posts: 11
Joined: Tue Mar 29, 2011 6:08 am

Re: Question about virtual floppy drive

Post 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 :)
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Question about virtual floppy drive

Post by Brynet-Inc »

Nice try.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Question about virtual floppy drive

Post by Combuster »

David003 wrote:I'm Dutch. I understand english not very good.
Try not to skip classes :wink: 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 :shock:)</dutch lecture>
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
David003
Posts: 11
Joined: Tue Mar 29, 2011 6:08 am

Re: Question about virtual floppy drive

Post 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.
Locked