Making floppy .img files

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.
Post Reply
User avatar
samoz
Member
Member
Posts: 59
Joined: Sun Jun 01, 2008 1:16 pm

Making floppy .img files

Post by samoz »

Hey guys, I'm working through JamesM's tutorials and I'm having some problems with .img files for the floppy.

My Mac doesn't have the loop and losetup commands that James' tutorial uses for updating the floppy image. I'm running Ubuntu on VirtualBox to compile things, but for some reason, the losetup commands in his update_image script don't work...

What I need help with is how can I create a floppy .img file with grub and my kernel on it.
Hexciting: An open source hex editor for the command line.
https://sourceforge.net/projects/hexciting/
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Making floppy .img files

Post by piranha »

What do you mean by "they don't work"? Does running /sbin/losetup as root say 'No such file or directory'?

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
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: Making floppy .img files

Post by Combuster »

Read the FAQ next time.
Or specifically, Hdiutil
"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 ]
egos
Member
Member
Posts: 612
Joined: Fri Nov 16, 2007 1:59 pm

Re: Making floppy .img files

Post by egos »

If you have seen bad English in my words, tell me what's wrong, please.
Post Reply