Well, the MBR is special program located at sector 1 head 0, cylinder 0
with datastructure for partition information. The code for detecting
active Partition is 446 bytes long and then follow the partition table
entries (4 of them):
bootabledb ? ; Indicate active partition slice
beginhead db
On Fri, 2006-10-20 at 14:13 +0200, Norbert Remmel wrote:
> Hi all,
>
> found a promising project under www.boodaa.de
>
> There you will find an application called bootdisk2bootstick v0.8.
> This application can create a bootable usb stick using a bootable floppy
> image.
> The only problem is tha
But DOS 7+ is LBA, right? It works like a charm there...
If the partition is at sector 0, ScanForPrimaryPartitions gets 0 as the
startSector. This is in most if not all cases, right?
Well if the tool moves it to sector 1 and tells FreeDOS that the partition
is there, and FreeDOS recognizes the par
Hi all,
found a promising project under www.boodaa.de
There you will find an application called bootdisk2bootstick v0.8.
This application can create a bootable usb stick using a bootable floppy
image.
The only problem is that the usb stick is only 1.44MB in size after
that, but it is bootable.
I
> 1) The partition table is moved from sector 0 to sector 1
> 2) Some code is written to sector 0. This code asks for a password and if
> you fail, you can't boot.
So far so good.
> I found the problem to be in initdisk.c, function ScanForPrimaryPartitions.
>
> What happens is that when the tool