Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-17 Thread Rugxulo
Hi again,

On Fri, Nov 9, 2018 at 3:36 PM stecdose  wrote:
>
> Okay, maybe this would work for you to create a bootable FreeDOS stick
> ...

(Huh, that link just says to use RUFUS. But it also assumes you
want/need to download the "full" FD 1.2, which isn't strictly
necessary.)

Yet another tool is this (basically "dd" for Windows):

* https://sourceforge.net/projects/win32diskimager/

> The SYS tool is in freedos CD image (ISO, unpack with 7zip or similar).

Only "7z" [sic] unpacks .iso (last I checked), and I've never
personally tried rebuilding that variant with DJGPP (since it needs
.so support, and I'm not super familiar with .dxe). I haven't looked
at Mik's 16.02 build sources (assuming they're even sane), esp. since
he included .RAR support (sources available but non-free). For now,
"7za" was good enough for my simple needs. But you can probably hack
"7z" to build and halfway work somehow. (Oh, you can also mount .ISO
via SHSUCDHD or whatever it's called, but I've never really tried
that.)

But you don't need to jump through hoops just for SYS, grab it here:

* 
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/base/kernel.zip

(See "BIN/SYS.COM", but yes, you also eventually need some kernel
[KERNEL.SYS] and shell [COMMAND.COM], though you can copy manually
later without "sys /k" or whatever, e.g. "/BOOTONLY".)

* http://help.fdos.org/en/hhstndrd/base/sys.htm

N.B. Although I have literally zero experience with it, UEFI needs CSM
(compatibility support module) for BIOS-based systems like DOS. But
not all UEFI systems have it available (and eventually none will).


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-17 Thread Rugxulo
Hi,

(yes, I know I'm late in replying)

On Fri, Nov 9, 2018 at 3:07 PM Sean Liming  wrote:
>
> Booting WinPE from a USB flash disk. I rather not say anything more about 
> board or project.

Okay, and we'll be sure not to assume it's some secretive government
organization.   ;-)

> I remember sys. What zip file is the sys.exe utility contains in?

SYS.COM is usually bundled with the kernel proper. But that won't run
under Windows.

> There is also a download for FreeDOS lite with a FD12LITE.img file. What is 
> this file how does it get installed? Is this another CD image?

# file *.img
FD12LITE.img: DOS/MBR boot sector, FREE-DOS Beta 0.9 MBR; partition 1
: ID=0x4, active, start-CHS (0x0,1,1), end-CHS (0x1f6,1,63),
startsector 63, 63315 sectors

Seeing as how it also comes with a small .vmdk file, it's meant to be
used under VMware (or compatible hypervisor, probably also VBox or
QEMU). So that's not what you want here.

If you're running Windows, the best way (IMHO) to create bootable USB
jump drive is via RUFUS:   https://rufus.ie/en_IE.html

It includes (bare bones) FreeDOS, so you can easily install that, then
later just delete and/or copy files "ad libitum" to fill out what you
want (e.g. external tools or compilers or whatever). It always works
well for me!


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread Sean Liming
This BIOS cycles through both. First UEFI then legacy. I was able to boot a 
FreeDOS USB disk no problem.

Spending the day with the client, I have convinced them a FreeDOS USB flash 
disk is a better approach and avoids a hack implementation to doing something 
from WinPE. Thanks everyone.

Regards,

Sean Liming
Owner
Annabooks
Cell: 858-774-3176

-Original Message-
From: Pär Moberg  
Sent: Friday, November 9, 2018 5:33 PM
To: Discussion and general questions about FreeDOS. 

Subject: Re: [Freedos-user] Silently Install FreeDos from WinPE

I must ask, does your computer system have BIOS (Legacy boot) or only UEFI/EFI?
FreeDOS does not support UEFI, only BIOS since FreeDOS uses BIOS for the built 
in drivers, for example for hard-drive access.
If your system support BIOS then it would be easy to use syslinux(usb 
drive)/isolinux(optical media) and memdisk (populated ramdisk from
image) to do what you want without the need to install anything to the 
hard-drive (but you can if you want to).
//Pär
On Sat, 10 Nov 2018 at 00:31, Eric Auer  wrote:
>
>
> Hi Sean, some general ideas:
>
> > Thank you for the response. I have a client that wants to up their 
> > system BIOS and OS with a single WinPE disk. The Windows BIOS 
> > utilities are 32-bit and will not run in a 64-bit WinPE image. 
> > System only supports booting to 64-bit WinPE. The DOS command line 
> > BIOS utility runs in FreeDOS
>
> If you have WinPE 64 installed and want to install another OS, even if 
> that destroys your WinPE 64, then you could use one of those "install 
> Linux from inside Windows" tools. Some of them even come with 
> pre-configured settings for installing DOS.
>
> The idea is that they take some install disk (e.g. ISO) image for the 
> new system and insert files and a boot loader to start the install 
> process when restarting Windows. I have used such tools to install 
> Linux on a netbook without a CD-ROM drive.
>
> If you do NOT want to destroy your Windows, then you probably only 
> want a way to boot first WinPE 32 and second DOS from any suitable 
> boot medium, for example an USB flash stick. This is supported even 
> for DOS and people on this list can give you some suggestions for 
> convenient methods to make boot sticks.
> I have used FreeDOS and Windows 3 with bootable USB sticks in some old 
> days, but now tools for it have become nicer :-)
>
> Regards, Eric
>
>
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread Pär Moberg
I must ask, does your computer system have BIOS (Legacy boot) or only UEFI/EFI?
FreeDOS does not support UEFI, only BIOS since FreeDOS uses BIOS for
the built in drivers, for example for hard-drive access.
If your system support BIOS then it would be easy to use syslinux(usb
drive)/isolinux(optical media) and memdisk (populated ramdisk from
image) to do what you want without the need to install anything to the
hard-drive (but you can if you want to).
//Pär
On Sat, 10 Nov 2018 at 00:31, Eric Auer  wrote:
>
>
> Hi Sean, some general ideas:
>
> > Thank you for the response. I have a client that wants to up their system
> > BIOS and OS with a single WinPE disk. The Windows BIOS utilities are 32-bit
> > and will not run in a 64-bit WinPE image. System only supports booting to
> > 64-bit WinPE. The DOS command line BIOS utility runs in FreeDOS
>
> If you have WinPE 64 installed and want to install another OS,
> even if that destroys your WinPE 64, then you could use one of
> those "install Linux from inside Windows" tools. Some of them
> even come with pre-configured settings for installing DOS.
>
> The idea is that they take some install disk (e.g. ISO) image
> for the new system and insert files and a boot loader to start
> the install process when restarting Windows. I have used such
> tools to install Linux on a netbook without a CD-ROM drive.
>
> If you do NOT want to destroy your Windows, then you probably
> only want a way to boot first WinPE 32 and second DOS from any
> suitable boot medium, for example an USB flash stick. This is
> supported even for DOS and people on this list can give you
> some suggestions for convenient methods to make boot sticks.
> I have used FreeDOS and Windows 3 with bootable USB sticks in
> some old days, but now tools for it have become nicer :-)
>
> Regards, Eric
>
>
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread Eric Auer


Hi Sean, some general ideas:

> Thank you for the response. I have a client that wants to up their system
> BIOS and OS with a single WinPE disk. The Windows BIOS utilities are 32-bit
> and will not run in a 64-bit WinPE image. System only supports booting to
> 64-bit WinPE. The DOS command line BIOS utility runs in FreeDOS

If you have WinPE 64 installed and want to install another OS,
even if that destroys your WinPE 64, then you could use one of
those "install Linux from inside Windows" tools. Some of them
even come with pre-configured settings for installing DOS.

The idea is that they take some install disk (e.g. ISO) image
for the new system and insert files and a boot loader to start
the install process when restarting Windows. I have used such
tools to install Linux on a netbook without a CD-ROM drive.

If you do NOT want to destroy your Windows, then you probably
only want a way to boot first WinPE 32 and second DOS from any
suitable boot medium, for example an USB flash stick. This is
supported even for DOS and people on this list can give you
some suggestions for convenient methods to make boot sticks.
I have used FreeDOS and Windows 3 with bootable USB sticks in
some old days, but now tools for it have become nicer :-)

Regards, Eric




___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread stecdose
Okay, maybe this would work for you to create a bootable FreeDOS stick 
https://www.trishtech.com/2017/07/how-to-create-bootable-freedos-usb-drive-in-windows/


If you're system locks out other boot-devices than your WinPE you'll 
really have to go with this I think. The SYS tool is in freedos CD image 
(ISO, unpack with 7zip or similar). You also need command.com and 
kernel.sys in the same folder with SYS.


But as I said, I dont know if this works from within Windows.


Nils

On 11/09/2018 10:05 PM, Sean Liming wrote:


Booting WinPE from a USB flash disk. I rather not say anything more 
about board or project.


I remember sys. What zip file is the sys.exe utility contains in?

There is also a download for FreeDOS lite with a FD12LITE.img file. 
What is this file how does it get installed? Is this another CD image?


Regards,

Sean Liming

Owner

Annabooks

Cell: 858-774-3176

*From:* stecdose 
*Sent:* Friday, November 9, 2018 12:25 PM
*To:* freedos-user@lists.sourceforge.net
*Subject:* Re: [Freedos-user] Silently Install FreeDos from WinPE

On 11/09/2018 09:15 PM, Sean Liming wrote:

Thank you for the response. I have a client that wants to up their
system BIOS and OS with a single WinPE disk. The Windows BIOS
utilities are 32-bit and will not run in a 64-bit WinPE image.
System only supports booting to 64-bit WinPE. The DOS command line
BIOS utility runs in FreeDOS

What kind of WinPE disk is this? CDROM?
Would you tell us the model of that client? So maybe we could have a 
look at the manual. I am not totally sure, if I got it all right.



I would like the have the WinPE disk install FreeDOS to the
internal drive and then copy all the update files over to the
disk. From there, they can reboot and perform the update.
Autoexec.bat makes the calls to run the BIOS utility. They then
can boot into the WinPE disk to update the OS on the same internal
drive. It is not clear how to install FreeDOS from WinPE.



Is there a Windows command line utility that can install FreeDOS
on a hard drive?

*If it works* from windows, SYS command from FreeDOS. This is all to 
install the basic system+shell (command.com) to a partition. This is 
gives a bootable DOS-System (since early days of DOS). All other stuff 
needed by user can be copied where ever the user likes. In your case 
SYS'ing a partition and copying the BIOS utility should be enough.
I would also copy edit.exe to edit autoexec.bat/config.sys in case 
something is wrong with your configuration.


Nils





___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread Sean Liming
Booting WinPE from a USB flash disk. I rather not say anything more about
board or project.

 

I remember sys. What zip file is the sys.exe utility contains in?

 

There is also a download for FreeDOS lite with a FD12LITE.img file. What is
this file how does it get installed? Is this another CD image?

 

Regards,

 

Sean Liming

Owner

Annabooks

Cell: 858-774-3176

 

From: stecdose  
Sent: Friday, November 9, 2018 12:25 PM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] Silently Install FreeDos from WinPE

 

On 11/09/2018 09:15 PM, Sean Liming wrote:



Thank you for the response. I have a client that wants to up their system
BIOS and OS with a single WinPE disk. The Windows BIOS utilities are 32-bit
and will not run in a 64-bit WinPE image. System only supports booting to
64-bit WinPE. The DOS command line BIOS utility runs in FreeDOS

What kind of WinPE disk is this? CDROM?
Would you tell us the model of that client? So maybe we could have a look at
the manual. I am not totally sure, if I got it all right.




I would like the have the WinPE disk install FreeDOS to the internal drive
and then copy all the update files over to the disk. From there, they can
reboot and perform the update. Autoexec.bat makes the calls to run the BIOS
utility. They then can boot into the WinPE disk to update the OS on the same
internal drive. It is not clear how to install FreeDOS from WinPE.





Is there a Windows command line utility that can install FreeDOS on a hard
drive?

*If it works* from windows, SYS command from FreeDOS. This is all to install
the basic system+shell (command.com) to a partition. This is gives a
bootable DOS-System (since early days of DOS). All other stuff needed by
user can be copied where ever the user likes. In your case SYS'ing a
partition and copying the BIOS utility should be enough. 
I would also copy edit.exe to edit autoexec.bat/config.sys in case something
is wrong with your configuration.

Nils

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread stecdose

On 11/09/2018 09:15 PM, Sean Liming wrote:


Thank you for the response. I have a client that wants to up their 
system BIOS and OS with a single WinPE disk. The Windows BIOS 
utilities are 32-bit and will not run in a 64-bit WinPE image. System 
only supports booting to 64-bit WinPE. The DOS command line BIOS 
utility runs in FreeDOS



What kind of WinPE disk is this? CDROM?
Would you tell us the model of that client? So maybe we could have a 
look at the manual. I am not totally sure, if I got it all right.


I would like the have the WinPE disk install FreeDOS to the internal 
drive and then copy all the update files over to the disk. From there, 
they can reboot and perform the update. Autoexec.bat makes the calls 
to run the BIOS utility. They then can boot into the WinPE disk to 
update the OS on the same internal drive. It is not clear how to 
install FreeDOS from WinPE.




Is there a Windows command line utility that can install FreeDOS on a 
hard drive?


*If it works* from windows, SYS command from FreeDOS. This is all to 
install the basic system+shell (command.com) to a partition. This is 
gives a bootable DOS-System (since early days of DOS). All other stuff 
needed by user can be copied where ever the user likes. In your case 
SYS'ing a partition and copying the BIOS utility should be enough.
I would also copy edit.exe to edit autoexec.bat/config.sys in case 
something is wrong with your configuration.


Nils
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread Sean Liming
Thank you for the response. I have a client that wants to up their system
BIOS and OS with a single WinPE disk. The Windows BIOS utilities are 32-bit
and will not run in a 64-bit WinPE image. System only supports booting to
64-bit WinPE. The DOS command line BIOS utility runs in FreeDOS

 

I would like the have the WinPE disk install FreeDOS to the internal drive
and then copy all the update files over to the disk. From there, they can
reboot and perform the update. Autoexec.bat makes the calls to run the BIOS
utility. They then can boot into the WinPE disk to update the OS on the same
internal drive. It is not clear how to install FreeDOS from WinPE. Is there
a Windows command line utility that can install FreeDOS on a hard drive?

 

Regards,

 

Sean Liming

Owner

Annabooks

Cell: 858-774-3176

 

From: stecdose  
Sent: Friday, November 9, 2018 12:59 AM
To: freedos-user@lists.sourceforge.net
Subject: Re: [Freedos-user] Silently Install FreeDos from WinPE

 

The is no described way to do what you want (or at least no that I know of).
But is should be possible.

Windows is able to create DOS partitions and format them (FAT16 for
FreeDOS). If Windows does not want to create the partition you need, there
are several free partition utilites for Windows. The DOS tool SYS copies the
bootloader, maybe it works in Win9.x/WinME from inside Windows? I dont know.

On the CD ISO there is the full set of packages. I think 7zip and tools like
that support opening ISOs. The are a lot of zips - every program is a
package. There is also a package installer program "FDIMPLES".

Unpacking all those zips by hand could be a pain, but with "proper tools"
(make em all blue in explorer, right click, extract to..., all at once) it
should not be that hard. Default installation path is C:\FREEDOS.

I just want you to ask, why are trying to do this? Are you having
difficulties to boot that system from CD/Floppy? If you have problems
booting a CD there are freedos boot floppies, as well as "PLOP Bootmanager".
This one is on a floppy and allows to choose USB and CDROM. This works on a
Pentium 133 board for me with a PCI-USB2 card.

Hope you find a solution,
Nils

On 11/09/2018 09:05 AM, Sean Liming wrote:

 

Is there a method to silently install FreeDos from WinPE to an internal
drive of a computer?

 

All I see from the downloads are .img files i.e. fs12lite.img. How does this
get installed? 

 

Regards,

 

Sean 

 








___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
<mailto:Freedos-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/freedos-user

 

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Silently Install FreeDos from WinPE

2018-11-09 Thread stecdose
The is no described way to do what you want (or at least no that I know 
of). But is should be possible.


Windows is able to create DOS partitions and format them (FAT16 for 
FreeDOS). If Windows does not want to create the partition you need, 
there are several free partition utilites for Windows. The DOS tool SYS 
copies the bootloader, maybe it works in Win9.x/WinME from inside 
Windows? I dont know.


On the CD ISO there is the full set of packages. I think 7zip and tools 
like that support opening ISOs. The are a lot of zips - every program is 
a package. There is also a package installer program "FDIMPLES".


Unpacking all those zips by hand could be a pain, but with "proper 
tools" (make em all blue in explorer, right click, extract to..., all at 
once) it should not be that hard. Default installation path is C:\FREEDOS.


I just want you to ask, why are trying to do this? Are you having 
difficulties to boot that system from CD/Floppy? If you have problems 
booting a CD there are freedos boot floppies, as well as "PLOP 
Bootmanager". This one is on a floppy and allows to choose USB and 
CDROM. This works on a Pentium 133 board for me with a PCI-USB2 card.


Hope you find a solution,
Nils

On 11/09/2018 09:05 AM, Sean Liming wrote:


Is there a method to silently install FreeDos from WinPE to an 
internal drive of a computer?


All I see from the downloads are .img files i.e. fs12lite.img. How 
does this get installed?


Regards,

Sean





___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user