This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to let i386 pc boot from Hdd
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] How to let i386 pc boot from Hdd
- From: Roman Khvatov <roman at lab dot sun dot mcst dot ru>
- Date: Fri, 23 Mar 2001 18:04:33 +0300 (MSK)
Hi!
> Hi,
>
> I'd like to let i386 pc boot from hard disk drive.
> I have an image of ecos application that can boot from floppy.
> Can I use this image to boot from hdd?
No. You have to modify the boot device parameters in boot procedure
(device number from 0 to 80h, sectors per track and head counters)
After this you can boot from one particular HDD, which parameters you
use to modify boot code.
If you need to boot not only from one HDD and use it for file system too
you need to rewrite boot procedure completly or use some external boot
utility.
Roman.
PS. I've made 2 such utility - one for boot eCos application from MS-DOS,
and second to boot eCos application from MBR (application still must be
an MS-DOS file).