Re: [Freedos-user] Problem installing FreeDOS together with Win98SE using metakern

2008-06-16 Thread Anton Shepelev
Hi again, Robert

I know my problem was confusion between MBR and the boot sector.
But anyway, fdisk and bootmgr should return the same data...

Anton



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Problem installing FreeDOS together with Win98SE using metakern

2008-06-15 Thread Anton Shepelev
Hello all,

   I tried to install FreeDOS 1.0 on the same partition  (C:)  as
   Win98SE using metakern, but ran into the following problem.

   Here's what I did:
   0. Installed FreeDOS on C:

   1. With Win98SE active, I booted from win98 cd and typed:
   sys c:
   fdisk /mbr
  (Using the Windows versions of sys and fdisk)
  to restore the Windows boot sector.

   2. Checked that, indeed, that worked and Win98 booted  instead
  of FreeDOS.

   3. Dumped  the boot sector with  two  programms:  bootmgr  and
  fdisk (included with FreeDOS):
  a) bmWin98SE.bot  b) fdWin98SE.bot

  Upon that I compared these files using the cmp utility  and
  they turned to be different!

   4. Then I booted from the FreeDOS cd and followed the instruc-
  tions for metakern:
  a) copy /b metakern.bin + metaboot.bot + bmWin98SE.bot
 metakern.sys
  b) SYS C:
  c) SYS C: /K metakern.sys

   5. After reboot the metakern showed something like this:
  Bootsectors:
  1. FreeDOS (chained to kernel .sys!)
  2. Unknown operating system

  Pressing 1 booted FreeDOS, but #2 invoked the same menu:
   Booting sector 2... kick
  and the metakern menu appeared again.

   6. Then I replaced bmWin98SE.bot  with  fdWin98SE.bot  (as in
  step 4) and tried again. This time the  second  bootsector
  wasn't listed at all!

   Now I have no idea of how to make it work... Please, help.

Thanks in advance,
Anton







-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Problem installing FreeDOS together with Win98SE using metakern

2008-06-15 Thread Bernd Blaauw
Anton Shepelev schreef:
 Hello all,

I tried to install FreeDOS 1.0 on the same partition  (C:)  as
Win98SE using metakern, but ran into the following problem.

Here's what I did:
0. Installed FreeDOS on C:

1. With Win98SE active, I booted from win98 cd and typed:
sys c:
fdisk /mbr
   (Using the Windows versions of sys and fdisk)
   to restore the Windows boot sector.
   
Start getting back to the original Win98 bootsector. You can write this 
mail, this you got internet access,
thus you can get a Win98 bootdisk from www.bootdisk.com.
Simply do SYS C:
(you might want to prefer to do ATTRIB + R C:\MSDOS.SYS first though as 
that might get overwritten otherwise).
2. Checked that, indeed, that worked and Win98 booted  instead
   of FreeDOS.

3. Dumped  the boot sector with  two  programms:  bootmgr  and
   fdisk (included with FreeDOS):
   a) bmWin98SE.bot  b) fdWin98SE.bot
   
I think we got some versions of SYS for that (3.5, from unstable kernel 
versions), but also BOOTFIX program for example
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/bootfix14.zip
Be sure to be at C:\ before running the program.

   Upon that I compared these files using the cmp utility  and
   they turned to be different!
   
strange. did a FC /B file1.ext file2.ext ?
4. Then I booted from the FreeDOS cd and followed the instruc-
   tions for metakern:
   a) copy /b metakern.bin + metaboot.bot + bmWin98SE.bot
  metakern.sys
   b) SYS C:
   c) SYS C: /K metakern.sys
   
be sure to have exact paths ( C:\METAKERN.SYS for example instead of 
METAKERN.SYS) and check filesizes. Metakern.bin is 1512 bytes, 
Metaboot.bot 256bytes, windows bootsector dump also 512 bytes,
thus resulting in a C:\METAKERN.SYS of 2560 bytes. Your SYS commands are 
correct though there's the option of using /BOOTONLY to prevent any file 
copies.
Are you sure your bootsector filenames are 8 characters? looks like 9 to 
me (bm win 98 se)
Now I have no idea of how to make it work... Please, help.

 Thanks in advance,
 Anton
   
It should work, let us know if you're able to get back to original 
situation (win98 booting) and if you run into trouble again.

Bernd

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Problem installing FreeDOS together with Win98SE using metakern

2008-06-15 Thread Anton Shepelev
Hi again!

   Dear, Bernd, everything had been fine  (paths  and  filesizes)
   but  one  thing:  fdisk  and  bootmgr  were  returning   wrong
   bootsector dumps!

   I got it back to Win98SE, and invoked bootfix.  Unfortunately,
   bootfix returns everything in a text (ascii) format, so I  had
   to use FreePascal (from the FreeDOS distro!) to write a little
   program that  read  the  bootfix's  output,  parsed  it  and
   outputted the binary bootsector image to another file.

   Then I did everything as before and it worked (from the second
   attempt for some reason, maybe I had made a typo somewhere).

   .. I had spend quite a lot of time trying to figure  out  what
   was wrong, so I think this  tip  (to  use  nothing  else  than
   bootfix to get the bootsector) should be incorporated into the
   FreeDOS installer's howto and/or metakern's manual.

   .. And bootfix should be endowed with an option to output the
   bootsector in the plain binary format.

Many, many thanks
Anton

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user