Hi Georg,

> I gave up on Grub plus DOS after I locked myself out from my PC.

The usual way to fix this is to boot e.g. Linux from CD to edit
the GRUB config and/or to reinstall the GRUB binary. There also
is a limited interactive feature in GRUB, but it usually is not
convenient at all to "manually" boot by typing 10 GRUB commands.

> To get DOS to work with Grub you have to get it to mask any non-
> FAT partitions so DOS feels it is on the first partition.

For FreeDOS, this is not necessary. However, DOS looks at the boot
sector of the boot partition to find out where that is. If your
DOS partition is not a primary partition (one of the main four),
then that is likely to fail. This is a limitation of our FreeDOS
boot sector, so tuning SYS could potentially provide workarounds.
Other DOS versions have similar issues.

Another problem is that DOS expects config files to be on the
partition which DOS calls C: (when booting from harddisk), so
if you have other FAT partitions, some confusion can develop
regarding which FAT-based OS should read config files where.

This is why FreeDOS prefers fdconfig.sys instead of config.sys
when it finds both on the same drive: It helps with dual-boot.

> Grub will install itself in the first disk sectors and it will stay there 
> even if you delete a Linux partition later...

You can also install it to the boot sector of your Linux partition,
but various config tools may assume that you have indeed installed
GRUB "globally" to your MBR and beginning of the whole harddisk, so
it is recommended to do like the config tools assume. Unless there
is another boot menu in the MBR, then you better put GRUB elsewhere.

Regards, Eric



------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to