Jump to content

floppy .img files


Urza9814
 Share

Recommended Posts

Just wondering how you make a floppy .img file...I know how to do a CD img or ISO...but not a floppy one...and I'd LIKE it to run when the comp is started...like a boot disc...it can be a windoze on linux prog...doesn't really matter (that's why this is in OT instead of Software)

Link to comment
Share on other sites

If you have a bootable floppy that you want to make an image of on your hard drive, I think this will work:

 

1. Place the floppy in your drive but don't mount it(note, if you have supermnount enabled, disable it first);

 

2. Run:

 

# dd if=/dev/fd0 of=boot.img bs=10k count=144

 

That will create an image file of the floppy in your home directory called "boot.img".

 

However, you want to be able to boot off this image file which is not possible w/o a lot of trouble. You'd be better off just copying the contents of the floppy to a directory and configuring lilo to make a boot entry using this info. Here's a link where I discussed doing something like that which you might find helpful:

 

http://www.mandrakeusers.org/index.php?sho...=5247&hl=floppy

 

 

 

It's fairly complicated, but if you can follow along with my logic, I think you could adapt it to what you want to do.

Link to comment
Share on other sites

I think so depending on the size of console.exe but you will have to do it in DOS. You can make a floppy DOS bootable by formatting the floppy within DOS with:

 

format a: /s

 

and then copy your executable, console.exe, on to the floppy if there is room. Then when you boot off the floppy, you simply run "console.exe". Not sure whether that will work as it's been a long time since I ran DOS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...