Re: [Freedos-devel] New tools: CONCAT, OSCHECK (for installer)

2004-07-21 Thread Bernd Blaauw
Aitor Santamaría Merino schreef:
A bit offtopic, well, I don't know much about the NT loader, but it 
always surprised to me how fragile is the whole installation of a 
robust operating system like WinNT can be easily trashed in a few 
seconds, by just SYS:-ing whenever it loads from an existing MS-DOS 
(read Win9X/ME)...
Does anyone know if there is some recovery in this case? (and you 
don't have a backup of the bootsector, or a GHOST, or whatever).
Recovery console only, I think.
*to install it when Windows is still running properly: winnt32.exe /cmdcons
*to run it if not installed: boot from installation cdrom, and select 
repair.

only useful commands are FIXBOOT and FIXMBR.
not even an EDIT for changing boot.ini if partition layout changed, for 
example. To allow that, a registry change is needed :(

bootsector is very easy to destroy and very difficult to recreate..
Bernd
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] New tools: CONCAT, OSCHECK (for installer)

2004-07-21 Thread Aitor Santamaría Merino
Bernd Blaauw escribió:
still SYS should have some additional possibilities, like WARNING the 
user.
I remember my SYS C:..while C: contained Win2000 bootloader..bye bye 
Win2000 installation :(
A bit offtopic, well, I don't know much about the NT loader, but it 
always surprised to me how fragile is the whole installation of a robust 
operating system like WinNT can be easily trashed in a few seconds, by 
just SYS:-ing whenever it loads from an existing MS-DOS (read Win9X/ME)...
Does anyone know if there is some recovery in this case? (and you don't 
have a backup of the bootsector, or a GHOST, or whatever).

Aitor
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] New tools: CONCAT, OSCHECK (for installer)

2004-07-21 Thread Bernd Blaauw
Eric Auer schreef:
In addition, OSCHECK searches the boot sector for typical kernel file names.
When such a string is found, OSCHECK looks for the corresponding file on disk.
Both on-screen messages and returned errorlevels give you detailled information
about which FORMAT/SYS tool was probably used and whether the disk seems to
be bootable and for which OS.
 

verry nice! however still not safe to SYS C: if a bootsector is 
analysed but contains a strange name.
Say, a KERNEL2.SYS.
difficult to add "read all filenames from root, and search if there's a 
reference to at least one of them in the bootsector" ?
that makes the difference between:
1) "unidentified bootsector, no related kernel file found, overwriting 
by FreeDOS bootsector"
2) "unidentified bootsector, related kernel file(s) found, not touching 
anything"

PS: I think using OSCHECK in a batch script might be more useful than
adding the functionality of OSCHECK to SYS - the command line syntax of
SYS is already complex enough (because it contains SYS, with some possible
parameter overrides and boot sector file writing etc., as well as SYS CONFIG
which is a tool to set config variables in a kernel binary).
 

still SYS should have some additional possibilities, like WARNING the user.
I remember my SYS C:..while C: contained Win2000 bootloader..bye bye 
Win2000 installation :(

OSCHECK tool is very verbose/specialised and very useful for batchfiles.
However, a subset of its functionality (like dumping bootsector, and 
user-protection) can optionally be integrated into SYS, just in a more 
generic way.
(the "existing non-freedos bootsector + corresponding kernel file(s) 
found, are you sure you want to overwrite bootsector by freedos 
bootsector? [Y/N]")

Bernd
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] New tools: CONCAT, OSCHECK (for installer)

2004-07-21 Thread Arkady V.Belousov
Hi!

21-Июл-2004 06:02 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:

EA> Hi, I wrote 2 tools which might be useful for the installer:
EA> http://www.coli.uni-sb.de/~eric/stuff/soft/specials/
EA> tiny-file-append-concat.zip
EA> Usage: "concat somefile.xyz" will append the contents of somefile.xyz to
EA> the end of target.bin (name "target.bin" is hardcoded).

 copy/b target.bin+somefile.xyz




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
___
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel