Re: installation problems

Bart Oldeman <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Wed, 30 Oct 2002, Andreas K. Foerster wrote:

> BTW. the trick with swapping the drives works with Win95. Some time ago
> I had my Win on the second drive and it worked!
> Pity that it doesn't work with FreeDOS.

Right, the swapping trick puts resident code somewhere in memory according
to the lilo docs but I'm not sure where. FreeDOS might well overwrite it,
I just haven't investigated.

> I fiddled around with it and found a surprising solution...
> Ty syntax for lilo is simply:
>
> other = /boot/bootsect.fd
>       Label=FreeDOS
>
> Yes, you really needn't mention the drive at all! It's all in the file.
> Now it works! :-)

Fine! Yes I haven't thought of that. But it works because lilo simply
remembers the sector where bootsect.fd is stored. So you'll need to re-run
lilo if you would ever run a defragger or something similar.

> P.S.:
> Would be nice if one could boot FreeDOS from a deliberate drive in the
> future, and if it seeks the config.sys on the drive, it is loaded from.

It can boot from the 2nd hd, believe me, people have done it. You probably
encountered an obscure bug :)

About config.sys, this is more difficult than you might think. The kernel
cannot assume that BIOS drive 0x81 corresponds to drive D: for instance.
Patches are welcome though ;-)

Bart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.