OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:39 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Tutorial About BootProg?
PostPosted: Fri Jul 02, 2010 6:15 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
Hello,
I was wondering if someone could make a tutorial about how to use and install BootProg, because I'm having a lot of programs when trying to install it to the boot sector, the program used to write the data to the floppy, keeps saying that my floppy has a FAT16 partition, not FAT12, but I think this is because I'm using Windows XP. :cry:

Best Regards,
Nathan Paulino Campos

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 4:05 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Why should we make a tutorial on something that does not work?

Edit: I tried to verify your complaints: Windows is not broken. In fact, using bootprog to read the bootsector yields the correct result. Which brings us to the other point: WTF are you using a DOS application

_________________
"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 ]


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 7:15 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
Combuster wrote:
Why should we make a tutorial on something that does not work?

Edit: I tried to verify your complaints: Windows is not broken. In fact, using bootprog to read the bootsector yields the correct result. Which brings us to the other point: WTF are you using a DOS application

Hmm, then I'm going to try by using VMWare emulating MS-DOS 6.22...

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 8:59 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 09, 2009 4:09 am
Posts: 76
Location: Somewhere
You are crazy. Use BFI.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Jul 03, 2010 8:59 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 02, 2009 4:35 pm
Posts: 737
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.

_________________
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sun Sep 05, 2010 5:42 pm 
Offline

Joined: Sun Sep 05, 2010 5:29 pm
Posts: 1
gravaera wrote:
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.


Lolz. I like it.

But Nathan just try to do what qandrew's said, use BFI.

_________________
Bob Morton
I'm reviewing my post and hoping to finish my blog today.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 7:29 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
bobmorton wrote:
gravaera wrote:
Hi:

Nathan, I think the video in this link will be useful to you. It's not long either; just fourteen seconds. Please take the time to watch it.

Title:"The most inspiring thing ever said..."
http://www.youtube.com/watch?v=bVVsDIv98TA

--All the best,
gravaera.


Lolz. I like it.

But Nathan just try to do what qandrew's said, use BFI.

qandrew wrote:
You are crazy. Use BFI.

Just one question: What is BFI?

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 7:51 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
Valid question, I admit. My first couple of Google attempts turned up empty, too. But a couple of clicks later:

http://www.nu2.nu/bfi/ - a floppy image tool. I assume that's what qandrew meant.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 8:43 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 09, 2009 4:09 am
Posts: 76
Location: Somewhere
Solar wrote:
Valid question, I admit. My first couple of Google attempts turned up empty, too. But a couple of clicks later:

http://www.nu2.nu/bfi/ - a floppy image tool. I assume that's what qandrew meant.


Yes, you are right.
I also want to add that there's a stub BFI with links too. :)


Best regards,
-- Andrew


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Mon Sep 06, 2010 10:18 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
I've done it using BFI, but now after BOCHS boot it up, I got this error:
Code:
prefetch: getHostMemAddr vetoed direct read, pAddr=0x000a5c00


I've done it using this:
Code:
C:\> bfi -f=test.img -o=BOOTABLE.EXE -b=BOOT16.BIN

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Tue Sep 07, 2010 10:49 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
Nathan wrote:
I've done it using this:
Code:
C:\> bfi -f=test.img -o=BOOTABLE.EXE -b=BOOT16.BIN


You need to specify the path of the directory which must contain all files that should be included in the floppy image.
BTW, is BOOT16.BIN a FAT16 boot sector? If yes, that's wrong. FAT12 is better suited for floppies.

Nathan wrote:
that my floppy has a FAT16 partition, not FAT12

Never seen a floppy with partitions. Well, it's possible, but I'm not sure if Windows recognizes that.

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sat Sep 11, 2010 5:08 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 19, 2009 1:48 pm
Posts: 201
Location: Brazil
What I got now was this:
Code:
C:\>bfi -f=test.img -o=STARTUP.BIN -b=BOOT12.BIN path C:\
FindFirstFile() failed
Error code 0x3: The system can not find the path specified


C:\>

I've tried with sub-directories, other drives, but I got the same error. :cry:

_________________
About.Me - Blog


Top
 Profile  
 
 Post subject: Re: Tutorial About BootProg?
PostPosted: Sun Sep 12, 2010 11:07 am 
Offline
Member
Member
User avatar

Joined: Mon Jun 15, 2009 10:01 am
Posts: 311
Location: France
Nathan wrote:
Code:
C:\>bfi -f=test.img -o=STARTUP.BIN -b=BOOT12.BIN path C:\


Replace "path" by the name of the directory.
Example:
Code:
C:\>bfi -f=test.img -o=STARTUP.BIN -b=BOOT12.BIN binaries

"binaries" is the name of the directory which contains all files to include in the image.

_________________
"Open source seems to embrace the dark side of human nature." - Ville Turjanmaa


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group