Re: [Freedos-user] Boot FreeDOS from secondary HDD

2008-05-27 Thread MegaBrutal
Hi,

I thought it should work with normal GRUB as well, but it didn't. Now
I have GRUB4DOS as well (actually now I have 3 boot-loaders in chain -
I need to make clean things someday).

It almost works! GRUB4DOS loads freedos.bss well, so FreeDOS starts.
But it sees the FAT32 partition of my primary HDD as drive C:, and
sees the FAT32 partition of my secondary HDD (where FreeDOS is
installed - however it was my primary HDD before) as drive D:. So it
actually asks for the location of the command interpreter, and of
course, fdconfig.sys and fdauto.bat won't get executed.

Now what can I do to make FreeDOS see D: as C: and vica-versa? Or how
can I tell it to look for it's stuffs on drive D:? So I'd like to swap
those drives (but only for FreeDOS) or I'd like to tell FreeDOS to use
drive D: instead.

Thanks,
MegaBrutal


2008/5/17 Michael Reichenbach [EMAIL PROTECTED]:
 MegaBrutal schrieb:
 2008/5/15 Jim Hall [EMAIL PROTECTED]:
 You need a boot loader to do this. I run Linux on my PC, so my boot
 loader is GNU GRUB. You can try that.

 How can I configure GRUB to load freedos.bss ? I've tried to load it
 as a kernel, but it doesn't work. Or should I try to load kernel.sys ?

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


 I am using grub4dos.

 # find and load KERNEL.SYS from FreeDOS
 title find and load KERNEL.SYS from FreeDOS
 find --set-root /KERNEL.SYS
 chainloader /KERNEL.SYS

 ...works for me very well.

 Chainloading another harddisk is also possible. Loading a bootsector.bin
 also.

 If you struggle somewhere ask again, I am currently quite familiar with
 multi booting.

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Boot FreeDOS from secondary HDD

2008-05-27 Thread Eric Auer

Hi!

 It almost works! GRUB4DOS loads freedos.bss well, so FreeDOS starts.
 But it sees the FAT32 partition of my primary HDD as drive C:, and
 sees the FAT32 partition of my secondary HDD (where FreeDOS is
 installed - however it was my primary HDD before) as drive D:. So it
 actually asks for the location of the command interpreter, and of
 course, fdconfig.sys and fdauto.bat won't get executed.

You could put fdconfig.sys on your new C: and edit it to point to
D: for all filenames. Then you only need one FreeDOS file on your
primary harddisk and can boot the rest from the secondary disk.

 Now what can I do to make FreeDOS see D: as C: and vica-versa?

If you want to keep the primary disk totally clean from
FreeDOS (not even fdconfig.sys on it) then you would have
to tell GRUB4DOS to swap the drives entirely. This means
that GRUB4DOS will have to stay in RAM all the time...
The option / method is called mapping, I believe.

You could also tell GRUB4DOS to modify the partition
table on the fly and make the partition on the primary
disk hidden before it actually boots DOS. Then you
would also have to tell it to un-hide it again before
you boot the other OS on the primary disk, of course.

 Or how can I tell it to look for it's stuffs on drive D:?

You can tell it by putting a fdconfig.sys on C: :-). Then
you only need one FreeDOS file on C: and can tell FreeDOS
that all other stuff is on D: :-).

Eric



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Boot FreeDOS from secondary HDD

2008-05-27 Thread Michael Reichenbach
Hey,

I am not aware of your whole configuration and partitions but maybe this 
helps already.

grub legacy (and therefore also grub4dos) has a function called map. 
With map you can virtually exchange partitions and harddisks. So it 
could be easy to fix the mess with the drive letters.

See
http://www.gnu.org/software/grub/manual/html_node/map.html

-mr

MegaBrutal schrieb:
 Hi,
 
 I thought it should work with normal GRUB as well, but it didn't. Now
 I have GRUB4DOS as well (actually now I have 3 boot-loaders in chain -
 I need to make clean things someday).
 
 It almost works! GRUB4DOS loads freedos.bss well, so FreeDOS starts.
 But it sees the FAT32 partition of my primary HDD as drive C:, and
 sees the FAT32 partition of my secondary HDD (where FreeDOS is
 installed - however it was my primary HDD before) as drive D:. So it
 actually asks for the location of the command interpreter, and of
 course, fdconfig.sys and fdauto.bat won't get executed.
 
 Now what can I do to make FreeDOS see D: as C: and vica-versa? Or how
 can I tell it to look for it's stuffs on drive D:? So I'd like to swap
 those drives (but only for FreeDOS) or I'd like to tell FreeDOS to use
 drive D: instead.
 
 Thanks,
 MegaBrutal
 
 
 2008/5/17 Michael Reichenbach [EMAIL PROTECTED]:
 MegaBrutal schrieb:
 2008/5/15 Jim Hall [EMAIL PROTECTED]:
 You need a boot loader to do this. I run Linux on my PC, so my boot
 loader is GNU GRUB. You can try that.
 How can I configure GRUB to load freedos.bss ? I've tried to load it
 as a kernel, but it doesn't work. Or should I try to load kernel.sys ?

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user


 I am using grub4dos.

 # find and load KERNEL.SYS from FreeDOS
 title find and load KERNEL.SYS from FreeDOS
 find --set-root /KERNEL.SYS
 chainloader /KERNEL.SYS

 ...works for me very well.

 Chainloading another harddisk is also possible. Loading a bootsector.bin
 also.

 If you struggle somewhere ask again, I am currently quite familiar with
 multi booting.

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user

 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-user
 
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] grub4dos [advertisement]

2008-05-27 Thread Jim Hall
Hi. I know you are not a grub4dos developer, but I have been unable to
discover the email address for the developers of this project. I need
to have an account on gna.org, but I do not have an account there (nor
do I want one.) Would you mind forwarding my email to the developers
for me?

Thanks for helping!
-jh



On Tue, May 20, 2008 at 1:55 PM, Michael Reichenbach
[EMAIL PROTECTED] wrote:
 Hey Jim!

 Jim Hall schrieb:
 Hi. I just grabbed the latest version of Grub4dos to look at it. You
 need to distribute source code for this, at the same time you release
 the binary. You acknowledge that Grub4dos is a fork of Grub, so must
 follow the GNU GPL. But you do not abide by it here.

 Section 3 of the GNU GPL (see COPYING in your grub4dos-0.4.3.zip file) 
 says:

 [snip]


 Sorry if my posting was a bit confusing so you thought that I am a
 grub4dos developer.

 To clarify this:
 I am not a grub4dos developer as in 20.05.2008.
 I am only satisfied end user and also have no privilege contact with them.

 If you want the grub4dos developers to know that please mail them
 directly, use the mailinglist or the chinese forum.

 -mr


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] grub4dos [advertisement]

2008-05-27 Thread Jim Hall
Oops, sorry. I meant to send that to [EMAIL PROTECTED]
instead of the list.

Please ignore.

-jh


On Tue, May 27, 2008 at 9:47 AM, Jim Hall [EMAIL PROTECTED] wrote:
 Hi. I know you are not a grub4dos developer, but I have been unable to
 discover the email address for the developers of this project. I need
 to have an account on gna.org, but I do not have an account there (nor
 do I want one.) Would you mind forwarding my email to the developers
 for me?

 Thanks for helping!
 -jh



 On Tue, May 20, 2008 at 1:55 PM, Michael Reichenbach
 [EMAIL PROTECTED] wrote:
 Hey Jim!

 Jim Hall schrieb:
 Hi. I just grabbed the latest version of Grub4dos to look at it. You
 need to distribute source code for this, at the same time you release
 the binary. You acknowledge that Grub4dos is a fork of Grub, so must
 follow the GNU GPL. But you do not abide by it here.

 Section 3 of the GNU GPL (see COPYING in your grub4dos-0.4.3.zip file) 
 says:

 [snip]


 Sorry if my posting was a bit confusing so you thought that I am a
 grub4dos developer.

 To clarify this:
 I am not a grub4dos developer as in 20.05.2008.
 I am only satisfied end user and also have no privilege contact with them.

 If you want the grub4dos developers to know that please mail them
 directly, use the mailinglist or the chinese forum.

 -mr



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] some questions

2008-05-27 Thread Larry
I think that in dos, a call by direct reference is a
transfer, and there will be no return.

You should be able to reference with a call
statement, like call newsub, which will result in a
return to the calling routine after the called batch
file is completed.

--- Halász Sándor Viktor [EMAIL PROTECTED] wrote:

  2008/05/23 14:20 +0200, Michael Reichenbach
 
 2) When I call from within autoexec.bat to test.bat
 file then after
 test.bat is done it won`t jump back to autoexec.bat,
 also if exit is the
 last command. 
 
 It is a weakness of DOS batch files that such code
 does not return:
 given A.BAT,
 
 B
 dir
 
 and B.BAT,
 
 cd ..
 
 , the B in A.BAT is enough to start B.BAT, but A
 is _replaced_, not
 suspended. To suspend it is needful to use CALL:
 
 call B
 dir
 
 .
 
 

-
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio
 2008.

http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Freedos-user mailing list
 Freedos-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/freedos-user
 



  


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user