Re: [Freedos-user] Help: Boot FreeDOS from the second pri. partition

2012-03-27 Thread Lee Eric
Hi all,

I have fixed that by using chain.c32 and append "boot 2
freedos=KERNEL.SYS". It boots FreeDOS successfully.

Thanks.

Eric

On Tue, Mar 27, 2012 at 6:27 AM, teo gum  wrote:
> Don't know to answer direcly your question, but know another way to boot
> freedos with grub4dos from any partition and to boot linux from under
> freedos with the same grub4dos. The last is what use every day.
> If the first partition (possible in an USB as well), you install freedos in
> the usual way, then run grub with grub.exe and grldr and write your options
> to load linux from the second (or other) partition (or drive). Only freedos
> must be in the low memory. If something is over 640 kb, grub will hung.
> One can also install grub4dos into MBR and simply copy kernel command.com
> etc on any partition you want and write your options to load any thing you
> want, freedos as well. first partition of the first drive will be (hd0,0)
> second partition of the second drive - (hd1,1) etc. this is root.
> chainloader /kernel.sys - this is the command. boot.
> Only not sure this will be a "correct" DOS, not a specialist :)
>
> 2012/3/26 Lee Eric 
>>
>> Hi all,
>>
>> I'm going to create an USB flash disk. Here's the partition structure.
>>
>>   Device Boot      Start         End      Blocks   Id  System
>> /dev/sdb1   *           1      537911      268955+  83  Linux
>> /dev/sdb2          537912     1598793      530441    c  W95 FAT32 (LBA)
>>
>> /dev/sdb1 I used for installing boot loader(syslinux) and other small
>> standalone utilities. /dev/sdb2 is used for FreeDOS and I have copied
>> necessary files to the partition. Here's my syslinux.cfg in /dev/sdb1.
>>
>> UI menu.c32
>> TIMEOUT 300
>> default localboot
>>
>> MENU TITLE System Rescue Flash Disk
>>
>> LABEL memtest
>>        MENU LABEL Memtest86+ (4.20)
>>        KERNEL memtest
>>
>> LABEL freedos
>>        MENU LABEL FreeDOS 1.1
>>        COM32 chain.c32
>>        APPEND hd0 2 freedos=KERNEL.SYS
>>
>> LABEL reboot
>>        MENU LABEL Cold Reboot
>>        COM32 reboot.c32
>>
>> LABEL local
>>        MENU LABEL Boot from local hard drive
>>        LOCALBOOT 0x80
>>
>> But when select freedos label it reports "Failed to load the boot
>> file". I remember that FreeDOS can be installed on other partitions.
>>
>> Can anyone tell me how to fix that?
>>
>> Thanks.
>>
>> Eric
>>
>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Freedos-user mailing list
>> Freedos-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Help: Boot FreeDOS from the second pri. partition

2012-03-26 Thread teo gum
Don't know to answer direcly your question, but know another way to boot
freedos with grub4dos from any partition and to boot linux from under
freedos with the same grub4dos. The last is what use every day.
If the first partition (possible in an USB as well), you install freedos in
the usual way, then run grub with grub.exe and grldr and write your options
to load linux from the second (or other) partition (or drive). Only freedos
must be in the low memory. If something is over 640 kb, grub will hung.
One can also install grub4dos into MBR and simply copy kernel
command.cometc on any partition you want and write your options to
load any thing you
want, freedos as well. first partition of the first drive will be (hd0,0)
second partition of the second drive - (hd1,1) etc. this is root.
chainloader /kernel.sys - this is the command. boot.
Only not sure this will be a "correct" DOS, not a specialist :)

2012/3/26 Lee Eric 

> Hi all,
>
> I'm going to create an USB flash disk. Here's the partition structure.
>
>   Device Boot  Start End  Blocks   Id  System
> /dev/sdb1   *   1  537911  268955+  83  Linux
> /dev/sdb2  537912 1598793  530441c  W95 FAT32 (LBA)
>
> /dev/sdb1 I used for installing boot loader(syslinux) and other small
> standalone utilities. /dev/sdb2 is used for FreeDOS and I have copied
> necessary files to the partition. Here's my syslinux.cfg in /dev/sdb1.
>
> UI menu.c32
> TIMEOUT 300
> default localboot
>
> MENU TITLE System Rescue Flash Disk
>
> LABEL memtest
>MENU LABEL Memtest86+ (4.20)
>KERNEL memtest
>
> LABEL freedos
>MENU LABEL FreeDOS 1.1
>COM32 chain.c32
>APPEND hd0 2 freedos=KERNEL.SYS
>
> LABEL reboot
>MENU LABEL Cold Reboot
>COM32 reboot.c32
>
> LABEL local
>MENU LABEL Boot from local hard drive
>LOCALBOOT 0x80
>
> But when select freedos label it reports "Failed to load the boot
> file". I remember that FreeDOS can be installed on other partitions.
>
> Can anyone tell me how to fix that?
>
> Thanks.
>
> Eric
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Help: Boot FreeDOS from the second pri. partition

2012-03-26 Thread Rugxulo
Hi,

On Mon, Mar 26, 2012 at 3:03 AM, Lee Eric  wrote:
>
> I'm going to create an USB flash disk. Here's the partition structure.
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1      537911      268955+  83  Linux
> /dev/sdb2          537912     1598793      530441    c  W95 FAT32 (LBA)
>
> ...
>
> But when select freedos label it reports "Failed to load the boot
> file". I remember that FreeDOS can be installed on other partitions.
>
> Can anyone tell me how to fix that?

Silly question since it's hard to tell, but did you make sure that
it's a primary, active partition? Or maybe SYS.COM wrote the boot
sector wrong? (Or maybe your BIOS needs / doesn't need an MBR on USB?)
Also, I think you can maybe? override the LBA detection with SYS.COM.
You may have to fiddle with some SYS.COM settings. It's kinda a
crapshoot.

Sorry I'm not more help, this kinda of stuff is arcane and tediously
difficult (to me).

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Help: Boot FreeDOS from the second pri. partition

2012-03-26 Thread Lee Eric
Hi all,

I'm going to create an USB flash disk. Here's the partition structure.

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *   1  537911  268955+  83  Linux
/dev/sdb2  537912 1598793  530441c  W95 FAT32 (LBA)

/dev/sdb1 I used for installing boot loader(syslinux) and other small
standalone utilities. /dev/sdb2 is used for FreeDOS and I have copied
necessary files to the partition. Here's my syslinux.cfg in /dev/sdb1.

UI menu.c32
TIMEOUT 300
default localboot

MENU TITLE System Rescue Flash Disk

LABEL memtest
MENU LABEL Memtest86+ (4.20)
KERNEL memtest

LABEL freedos
MENU LABEL FreeDOS 1.1
COM32 chain.c32
APPEND hd0 2 freedos=KERNEL.SYS

LABEL reboot
MENU LABEL Cold Reboot
COM32 reboot.c32

LABEL local
MENU LABEL Boot from local hard drive
LOCALBOOT 0x80

But when select freedos label it reports "Failed to load the boot
file". I remember that FreeDOS can be installed on other partitions.

Can anyone tell me how to fix that?

Thanks.

Eric

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user