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: Roman Khvatov <roman at lab dot sun dot mcst dot ru>
- Subject: Re: [ECOS] How to let i386 pc boot from Hdd
- From: Teng Chee Wan Philip <tcheewan at dso dot org dot sg>
- Date: Sat, 24 Mar 2001 09:00:02 +0800 (SGT)
- Cc: ecos-discuss at sources dot redhat dot com
- References: <200103231504.SAA25784@vol1.lab.sun.mcst.ru>
Hi, Roman
Can you elaborate? Like John, I am also encountering this problem. I am
thinking of putting the application, data etc into the same harddisk and get it
to boot up and run.
Thanks a lot.
regards,
Philip Teng
DSO National Labs
Quoting Roman Khvatov <roman@lab.sun.mcst.ru>:
> 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).
>