Page 1 of 2

Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 4:23 pm
by HackletX
Hi fellow OSdevers.......... :)
Here I'm with a intrstng problem that is causing me a litle headpain.

the story goes like this:
..My Rig is, intl Core2duo, 2 gb RAM, with WIn7 32bit on a lapy.
I don't have any floppy drive so i'm useing virtuals. with 'Imdisk virtual disk driver' / 'Virtual Floppy Drive' (with Admin privilage)
i'm loading floppy image i got from :http://www.allbootdisks.com/download/95.html /http://www.allbootdisks.com/disk_conten ... xppro.html
after that i'm formating it in MS-DOS startup disk type with default settings in FAT FS format.
after that in command prompt (cmd) i'm useing debug, then with

Code: Select all

l 0 0 0 1 
 d 0 
and

Code: Select all

d 180 
.... i can see no errors . it is just like a normal disk it appears.
then when i try to load my boot.bin on the 1st sector in Debug
with

Code: Select all

n boot.bin
l 0 
w 0 0 0 1
...it goes quitely done.
..the problem comes right after that as from now i can't open (explore) my floppy bt clicking on the floppy drive icon as it says 'unknown file system cant open' and it also says me to format it again....!!!! :shock:
or if i try to copy my kernel.bin after previous step in command promt , command promt (cmd) says me 'error'..! tells me to format again..! :?
even useing 'mkbt' it gives me the same result!! same errors..! ( i already have mkbt in my project folder, don't worry) :evil:

_______________

for MKBT im useing these files:

The bootsector in a file called "bootsect.bin"
capturing the bootsector to a file using: mkbt -c a: bootsect.bin
IO.SYS
MSDOS.SYS
COMMAND.COM

+ extra files were already exists there 'DRVSPACE.BIN'
as after formatting the floppy image file i can see files (including system files/ attributes, hidden):
  • AUTOEXEC.BAT
    COMMAND - MS-DOS Application
    CONFIG.SYS
    DISPLAY.SYS
    EGA.CPI
    EGA2.CPI
    EGA3.CPI
    IO.SYS
    KEYB - MS-DOS Application
    KETBOARD.SYS
    KEYBRD2.SYS
    KEYBRD3.SYS
    KETBRD4.SYS
    MODE - MS-DOS Application
    MSDOS.SYS
-------------------------------------------------
*Note: even if i use ' fdrawcmd ' - it says 'non-system disk error' :?:
[*in PowerCMD (cmd alternative) after entering 'Debug' i cant write any command in next line! thoug der is blinker...!!] :!:

and if i in Debug use:

Code: Select all

l 0 0 0 1
-u 3E
-a 3E
jmp 3E
-u 3E
i see '^error" in next line #-o
..can it give you any clue?

..................so now tell can anybody please tell me where is the problem happening..?? how to solve this problem..???? anybody..???

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 4:39 pm
by iansjack
Almost certainly your boot.bin isn't writing the correct values to the boot sector for it to be recognized as a FAT formatted floppy. Compare your bootsector with one from a good disk.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 4:46 pm
by HackletX
iansjack
I gave here the files of the MS-DOS bootable disk, is'nt that enough..?
otherwise how i can check the bootsector with a good one..? method? ( as i told i done l 0 0 0 1 and checked by d 0 , d 180 in Debug)
in reffrnc give me link of a good disk.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 4:52 pm
by Nessphoro
Honestly, floppies are obsolete.
You are much better off by starting with a hard drive first. FAT32 is IMO so much simpler than the 12 (16) bit bullcrap you have to deal with. Plus you can put your os on a flash drive (I am aware you can have flash drive emulated as a floppy). Nevertheless, I am sure you might have some contrary arguments that prevent you, so I m not gonna stop you.

P.S. No colors in the signature space

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 5:02 pm
by HackletX
Yes Nesphoro i know.
i'll surely move on from Floppy soon, but i need a floppy vrsn too for my OS. So i need to solve it. next i gonna do a CD/USB/flash drive bootable too.. for that may be i'll again adopt some of my best native methods. but for now i wanna give my floppy dream a last chance.. :lol: hope u understand.

P.S. : color is gone :o

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 5:11 pm
by Combuster
I kindof suspect he read some tutorials with the same amount of attention as he has spelling skills. I don't think switching to something other than a floppy is going to help him right now.

@OP: Your instructive references, please?

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 5:20 pm
by HackletX
to Combustur,
if i wanna talk about any refs.. mmmm. may be its deficult fr me to remember as i started with cmd-ing a floppy from 2000 , lately i am done with that. and knowing about those utilities needs some knowledge gathered by surfing the web well. btw i dnt understand 'the spelling issue' u r talking about.
and try to be on the topic, if u can't solve it its ok.
and i don't think u can find any tutorial in the WWW on this - well written as my post about the problem. got it?

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 5:30 pm
by Combuster
HackletX wrote:btw i dnt understand 'the spelling issue' u r talking about.
I call a troll. Is that you, andy?

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 5:47 pm
by Kazinsal
HackletX wrote:btw i dnt understand 'the spelling issue' u r talking about.
Candidate quote for "best of OSDev.org" right here, folks.

OP, are you trying to make a bootable MS-DOS floppy? Because this is the wrong website for that. We do OS development, 80s legacy OS pseudoscripting.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 6:13 pm
by HackletX
no, just want to place well the boot binary in the bootsector of a floppydrive without having any further problem.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 6:47 pm
by Nessphoro
1. Get HxD
2. Open Binary
3. Open Floppy Disk
4. Copy-Paste
5. ???
6. Profit!

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 7:59 pm
by Mikemk
HackletX wrote:btw i dnt understand 'the spelling issue' u r talking about.
In english, please?

lol


http://forum.osdev.org/viewtopic.php?f=1&t=16944 #6

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 8:09 pm
by VolTeK
HackletX wrote:well written as my post
Your right. Because the ones we do find are more professionally written and spell checked.

Even i can't tell what it is you want or how you attempted what it is you failed to explain.

HackletX wrote:no, just want to place well the
I can somewhat assume English isn't your main language,

Or you're 10.







Rephrase what it is you want and specifically what you did in steps.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 9:58 pm
by Nessphoro
VolTeK wrote:Your right.
The irony. Oh the irony.

Re: Making Floppy bootable problem!!

Posted: Wed Mar 20, 2013 10:25 pm
by VolTeK
Nessphoro wrote:The irony. Oh the irony.
Are you trying to start something?