Making Floppy bootable problem!!

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.
User avatar
HackletX
Posts: 6
Joined: Wed Mar 20, 2013 2:56 pm

Making Floppy bootable problem!!

Post 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..???
BLUE is too common now, change it to something else!
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Making Floppy bootable problem!!

Post 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.
User avatar
HackletX
Posts: 6
Joined: Wed Mar 20, 2013 2:56 pm

Re: Making Floppy bootable problem!!

Post 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.
BLUE is too common now, change it to something else!
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Making Floppy bootable problem!!

Post 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
User avatar
HackletX
Posts: 6
Joined: Wed Mar 20, 2013 2:56 pm

Re: Making Floppy bootable problem!!

Post 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
Last edited by HackletX on Wed Mar 20, 2013 5:45 pm, edited 1 time in total.
BLUE is too common now, change it to something else!
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 bootable problem!!

Post 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?
"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 ]
User avatar
HackletX
Posts: 6
Joined: Wed Mar 20, 2013 2:56 pm

Re: Making Floppy bootable problem!!

Post 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?
BLUE is too common now, change it to something else!
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 bootable problem!!

Post by Combuster »

HackletX wrote:btw i dnt understand 'the spelling issue' u r talking about.
I call a troll. Is that you, andy?
"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 ]
User avatar
Kazinsal
Member
Member
Posts: 559
Joined: Wed Jul 13, 2011 7:38 pm
Libera.chat IRC: Kazinsal
Location: Vancouver
Contact:

Re: Making Floppy bootable problem!!

Post 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.
User avatar
HackletX
Posts: 6
Joined: Wed Mar 20, 2013 2:56 pm

Re: Making Floppy bootable problem!!

Post by HackletX »

no, just want to place well the boot binary in the bootsector of a floppydrive without having any further problem.
BLUE is too common now, change it to something else!
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Making Floppy bootable problem!!

Post by Nessphoro »

1. Get HxD
2. Open Binary
3. Open Floppy Disk
4. Copy-Paste
5. ???
6. Profit!
Mikemk
Member
Member
Posts: 409
Joined: Sat Oct 22, 2011 12:27 pm

Re: Making Floppy bootable problem!!

Post 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
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Making Floppy bootable problem!!

Post 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.
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Making Floppy bootable problem!!

Post by Nessphoro »

VolTeK wrote:Your right.
The irony. Oh the irony.
Last edited by Nessphoro on Wed Mar 20, 2013 10:57 pm, edited 1 time in total.
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Making Floppy bootable problem!!

Post by VolTeK »

Nessphoro wrote:The irony. Oh the irony.
Are you trying to start something?
Post Reply