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] 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 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-17 Thread Michael Reichenbach
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


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

2008-05-17 Thread MegaBrutal
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


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

2008-05-15 Thread Jim Hall
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. But a while back, I was a big
fan of SystemCommander by V Communications (now, Avanquest.) Looks
like the price has gone up ($70) but it allows you to boot like what
you are trying to do.

But SystemCommander isn't the only option. Any reasonably
sophisticated boot loader should do what you want to do.

-jh


On Thu, May 15, 2008 at 3:44 PM, MegaBrutal <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've installed FreeDOS a half year ago. I chose the option to update
> boot.ini for Windows XP, so the FreeDOS boot sector is stored in
> "freedos.bss", and I could chose FreeDOS from Windows XP's boot menu.
>
> Since that, things have changed. I've got a new hard drive, and made
> it to be the primary HDD (IDE master), and my old HDD is now the
> secondary one (IDE slave). Of course, drive letters have changed. My
> old C: drive became J: - then I thought it's ok to add this line to my
> actual boot.ini:
> J:\FREEDOS.BSS="FreeDOS"
>
> But it doesn't work, FreeDOS won't boot. Well, it would be nice if I
> could keep my FreeDOS on the old HDD, and I wouldn't need to reinstall
> it to my new one. So I'd like to use my old FreeDOS installation. Any
> ideas?
>
> Thanks,
> MegaBrutal
>
> -
> 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-15 Thread kd4d
Hi:

Most boot loaders will allow you to do this.  I like GAG because it is GPL and easy to set up.  See http://gag.sourceforge.net for more information.

I always have to read the manual to use grub, but it is also capable of doing this.  There are many others.

Mark
 Original Message Subject: [Freedos-user] Boot FreeDOS from secondary HDDDate: Thu May 15 16:44:15 EDT 2008From: MegaBrutal To: freedos-user@lists.sourceforge.net;Hi all,

I've installed FreeDOS a half year ago. I chose the option to update
boot.ini for Windows XP, so the FreeDOS boot sector is stored in
"freedos.bss", and I could chose FreeDOS from Windows XP's boot menu.

Since that, things have changed. I've got a new hard drive, and made
it to be the primary HDD (IDE master), and my old HDD is now the
secondary one (IDE slave). Of course, drive letters have changed. My
old C: drive became J: - then I thought it's ok to add this line to my
actual boot.ini:
J:\FREEDOS.BSS="FreeDOS"

But it doesn't work, FreeDOS won't boot. Well, it would be nice if I
could keep my FreeDOS on the old HDD, and I wouldn't need to reinstall
it to my new one. So I'd like to use my old FreeDOS installation. Any
ideas?

Thanks,
MegaBrutal

-
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