i am working on MeeGo on BeagleBoard and i'd like to simplify the installation as far as possible. So
i wonder if there's a script somewhere that can automate the somewhat tricky formatting of a given sd card.
I am noticed that you don't calculate the cylinder according to the
size of the disk.
Does the cylinder determined implicitly according to the header and
sector you specified?
Thinks...
Yeah, the parameters to create the first 'fat' partition are pretty
unique.. It's more off, these settings seem to work best with the
internal bootrom, then what is optimized for the end user's specific
sd card..
I'd like to suggest you to consider systems like Slackware Linux.
When formatting the vfat partition the scripts you posted use
mkfs.vfat but my OS (Slackware 13.1) hasn't that command .
I replaced mkfs.vfat in the (Angstrom) script with mkdosfs.
I'm thinking of doing a 'whereis on mkfs.vfat' if not found, then try
'whereis mkdsofs'.. to detect this issue.
Or are you thinking a differnet way? i'd like to keep away from
detecting every possible distribution, as there is only a few tools
actually being used in the script..
I am noticed that you don't calculate the cylinder according to the
size of the disk.
Does the cylinder determined implicitly according to the header and
sector you specified?
1) there is no disk
2) there are no cylinders
3) the boot rom does not care about the C/H/S values in the partition table.