Jump to content

deomsh

Member
  • Posts

    546
  • Joined

  • Last visited

  • Days Won

    2
  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by deomsh

  1. @Goodmaneuver Is there a special reason why you use Media Player Classic - Home Cinema vs 1.4.2499.0?
  2. Thanks a lot. Indeed, the second dialog wasn't typo-proof. I made corrections to the batch-files above.
  3. Today I tested my rd2hdf16.g4b without the --unsafe-boot switch. Doesn't make any difference, rdbase still has to be set to a minimum of 37MB, or DISKEDIT will find somewhere in (hd0) the content of the batchfile, together with the command-line of the batchfile. *Somehow* Grub4Dos needs more than 32MB for safe operation with my g4b batch-file.
  4. In that case your custom.inf doesn't seem to work. I tested Jaclaz suggestion to edit MSDISP.INF, worked for me, but tested on Win98se only. If you like you can try following. Remove the lines to your custom.inf from MSBATCH.INF, but maintain [System]. Take a copy of MSDISP.INF and edit in the way I will show you. Copy the edited MSDISP.INF together with VBEMP.DRV and VBE.VXD to the folder where your CAB's are (maybe you must make a new ISO?) Install Windows again. Editing MSDISP.INF -------------------------------------------------- ;ADD TO ; Manufacturers ; --------------------------------------------------------- [Manufacturer] %AnaPa% =Mfg.VBEMP ;COMMENT OUT AND ADD TO ; Driver Sections ; --------------------------------------------------------- [Mfg.std] ;;%*PNP0900.DeviceDesc%=VGA,*PNP0900 ; Standard Graphics Adapter (VGA) ;;%*PNP0917.DeviceDesc%=VGA,*PNP0917 ; VGA ;;%SuperVGA.DriverDesc%=SVGA ; Super VGA ;;%PCI\CC_0300.DeviceDesc%=VGA,,PCI\CC_0300 ; Standard PCI Graphics Adapter (VGA) ;;%PCI\CC_0301.DeviceDesc%=XGA,,PCI\CC_0301 ; Standard PCI Graphics Adapter (XGA) ;;%PCI\CC_0380.DeviceDesc%=PCIVID,,PCI\CC_0380 ; Standard PCI Graphics Adapter [Mfg.VBEMP] %AnaPa%=VBE %*PNP0900.DeviceDesc%=VBE,*PNP0900 ; Standard Graphics Adapter (VGA) %*PNP0917.DeviceDesc%=VBE,*PNP0917 ; VGA %SuperVGA.DriverDesc%=VBE ; Super VGA %PCI\CC_0300.DeviceDesc%=VBE,,PCI\CC_0300 ; Standard PCI Graphics Adapter (VGA) %PCI\CC_0301.DeviceDesc%=VBE,,PCI\CC_0301 ; Standard PCI Graphics Adapter (XGA) %PCI\CC_0380.DeviceDesc%=VBE,,PCI\CC_0380 ; Standard PCI Graphics Adapter ; ADD TO: ; Install Sections ; --------------------------------------------------------- ; -------------- VBEMP [VBE] CopyFiles=VBE.Copy ; Uses VBEMP driver DelReg=Prev.DelReg AddReg=VBE.AddReg LogConfig=VBE.LogConfig [VBE.LogConfig] ConfigPriority=HARDWIRED IOConfig=3B0-3BB IOConfig=3C0-3DF MemConfig=A0000-AFFFF MemConfig=B8000-BFFFF MemConfig=C0000-C7FFF,D0000-D7FFF,E0000-E5FFF,E0000-E7FFF [VBE.Copy] vbemp.drv,,,12 vbe.vxd,,,12 [Prev.DelReg] HKR,,Ver HKR,,DevLoader HKR,DEFAULT HKR,MODES HKR,CURRENT [VBE.AddReg] HKR,,Ver,,4.0 HKR,,DevLoader,,*vdd HKR,DEFAULT,Mode,,"8,640,480" HKR,DEFAULT,drv,,vbemp.drv HKR,DEFAULT,vdd,,"*vdd,*vflatd" HKR,DEFAULT,minivdd,,vbe.vxd HKR,DEFAULT,RefreshRate,,-1 HKR,DEFAULT,DDC,,1 HKR,DEFAULT,ExtModeSwitch,,0 ;disables full screen extended modes in a window? HKR,"MODES\1\640,480",drv,,framebuf.drv HKR,"MODES\1\640,480",vdd,,*vdd HKR,"MODES\4\640,480",drv,,vga.drv HKR,"MODES\4\640,480",vdd,,*vdd HKR,"MODES\4\800,600",drv,,supervga.drv HKR,"MODES\4\800,600",vdd,,*vdd HKR,"MODES\8\320,200" HKR,"MODES\8\320,240" HKR,"MODES\8\320,400" HKR,"MODES\8\400,300" HKR,"MODES\8\512,384" HKR,"MODES\8\640,350" HKR,"MODES\8\640,400" HKR,"MODES\8\640,480" HKR,"MODES\8\720,400" HKR,"MODES\8\720,480" HKR,"MODES\8\720,576" HKR,"MODES\8\800,480" HKR,"MODES\8\800,600" HKR,"MODES\8\1024,600" HKR,"MODES\8\1024,768" HKR,"MODES\8\1152,864" HKR,"MODES\8\1280,800" HKR,"MODES\8\1280,960" HKR,"MODES\8\1280,1024" HKR,"MODES\8\1400,1050" HKR,"MODES\8\1600,1200" HKR,"MODES\8\1792,1344" HKR,"MODES\8\1856,1392" HKR,"MODES\8\1920,1440" HKR,"MODES\8\832,624" HKR,"MODES\8\1366,768" HKR,"MODES\8\1440,900" HKR,"MODES\8\1600,900" HKR,"MODES\8\1920,1080" HKR,"MODES\8\1920,1200" HKR,"MODES\8\2048,1536" HKR,"MODES\8\2560,1440" HKR,"MODES\8\2560,1600" HKR,"MODES\8\1280,600" HKR,"MODES\8\1280,720" HKR,"MODES\8\1280,768" HKR,"MODES\8\1360,768" HKR,"MODES\8\1680,1050" HKR,"MODES\15\320,200" HKR,"MODES\15\320,240" HKR,"MODES\15\320,400" HKR,"MODES\15\400,300" HKR,"MODES\15\512,384" HKR,"MODES\15\640,350" HKR,"MODES\15\640,400" HKR,"MODES\15\640,480" HKR,"MODES\15\720,400" HKR,"MODES\15\720,480" HKR,"MODES\15\720,576" HKR,"MODES\15\800,480" HKR,"MODES\15\800,600" HKR,"MODES\15\1024,600" HKR,"MODES\15\1024,768" HKR,"MODES\15\1152,864" HKR,"MODES\15\1280,800" HKR,"MODES\15\1280,960" HKR,"MODES\15\1280,1024" HKR,"MODES\15\1400,1050" HKR,"MODES\15\1600,1200" HKR,"MODES\15\1792,1344" HKR,"MODES\15\1856,1392" HKR,"MODES\15\1920,1440" HKR,"MODES\15\832,624" HKR,"MODES\15\1366,768" HKR,"MODES\15\1440,900" HKR,"MODES\15\1600,900" HKR,"MODES\15\1920,1080" HKR,"MODES\15\1920,1200" HKR,"MODES\15\2048,1536" HKR,"MODES\15\2560,1440" HKR,"MODES\15\2560,1600" HKR,"MODES\15\1280,600" HKR,"MODES\15\1280,720" HKR,"MODES\15\1280,768" HKR,"MODES\15\1360,768" HKR,"MODES\15\1680,1050" HKR,"MODES\16\320,200" HKR,"MODES\16\320,240" HKR,"MODES\16\320,400" HKR,"MODES\16\400,300" HKR,"MODES\16\512,384" HKR,"MODES\16\640,350" HKR,"MODES\16\640,400" HKR,"MODES\16\640,480" HKR,"MODES\16\720,400" HKR,"MODES\16\720,480" HKR,"MODES\16\720,576" HKR,"MODES\16\800,480" HKR,"MODES\16\800,600" HKR,"MODES\16\1024,600" HKR,"MODES\16\1024,768" HKR,"MODES\16\1152,864" HKR,"MODES\16\1280,800" HKR,"MODES\16\1280,960" HKR,"MODES\16\1280,1024" HKR,"MODES\16\1400,1050" HKR,"MODES\16\1600,1200" HKR,"MODES\16\1792,1344" HKR,"MODES\16\1856,1392" HKR,"MODES\16\1920,1440" HKR,"MODES\16\832,624" HKR,"MODES\16\1366,768" HKR,"MODES\16\1440,900" HKR,"MODES\16\1600,900" HKR,"MODES\16\1920,1080" HKR,"MODES\16\1920,1200" HKR,"MODES\16\2048,1536" HKR,"MODES\16\2560,1440" HKR,"MODES\16\2560,1600" HKR,"MODES\16\1280,600" HKR,"MODES\16\1280,720" HKR,"MODES\16\1280,768" HKR,"MODES\16\1360,768" HKR,"MODES\16\1680,1050" HKR,"MODES\24\320,200" HKR,"MODES\24\320,240" HKR,"MODES\24\320,400" HKR,"MODES\24\400,300" HKR,"MODES\24\512,384" HKR,"MODES\24\640,350" HKR,"MODES\24\640,400" HKR,"MODES\24\640,480" HKR,"MODES\24\720,400" HKR,"MODES\24\720,480" HKR,"MODES\24\720,576" HKR,"MODES\24\800,480" HKR,"MODES\24\800,600" HKR,"MODES\24\1024,600" HKR,"MODES\24\1024,768" HKR,"MODES\24\1152,864" HKR,"MODES\24\1280,800" HKR,"MODES\24\1280,960" HKR,"MODES\24\1280,1024" HKR,"MODES\24\1400,1050" HKR,"MODES\24\1600,1200" HKR,"MODES\24\1792,1344" HKR,"MODES\24\1856,1392" HKR,"MODES\24\1920,1440" HKR,"MODES\24\832,624" HKR,"MODES\24\1366,768" HKR,"MODES\24\1440,900" HKR,"MODES\24\1600,900" HKR,"MODES\24\1920,1080" HKR,"MODES\24\1920,1200" HKR,"MODES\24\2048,1536" HKR,"MODES\24\2560,1440" HKR,"MODES\24\2560,1600" HKR,"MODES\24\1280,600" HKR,"MODES\24\1280,720" HKR,"MODES\24\1280,768" HKR,"MODES\24\1360,768" HKR,"MODES\24\1680,1050" HKR,"MODES\32\320,200" HKR,"MODES\32\320,240" HKR,"MODES\32\320,400" HKR,"MODES\32\400,300" HKR,"MODES\32\512,384" HKR,"MODES\32\640,350" HKR,"MODES\32\640,400" HKR,"MODES\32\640,480" HKR,"MODES\32\720,400" HKR,"MODES\32\720,480" HKR,"MODES\32\720,576" HKR,"MODES\32\800,480" HKR,"MODES\32\800,600" HKR,"MODES\32\1024,600" HKR,"MODES\32\1024,768" HKR,"MODES\32\1152,864" HKR,"MODES\32\1280,800" HKR,"MODES\32\1280,960" HKR,"MODES\32\1280,1024" HKR,"MODES\32\1400,1050" HKR,"MODES\32\1600,1200" HKR,"MODES\32\1792,1344" HKR,"MODES\32\1856,1392" HKR,"MODES\32\1920,1440" HKR,"MODES\32\832,624" HKR,"MODES\32\1366,768" HKR,"MODES\32\1440,900" HKR,"MODES\32\1600,900" HKR,"MODES\32\1920,1080" HKR,"MODES\32\1920,1200" HKR,"MODES\32\2048,1536" HKR,"MODES\32\2560,1440" HKR,"MODES\32\2560,1600" HKR,"MODES\32\1280,600" HKR,"MODES\32\1280,720" HKR,"MODES\32\1280,768" HKR,"MODES\32\1360,768" HKR,"MODES\32\1680,1050" ; ADD TO: ; User visible strings ; --------------------------------------------------------- [Strings] AnaPa = "VBE Miniport - Standard PCI Graphics Adapter (VGA)" Have fun!
  5. I have finished my batchfile for FAT32 (to make a Grub4Dos Ramdrive, map it to a harddrive and format with FAT32). In comparison with my FAT16 batchfile: skipped mapping of first attached real hdd to last hd (if needed set elsewhere). Further: Asked inputs time limited. rdbase set higher to avoid problems during execution of the g4b-batchfile. Sectors per FAT no longer a constant, but depend on disksize. Set to the same amount as FORMAT.EXE would set them. Writing backup of Bootsectors. Choice to write valid Volume Label to first Directory entry (compatible with MS-DOS7.1, Win98se AND with Grub4Dos vol --write). ---------------------------------------------------------------------------------------------------------------------------------------------- rd2hdf32.g4b ---------------------------------------------------------------------------------------------------------------------------------------------- !BAT # Make FAT32 hdd-image: active first partition; range 33-3400 MB debug off set /a SIZE=%1 if %SIZE%=="" && goto :validate if %SIZE%>=3401 && goto :validate if %SIZE%<=32 && goto :validate goto :makeimg :asksize echo Disk size in range 33-3400, integer numbers only echo Actual image size will be adjusted to cylinder boundaries! set /a SIZE= set /p:60 /a SIZE=Enter disk size and press ENTER in 60 seconds: if %SIZE%=="" && goto :validate if %SIZE%>=3401 && goto :validate if %SIZE%<=32 && goto :validate goto :makeimg :validate echo Input is not a valid number, try again set /p:60 CONTINUE=Try again? choose Y or N and press ENTER: if /I "%CONTINUE%"=="Y" && goto :asksize goto :eof :makeimg if %SIZE%<=3400 && set /a heads=128 if %SIZE%<=2016 && set /a heads=64 if %SIZE%<=1008 && set /a heads=32 if %SIZE%<=504 && set /a heads=16 set /a sectmax=%SIZE% * 2048 set /a sectrack=63 set /a secthidd=63 set /a cylinder=%sectmax% / %heads% / %sectrack% set /a sectbal=%cylinder% * %heads% * %sectrack% set /a sectpart=%sectbal% - %secthidd% set /a rdsize=%sectbal% * 512 # Set rdbase >=50MB. Be aware: Grub4Dos can write the batchfile to (rd) set rdbase=52428800 set /A partid=0x0B map --rd-base=%rdbase% map --rd-size=%rdsize% map --unsafe-boot --heads=%heads% --sectors-per-track=%sectrack% (rd)+1 (hd0) map --hook partnew --active (hd0,0) %partid% %secthidd% %sectpart% # Create FAT32 on (hd0,0) rootnoverify (hd0,0) set jump=xEB\x58\x90 set oemname=GRUB4DOS set bytpersec=x00\x02 # Set sectors/cluster according to Microsoft Standards set /a ptstart=*0x82A8 set /a ptlength=*0x82B0 set /a disksize=%ptlength% if %disksize%>=66601 && set secpclus=x01 if %disksize%>=532841 && set secpclus=x08 set mediabyt=xF8 set sectrack= set sectrack=x3F\x00 set /A headslow=%heads% set numheads=%headslow:~1,3%\x00 # Math for sectors per FAT, FAT32 double! set /a secclus=0%secpclus% set /a dsksize=%ptlength% set /a tmpval1=%dsksize% - 32 set /a tmpval2=256 * %secclus% + 2 set /a tmpval2=%tmpval2% / 2 set /a sectpfat=%tmpval1% + %tmpval2% - 1 / %tmpval2% set /A sectpfat=%sectpfat% if "%sectpfat:~5,1%">="0" && set fatsz32=x%sectpfat:~4,2%\x%sectpfat:~2,2%\x00\x00 && goto :mirroring if "%sectpfat:~4,1%">="0" && set fatsz32=x%sectpfat:~3,2%\x0%sectpfat:~2,1%\x00\x00 :mirroring # enable mirroring all: 0x0000, disable: 0x0080 set extflags=x00\x00 set volumeid=x78\x56\x34\x12 set magicbyte=x55\xAA # Set FAT32: FAT start chains set writefat=%mediabyt%\xFF\xFF\x0F\xFF\xFF\xFF\x0F\xFF\xFF\xFF\x0F # Write FAT32 sector 0 # Write Bootcode Jump (3 bytes) write ()+1 \%jump% # Write FAT32 Bios Parameter Block # Write oemname(8) bytpersec(2) secpclus(1) rsvdsect(2) write --offset=0x03 ()+1 %oemname%\%bytpersec%\%secpclus%\x20\x00 # Write numfats(1) rootentr(2) totsect(2) mediabyt(1) fatsz16(2) sectrack(2) numheads(2) write --offset=0x10 ()+1 \x02\x00\x00\x00\x00\%mediabyt%\x00\x00\%sectrack%\%numheads% # Write hiddsec(4) from MBR dd if=(hd0)+1 of=()+1 bs=1 count=4 skip=0x1C6 seek=0x01C # Write totsec32(4) from MBR. If Volume >= 65536 sectors ! dd if=(hd0)+1 of=()+1 bs=1 count=4 skip=0x1CA seek=0x020 # Write FAT32 Extended Boot Record, first part Write fatsz32(4) extflags(2) fsver(2) rootclus(4) fsinfo(2) bkbootsc(2) reserved(12) write --offset=0x24 ()+1 \%fatsz32%\%extflags%\x00\x00\x02\x00\x00\x00\x01\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 # Write FAT32 Extended Boot Record, second part # Write drvnum(1) rsrv(1) extbtsign(1) volumeid(4) vollabel(11) filsystype(8) write --offset=0x40 ()+1 \x80\x00\x29\%volumeid%NO\x20\NAME\x20\x20\x20\x20FAT32\x20\x20\x20 # Write Magic Bytes(2) sector 0 write --offset=0x1FE ()+1 \%magicbyte% # Write FAT32 sector 1 write ()1+1 RRaA write --offset=0x1E4 ()1+1 rrAa\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 # Write Magic Bytes(4) sector 1 write --offset=0x1FC ()1+1 \x00\x00\%magicbyte% # Write Magic Bytes(2) sector 2 write --offset=0x1FE ()2+1 \%magicbyte% # Write backup FAT32 (normally to sectors 6-8) dd if=()+1 of=()6+1 bs=1 count=512 skip=0x000 seek=0x000 dd if=()1+1 of=()7+1 bs=1 count=512 skip=0x000 seek=0x000 dd if=()2+1 of=()8+1 bs=1 count=512 skip=0x000 seek=0x000 # Write FAT's set /a offsetf1=32 write ()%offsetf1%+1 \%writefat% set /a offsetf2=%sectpfat% + %offsetf1% write ()%offsetf2%+1 \%writefat% # Write Volume Label to first Directory entry clear echo Volume Label maximum 11 signs set /p:60 /u VOLLABEL=Write Volume Label and press Enter in 60 seconds: set /a startdir=%offsetf2% + %sectpfat% write ()%startdir%+1 \xE5\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x21 if /i "%VOLLABEL%"=="" && goto :novollab set /u VOLLABEL=%VOLLABEL:~0,11% write ()%startdir%+1 %VOLLABEL% :novollab clear echo FAT sub-type: FAT32 echo Number of FAT's: 2 set /a secpclus=0%secpclus% echo Sectors per cluster: %secpclus% set /a sectpfat= %sectpfat% echo Sectors per FAT: %sectpfat% set /a clusters=%ptlength% - %sectpfat% - %sectpfat% - 32 / %secpclus% echo Total clusters: %clusters% echo FAT start sector: 32 set /a drvspace=%clusters% * %secpclus% / 2 set /a mbspace=%drvspace% / 1024 echo %drvspace% KB total disk space (%mbspace% MB rounded down). debug 1 echo uuid () vol () pause --wait=60 To continue anyway: press a key.... debug 0 :eof ---------------------------------------------------------------------------------------------------------------------------------------------- Sadly I have not much possibilities to attach files, only 20KB left......... Update: I found a small bug if less than 11 characters where given in the Volume Label part. Windows SCANDSKW.EXE didn't like this and wrote as correction a "-" for an empty place. I cured this to pre-write ten "20"'s instead of zero's to the first directory entry ("E5" is not changed, is needed for compatibility with Grub4Dos vol --write. Otherwise "error 15: File not found" if the first directory entry is empty). I added a disk size command-line argument. Use: rd2hdf32.g4b SIZE (in MB). Example: rd2hdf32.g4b 400 will make (hd0,0) 400MB in memory, FAT32 formatted. Size is rounded down to cylinder boundaries. Update 2 --rd-base set to 50MB; set max SIZE to 3400 (MB); edited one #comment.
  6. Has to do with the so called "System Arena" in win9x memory architecture. Since vcache is using it too, sometimes smalller is better. See https://www.pc-experience.de/wbb2/thread.php?threadid=1903 In *some* win95 KB (cannot find it anymore) MaxFileCache=8192 is mentioned as value to solve stability problems. If MinFileCache is not set, MaxFileCache should > 1/24 of memory (RLoew's Rule of Thumb - he didn't mention MinFileCache needed). According to my experimental findings lower values are possible, but always MinFileCache <= MaxFileCache. In my "Smartdrive Revisited"-investigations I found a vcache of value 1024 (=1MB) as "best" (not related to win98 Setup, but to some problems using a win3.1 HD audio driver). In my USB-project the extreme low vcache value has especially the purpose to minimize System Arena footprint if Win98se is running on a Memdrive. My standard Win98se Setup values, set in SYSTEM.INI after copying files: [386Enh] MaxPhysPage=20000 ConservativeSwapfileUsage=1 DMABufferSize=64 [vcache] MinFileCache=1024 MaxFileCache=1024
  7. Hm, the Bios Setup of your GA board doesn't look very promising. I assume you run the SATA ssd in IDE mode. And what about the extreme low vcache settings I mentioned in my USB project? If *something* is mapped in memory you can try Jack Ellis XMGR.SYS instead of HIMEMX.EXE (who gave you already an extra reboot).
  8. Sometimes Opera's kiosk mode is helpfull in case of msfn. Looks same as in my Android smartphone.
  9. I agree that memory problem can be unsolvable. Once I tried (from USB drive) MS-DOS7.1 on a Gigabyte board, if I remember well a Z170 species. Didn't work! I am a happy user of my 2010 Asrock 960GM-GS3 AM3+ board (with FX 6100/DDR3 1600), compatible with everything except Win98se ACPI.
  10. I should have written "install W9x without PCI-bus first, if succesfull try your luck with wizard New Hardware." After installing the PCI bus and reboot once you will have full control which Device to install and which not. Do not reboot after installing PCI devices, first check Device Manager (view Connection) for double entrances. Especially the non-PCI VGA device should be deleted manually before reboot. But you have already red my "Exploring SETUP /P I;S=detectbus......"-Members project. The /P S= switch is very badly documented. All entrances in MSDET.INF can be used to skip during installation (seperated with , ).
  11. You should try SETUP /P I;S=detectbus to install W9x without PCI-bus.
  12. I know about set /a and set /A, but I am not so far with the "%" and" ~%"-"thing". I am happy with my simple if-statement in the case you mentioned, but I am afraid I will have to use the more advanced methods I want to read out Number of Heads from the MBR, adding 1 and convert to \X..-byte values to be able to use write to write the value directly in the Boot sector. Not to speak from Sectors/track with 6-bits value in the mixed Cylinder-Sectors/track-byte. That's the main reason I choose one batch file. It´s partition alignment to cylinders as far as I understand this subject (see error 108 in https://www.win.tue.nl/~aeb/partitions/partition_types-2.html ). I don´t think it´s a bug and it should only be a problem in very rare cases AND if one wants to use Partition Magic (in my case for error check, the program cannot be used to partition Grub4Dos disk in memory because of the stupid reboot feature). In following text I compare the output of Partinfo. The first is the example you was so kind to give me in your post of januari 31. Th second is the result of repartitioning the same drive in memory with Fdisk. Ther third is the output of my batch. The maximum disksize is 256 MB, like in your example. PARTINFO.EXE in case of partnew ===================================================================== Disk 0: 261 Cylinders, 32 Heads, 63 Sectors/Track. The BIOS supports INT 13h extensions for this drive. ========================== Partition Tables ========================= Partition -----Begin---- ------End----- Start Num Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects --------- - ---- ---- ---- ---- -- ---- ---- ---- --------- --------- 0 0 80 0 1 1 06 260 2 2 63 524225 Error #108: Partition didn't end on cylinder boundary. ucEndHead expected to be 31, not 2. Error #108: Partition didn't end on cylinder boundary. ucEndSector expected to be 63, not 2. ============================================================================== Disk 0: 256.9 Megabytes ============================ Partition Information =========================== Volume Partition Partition Start Total Letter:Label Type Status Size MB Sector # Sector Sectors ------------- --------------- -------- ------- --------- - --------- --------- FAT16B Pri,Boot 256.0 0 0 63 524225 ---------------------------------------------------------------------------------------------- PARTINFO.EXE in case of FDISK ===================================================================== Disk 0: 261 Cylinders, 32 Heads, 63 Sectors/Track. The BIOS supports INT 13h extensions for this drive. ========================== Partition Tables ========================= Partition -----Begin---- ------End----- Start Num Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects --------- - ---- ---- ---- ---- -- ---- ---- ---- --------- --------- 0 0 80 0 1 1 06 259 31 63 63 524097 ============================================================================== Disk 0: 256.9 Megabytes ============================ Partition Information =========================== Volume Partition Partition Start Total Letter:Label Type Status Size MB Sector # Sector Sectors ------------- --------------- -------- ------- --------- - --------- --------- FAT16B Pri,Boot 255.9 0 0 63 524097 Free Space Pri 1.0 None - 524160 2016 ---------------------------------------------------------------------------------------------- PARTINFO.EXE in case of rd2hdfat16.g4b (using 32 instead of 16 Heads in case of 256MB) ===================================================================== Disk 0: 260 Cylinders, 32 Heads, 63 Sectors/Track. The BIOS supports INT 13h extensions for this drive. ========================== Partition Tables ========================= Partition -----Begin---- ------End----- Start Num Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects --------- - ---- ---- ---- ---- -- ---- ---- ---- --------- --------- 0 0 80 0 1 1 06 259 31 63 63 524097 ============================================================================== Disk 0: 255.9 Megabytes ============================ Partition Information =========================== Volume Partition Partition Start Total Letter:Label Type Status Size MB Sector # Sector Sectors ------------- --------------- -------- ------- --------- - --------- --------- C:NO NAME FAT16B Pri,Boot 255.9 0 0 63 524097 Thanks to Grub4Dos simple integer calculator I had an easy job to adjust the given the given disksize (in MB) to multiples of Heads * Sectors/track. I know it's some number calculated of date/time while formatting. But for a Memdrive Volume ID I thought it's not realy needed and to be too much work. Or am I wrong? My next purpose is rd2hdf32.g4b.
  13. After the problems with the DOSBox images, I used Jaclaz' guidelines to make a Hard disk from a Grub4Dos Ramdrive. It seems that Partnew doesn't write to cylinder boundaries. Although Windows 98SE Setup doesn't complain, my MS-DOS util's do. So I wrote a correction in a Grub4Dos batch file. Since the Grub Util FAT seems only good for floppies, I wrote some batch lines to format the drive to FAT16 too. It's al in ONE file. Will make and format ALWAYS (hd0,0), first attached real hdd will be mapped to last hd. --------------------------------------------------------------------------------------------------------------------------- rd2hdf16.g4b --------------------------------------------------------------------------------------------------------------------------- !BAT # Make FAT16 hdd-image: active first partition; range 33-2047 MB debug off set /a SIZE=%1 if %SIZE%=="" && goto :validate if %SIZE%>=2048 && goto :validate if %SIZE%<=32 && goto :validate goto :makeimg :asksize set /a SIZE= echo Disk size in range 33-2047, integer numbers only echo Actual image size will be adjusted to cylinder boundaries! set /p:60 /a SIZE=Enter disk size and press ENTER in 60 seconds: if %SIZE%=="" && goto :validate if %SIZE%>=2048 && goto :validate if %SIZE%<=32 && goto :validate goto :makeimg :validate echo Input is not a valid number, try again set /p:60 CONTINUE=Try again? choose Y or N and press ENTER: if /I "%CONTINUE%"=="Y" && goto :asksize goto :eof :makeimg if %SIZE%<=2047 && set /a heads=128 if %SIZE%<=2016 && set /a heads=64 if %SIZE%<=1008 && set /a heads=32 if %SIZE%<=504 && set /a heads=16 set /a sectmax=%SIZE% * 2048 set /a sectrack=63 set /a secthidd=63 set /a cylinder=%sectmax% / %heads% / %sectrack% set /a sectbal=%cylinder% * %heads% * %sectrack% set /a sectpart=%sectbal% - %secthidd% set /a rdsize=%sectbal% * 512 # Set rdbase >=50MB. Be aware: Grub4Dos can write the batchfile to (rd) set rdbase=52428800 set /A partid=0x06 map --rd-base=%rdbase% map --rd-size=%rdsize% map --unsafe-boot --heads=%heads% --sectors-per-track=%sectrack% (rd)+1 (hd0) map --hook partnew --active (hd0,0) %partid% %secthidd% %sectpart% # Create FAT16 on (hd0,0) rootnoverify (hd0,0) set jump=xEB\x3C\x90 set oemname=GRUB4DOS set bytpersec=x00\x02 # Set sectors/cluster according to win95 standards set /a ptstart=*0x82A8 set /a ptlength=*0x82B0 set /a disksize=%ptlength% * 512 if %disksize%<=2147483648 && set secclust=x40 if %disksize%<=1073741824 && set secclust=x20 if %disksize%<=536870912 && set secclust=x10 if %disksize%<=268435456 && set secclust=x08 if %disksize%<=134217728 && set secclust=x04 # if %disksize%>=33554432 && set secclust=x02 # if %disksize%<=16777216 && set secclust=x02 # if %disksize%<=4299162 && set secclust=x01 set mediabyt=xF8 set fatsz16=x00\x01 set sectrack= set sectrack=x3F\x00 set /A headslow=%heads% set numheads=%headslow:~1,3%\x00 # Set FAT's set volumeid=x78\x56\x34\x12 set magicbyt=x55\xAA set writefat=%mediabyt%\xFF\xFF\xFF # Write Bootcode jump (3 bytes) write ()+1 \%jump% # Write Bios Parameter Block # Write oemname(8) bytesect(2) secclust(1) rsrvsect(2) write --offset=0x03 ()+1 %oemname%\%bytpersec%\%secclust%\x01\x00 # write numfats(1) rootentr(2) totsect(2) mediabyt(1) fatsz16(2) sectrack(2) numheads(2) write --offset=0x10 ()+1 \x02\x00\x02\x00\x00\%mediabyt%\%fatsz16%\%sectrack%\%numheads% # Write hiddsec(4) from MBR dd if=(hd0)+1 of=()+1 bs=1 count=4 skip=0x1C6 seek=0x01C # Write totsec32(4) from MBR. If Volume >= 65536 sectors ! dd if=(hd0)+1 of=()+1 bs=1 count=4 skip=0x1CA seek=0x020 # write --offset=0x24 ()+1 \x80\x00 # Write Extended Boot Record # Write drvnum(1) rsrv(1) extbtsign(1) volumeid(4) vollabel(11) filsystype(8) write --offset=0x24 ()+1 \x80\x00\x29\%volumeid%NO\x20\NAME\x20\x20\x20\x20FAT16\x20\x20\x20 # Write Magic Bytes (2) write --offset=0x1FE ()+1 \%magicbyt% # Write FAT's write ()1+1 \%writefat% write ()257+1 \%writefat% # Write Volume Label to first Directory entry clear echo Volume Label maximum 11 signs set /p:60 /u VOLLABEL=Write Volume Label and press Enter in 60 seconds: write ()513+1 \xE5\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x21 if /i "%VOLLABEL%"=="" && goto :novollab set /u VOLLABEL=%VOLLABEL:~0,11% write ()513+1 %VOLLABEL% :novollab clear echo echo FAT sub-type: FAT16 echo Number of FAT's: 2 set /a secpclus=0%secclust% echo Sectors per cluster: %secpclus% echo Sectors per FAT: 256 set /a clusters=%ptlength% - 256 - 256 - 1 - 32 / %secpclus% echo Total clusters: %clusters% echo FAT start sector: 1 set /a drvspace=%clusters% * %secpclus% / 2 set /a mbspace=%drvspace% / 1024 echo %drvspace% KB total disk space (%mbspace% MB rounded down). echo debug on uuid () echo vol () pause --wait=60 To continue anyway: press a key.... debug off :eof --------------------------------------------------------------------------------------------------------------------------- The FAT part has some weaknesses: Volume ID is not according to standards. Can be changed easily with command uuid --write. If desired, a Volume Label can be written with vol --write, after running rd2hdfat16.g4b Update: Batch-file now like rd2hdf32.g4b (see below) Added dialog for writing a Volume Label (Grub4Dos vol --write and Windows' SCANDSKW.EXE compatible). Dialogs time bound. Added a disk size command-line argument. Use: rd2hdf16.g4b SIZE (in MB). Example: rd2hdf16.g4b 33 will make (hd0,0) 33MB in memory, FAT16 formatted. Size is rounded down to cylinder boundaries Update 2 --rd-base set to 50MB, edited one #comment.
  14. I use Netscape 3.04 Gold on Windows 3.1 (with MSClient, connected to my router). Browsing seems almost impossible, but with http://proxycrime.com almost everything IS possible. I even managed to download Kernelex 4.5.2 from Sourceforge. But javascript is to old (should be disabled). Websites can only be viewed in a sort of elementary html user mode. Most login-buttons won't show up.
  15. If the printer needs USB 2.0 an Enhanced USB controller driver is needed anyway. Personally I prefer NUSB33. Showed Device Manager an Unknown USB Device? About your USB-printer: a seperate driver should be needed. Can't help you further, I have used a HP Laserjet 4 Plus (LPT; duplex; 1993!) during 13 years, until a few weeks ago. Repair seems to be impossible
  16. What kind of USB devices (or controllers?) did you mean?
  17. Nice tools, I have just tested them. Thnx I have run all the tests, anything goes as soon the USB-FDD is accessed once. Even ls (fd0)/pleasels.me did the trick, grub gave error "file not found" (will only work in menu.lst with errorcheck off). Also map the image again in the same Grub-session (in earlier drafts of Part 8½ I mapped first a floppy image right before hdd-512mb-img.gz - but thought it would be to experimental for my menu.lst). I also tested loading hdd-512mb-img-gz from a real floppy after booting form USB-FDD. Exactly the same story. Without earlier drive access by Grub4Dos always the "bad" 0x0E mapping. As soon there has been "real floppy" drive access (nice: one can hear it) everything is fine with the 0x06 mapping.
  18. First "ls"-command instead of "find" root (fd0) Filesystem type is fat16, using whole disk ls /hdd-512mb.img.gz Hdd-512mb.img.gz map --mem --unsafe-boot --heads=32 --sectors-per-track-63 /hdd-512mb.img.gz (hd0) Autodetect number-of-heads failed. Use the specified 32 Autodetect sectors-per-track failed. Use the specified 63 floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x06. geometry (hd0) drive 0x80(LBA): C/H/S=520/32/63, Sector Count/Size=1048320/512 cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 ; ........?....... 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001FE: 55 AA ; U. Second "ls"-command instead of "find" ls (fd0)/hdd-512mb.img Hdd-512mb.img.gz map --mem --unsafe-boot --heads=32 --sectors-per-track=63 /hdd-512mb.img> Autodetect number-of-heads failed. Use the specified 32 Autodetect sectors-per-track failed. Use the specified 63 floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x06. geometry (hd0) drive 0x80(LBA): C/H/S=520/32/63, Sector Count/Size=1048320/512 cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 ; ........?....... 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001FE: 55 AA ; U. I tested the ls-command as you asked, no difference. Always the "good" mapping (although unbalanced, as you teached me). "Timing" was just an idea. The whole problem is *somehow* USB-FDD related. If I boot from USB-FDD, but the image is located on an USB-HDD usually the Memdrive has Partition ID 0x06. If I boot from USB-HDD, but the image is located on an USB-FDD things are much worse. Sometimes I first have to map the USB-FDD before Grub4Dos finds the image! I have used used Partition Magic many years, always complaining about this "thing". But the corrections the program wanted usual make things worse. I have to investigate the CHS/LBA balancing further, because I never succeeded to boot from Winimage IMA-images with MBR, mapped to a Memdrive. IMA-images without MBR gave no problem, but had always the Grub4Dos MBR with Partition ID 0x0E (which as such is not a problem in case of Win9x).
  19. is a "hardcoded/absolute" path to the image, this one: is a "relative" path. Both are "wrong" (theorically/philosophically), what happens with the "right" one?: Or there are other differences that I missed? No other differences The "good" one gives exactly same results as giving find --set-root /hdd-512mb-img-gz first. I tried that too earlier. Both GRAB1TXT and GRAB2.TXT are identical find --set-root /hdd-512mb.img.gz (fd0) map --mem --unsafe-boot --heads=32 --sectors-per-track=63 /hdd-512mb.img.gz (hd0 ) Autodetect number-of-heads failed. Use the specified 32 Autodetect sectors-per-track failed. Use the specified 63 floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x06. geometry (hd0) drive 0x80(LBA): C/H/S=520/32/63, Sector Count/Size=1048320/512 grab.g4b cat --hex --length=256 (hd0)+1 00000000: 33 C0 8E C0 8E D8 8E D0 BC 00 7C FC 8B F4 BF 00 ; 3.........|..... 00000010: 06 B9 00 01 F2 A5 EA 67 06 00 00 8B D5 58 A2 4F ; .......g.....X.O 00000020: 07 3C 35 74 23 B4 10 F6 E4 05 AE 04 8B F0 80 7C ; .<5t#..........| 00000030: 04 00 74 44 80 7C 04 05 74 3E C6 04 80 E8 DA 00 ; ..tD.|..t>...... 00000040: 8A 74 01 8B 4C 02 EB 08 E8 CF 00 B9 01 00 32 D1 ; .t..L.........2. 00000050: BB 00 7C B8 01 02 CD 13 72 1E 81 BF FE 01 55 AA ; ..|.....r.....U. 00000060: 75 16 EA 00 7C 00 00 80 FA 81 74 02 B2 80 8B EA ; u...|.....t..... 00000070: 42 80 F2 B3 88 16 41 07 BF BE 07 B9 04 00 C6 06 ; B.....A......... 00000080: 34 07 31 32 F6 88 2D 8A 45 04 3C 00 74 23 3C 05 ; 4.12..-.E.<.t#<. 00000090: 74 1F FE C6 BE 31 07 E8 71 00 BE 4F 07 46 46 8B ; t....1..q..O.FF. 000000A0: 1C 0A FF 74 05 32 7D 04 75 F3 8D B7 7B 07 E8 5A ; ...t.2}.u...{..Z 000000B0: 00 83 C7 10 FE 06 34 07 E2 CB 80 3E 75 04 02 74 ; ......4....>u..t 000000C0: 0B BE 42 07 0A F6 75 0A CD 18 EB AC BE 31 07 E8 ; ..B...u......1.. 000000D0: 39 00 E8 36 00 32 E4 CD 1A 8B DA 83 C3 60 B4 01 ; 9..6.2.......`.. 000000E0: CD 16 B4 00 75 0B CD 1A 3B D3 72 F2 A0 4F 07 EB ; ....u...;.r..O.. 000000F0: 0A CD 16 8A C4 3C 1C 74 F3 04 F6 3C 31 72 D6 3C ; .....<.t...<1r.< grab.g4b 1 cat --hex --skip=256 --length=256 (hd0)+1 00000100: 35 77 D2 50 BE 2F 07 BB 1B 06 53 FC AC 50 24 7F ; 5w.P./....S..P$. 00000110: B4 0E CD 10 58 A8 80 74 F2 C3 56 B8 01 03 BB 00 ; ....X..t..V..... 00000120: 06 B9 01 00 32 F6 CD 13 5E C6 06 4F 07 3F C3 0D ; ....2...^..O.?.. 00000130: 8A 0D 0A 46 35 20 2E 20 2E 20 2E A0 64 69 73 6B ; ...F5 . . ..disk 00000140: 20 32 0D 0A 0A 44 65 66 61 75 6C 74 3A 20 46 31 ; 2...Default: F1 00000150: A0 00 01 00 04 00 06 03 07 07 0A 0A 63 0E 64 0E ; ............c.d. 00000160: 65 14 80 19 81 19 82 19 83 1E 93 24 A5 2B 9F 2F ; e..........$.+./ 00000170: 75 33 52 33 DB 36 40 3B F2 41 00 44 6F F3 48 70 ; u3R3.6@;.A.Do.Hp 00000180: 66 F3 4F 73 B2 55 6E 69 F8 4E 6F 76 65 6C EC 4D ; f.Os.Uni.Novel.M 00000190: 69 6E 69 F8 4C 69 6E 75 F8 41 6D 6F 65 62 E1 46 ; ini.Linu.Amoeb.F 000001A0: 72 65 65 42 53 C4 42 53 44 E9 50 63 69 F8 43 70 ; reeBS.BSD.Pci.Cp 000001B0: ED 56 65 6E 69 F8 44 6F 73 73 65 E3 3F BF 80 01 ; .Veni.Dosse.?... 000001C0: 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 00 00 ; ......?......... 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 2 However, your correction of the C/H/S counting did the trick. I added the partition table and first few lines of the boot sector, with corresponding bytes of the original image. "Better" DosBox 512MB image with Jaclaz' proposal to correct CHS/LBA unbalance map --mem --unsafe-boot --heads=32 --sectors-per-track=63 (fd0)/mod512j1.img.gz (hd0) probed C/H/S = 520/32/63, probed total sectors = 1048320 floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x06. geometry (hd0) drive 0x80(LBA): C/H/S=520/32/63, Sector Count/Size=1048320/512 Partition num: 0, active, Filesystem type is fat16, partition type 0x06 grab.g4b cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 07 3F 00 00 00 C1 FE 0F 00 ; ........?....... 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001FE: 55 AA ; U. cat --hex --skip=446 --length=66 (fd0)/hdd512mb.img 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 ; ........?....... 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001FE: 55 AA ; U. grab.g4b 1 cat --hex --length=80 (hd0,0)+1 00000000: EB 3C 90 4D 53 44 4F 53 35 2E 30 00 02 10 01 00 ; .<.MSDOS5.0..... 00000010: 02 00 02 00 00 F8 00 01 3F 00 20 00 3F 00 00 00 ; ........?. .?... 00000020: C1 FE 0F 00 80 00 29 24 0C 11 00 4E 4F 20 4E 41 ; ......)$...NO NA 00000030: 4D 45 20 20 20 20 46 41 54 31 36 20 20 20 00 00 ; ME FAT16 .. 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ cat --hex --skip=32256 --length=80 (fd0)/hdd512mb.img 00007E00: EB 3C 90 4D 53 44 4F 53 35 2E 30 00 02 10 01 00 ; .<.MSDOS5.0..... 00007E10: 02 00 02 00 00 F8 00 01 3F 00 20 00 3F 00 00 00 ; ........?. .?... 00007E20: C1 FE 0F 00 80 00 29 24 0C 11 00 4E 4F 20 4E 41 ; ......)$...NO NA 00007E30: 4D 45 20 20 20 20 46 41 54 31 36 20 20 20 00 00 ; ME FAT16 .. 00007E40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 2 Jaclaz, you are a genius, correcting the CHS/LBA unbalance solved the problem.
  20. I am very grateful for this, your idea to map the Grub4Dos ramdrive to a harddrive is very promising. I am still busy testing. It appears the bootsector is write protected, but mapping with --unsafe-boot did the trick. The FAT module gives still the wrong mediabyte (F0 instead of F8), but can be useful because of the possibility to write an uuid and/or an volume to the drive for easier identification. No problem to install Windows 98se on the drive after running SCANDISK and SYS! I tried other --heads=64/32/16 to change the geometry of the Memdrive while mapping the Dosbox image, but that didn't make any difference. But I think I found how the "bad" Memdrive is different from the "good" one. Thanks to the homework you gave me, I became more aware of the hex representation of MBR's, bootsectors and starting bytes of the FAT. BAD mapping to a Memdrive of Dosbox image in hdd-512mb.img.gz map --mem --unsafe-boot --heads=32 --sectors-per-track=63 (fd0)/hdd-512mb.img.gz (hd0) Autodetect number-of-heads failed. Use the specified 32 Autodetect sectors-per-track failed. Use the specified 63 floppies_orig=1, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x0E. geometry (hd0) drive 0x80(LBA): C/H/S=521/32/63, Sector Count/Size=1048384/512 Partition num: 0, active, Filesystem type unknown, partition type 0x0E grab.g4b cat --hex --length=256 (hd0)+1 00000000: FA 33 C0 8E D0 BC 00 7C FB 50 1F 50 07 FC BE 1C ; .3.....|.P.P.... 00000010: 7C BF 1C 06 50 57 B9 E4 01 F3 A4 CB 1E BB 00 7C ; |...PW.........| 00000020: 53 BA 80 01 52 B8 01 02 53 41 CD 13 5F BE BE 07 ; S...R...SA.._... 00000030: 56 5D 5A FA CB 00 00 00 00 00 00 00 00 00 00 00 ; V]Z............. 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 1 cat --hex --skip=256 --length=256 (hd0)+1 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001B0: 00 00 00 00 00 00 00 00 80 00 00 00 00 00 80 01 ; ................ 000001C0: 01 00 0E 01 81 08 3F 00 00 00 01 FF 0F 00 00 00 ; ......?......... 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 2 cat --hex --length=256 (hd0)63+1 00000000: 33 C0 8E C0 8E D8 8E D0 BC 00 7C FC 8B F4 BF 00 ; 3.........|..... 00000010: 06 B9 00 01 F2 A5 EA 67 06 00 00 8B 3F 00 00 00 ; .......g....?... 00000020: 07 3C 35 74 23 B4 10 F6 E4 05 AE 04 8B F0 80 7C ; .<5t#..........| 00000030: 04 00 74 44 80 7C 04 05 74 3E C6 04 80 E8 DA 00 ; ..tD.|..t>...... 00000040: 8A 74 01 8B 4C 02 EB 08 E8 CF 00 B9 01 00 32 D1 ; .t..L.........2. 00000050: BB 00 7C B8 01 02 CD 13 72 1E 81 BF FE 01 55 AA ; ..|.....r.....U. 00000060: 75 16 EA 00 7C 00 00 80 FA 81 74 02 B2 80 8B EA ; u...|.....t..... 00000070: 42 80 F2 B3 88 16 41 07 BF BE 07 B9 04 00 C6 06 ; B.....A......... 00000080: 34 07 31 32 F6 88 2D 8A 45 04 3C 00 74 23 3C 05 ; 4.12..-.E.<.t#<. 00000090: 74 1F FE C6 BE 31 07 E8 71 00 BE 4F 07 46 46 8B ; t....1..q..O.FF. 000000A0: 1C 0A FF 74 05 32 7D 04 75 F3 8D B7 7B 07 E8 5A ; ...t.2}.u...{..Z 000000B0: 00 83 C7 10 FE 06 34 07 E2 CB 80 3E 75 04 02 74 ; ......4....>u..t 000000C0: 0B BE 42 07 0A F6 75 0A CD 18 EB AC BE 31 07 E8 ; ..B...u......1.. 000000D0: 39 00 E8 36 00 32 E4 CD 1A 8B DA 83 C3 60 B4 01 ; 9..6.2.......`.. 000000E0: CD 16 B4 00 75 0B CD 1A 3B D3 72 F2 A0 4F 07 EB ; ....u...;.r..O.. 000000F0: 0A CD 16 8A C4 3C 1C 74 F3 04 F6 3C 31 72 D6 3C ; .....<.t...<1r.< grab.g4b 3 cat --hex --skip=256 --length=256 (hd0)63+1 00000100: 35 77 D2 50 BE 2F 07 BB 1B 06 53 FC AC 50 24 7F ; 5w.P./....S..P$. 00000110: B4 0E CD 10 58 A8 80 74 F2 C3 56 B8 01 03 BB 00 ; ....X..t..V..... 00000120: 06 B9 01 00 32 F6 CD 13 5E C6 06 4F 07 3F C3 0D ; ....2...^..O.?.. 00000130: 8A 0D 0A 46 35 20 2E 20 2E 20 2E A0 64 69 73 6B ; ...F5 . . ..disk 00000140: 20 32 0D 0A 0A 44 65 66 61 75 6C 74 3A 20 46 31 ; 2...Default: F1 00000150: A0 00 01 00 04 00 06 03 07 07 0A 0A 63 0E 64 0E ; ............c.d. 00000160: 65 14 80 19 81 19 82 19 83 1E 93 24 A5 2B 9F 2F ; e..........$.+./ 00000170: 75 33 52 33 DB 36 40 3B F2 41 00 44 6F F3 48 70 ; u3R3.6@;.A.Do.Hp 00000180: 66 F3 4F 73 B2 55 6E 69 F8 4E 6F 76 65 6C EC 4D ; f.Os.Uni.Novel.M 00000190: 69 6E 69 F8 4C 69 6E 75 F8 41 6D 6F 65 62 E1 46 ; ini.Linu.Amoeb.F 000001A0: 72 65 65 42 53 C4 42 53 44 E9 50 63 69 F8 43 70 ; reeBS.BSD.Pci.Cp 000001B0: ED 56 65 6E 69 F8 44 6F 73 73 65 E3 3F BF 80 01 ; .Veni.Dosse.?... 000001C0: 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 00 00 ; ......?......... 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 4 cat --hex --length=256 (hd0,0)+1 00000000: 33 C0 8E C0 8E D8 8E D0 BC 00 7C FC 8B F4 BF 00 ; 3.........|..... 00000010: 06 B9 00 01 F2 A5 EA 67 06 00 00 8B 3F 00 00 00 ; .......g....?... 00000020: 07 3C 35 74 23 B4 10 F6 E4 05 AE 04 8B F0 80 7C ; .<5t#..........| 00000030: 04 00 74 44 80 7C 04 05 74 3E C6 04 80 E8 DA 00 ; ..tD.|..t>...... 00000040: 8A 74 01 8B 4C 02 EB 08 E8 CF 00 B9 01 00 32 D1 ; .t..L.........2. 00000050: BB 00 7C B8 01 02 CD 13 72 1E 81 BF FE 01 55 AA ; ..|.....r.....U. 00000060: 75 16 EA 00 7C 00 00 80 FA 81 74 02 B2 80 8B EA ; u...|.....t..... 00000070: 42 80 F2 B3 88 16 41 07 BF BE 07 B9 04 00 C6 06 ; B.....A......... 00000080: 34 07 31 32 F6 88 2D 8A 45 04 3C 00 74 23 3C 05 ; 4.12..-.E.<.t#<. 00000090: 74 1F FE C6 BE 31 07 E8 71 00 BE 4F 07 46 46 8B ; t....1..q..O.FF. 000000A0: 1C 0A FF 74 05 32 7D 04 75 F3 8D B7 7B 07 E8 5A ; ...t.2}.u...{..Z 000000B0: 00 83 C7 10 FE 06 34 07 E2 CB 80 3E 75 04 02 74 ; ......4....>u..t 000000C0: 0B BE 42 07 0A F6 75 0A CD 18 EB AC BE 31 07 E8 ; ..B...u......1.. 000000D0: 39 00 E8 36 00 32 E4 CD 1A 8B DA 83 C3 60 B4 01 ; 9..6.2.......`.. 000000E0: CD 16 B4 00 75 0B CD 1A 3B D3 72 F2 A0 4F 07 EB ; ....u...;.r..O.. 000000F0: 0A CD 16 8A C4 3C 1C 74 F3 04 F6 3C 31 72 D6 3C ; .....<.t...<1r.< grab.g4b 5 cat --hex --skip=256 --length=256 (hd0,0)+1 00000100: 35 77 D2 50 BE 2F 07 BB 1B 06 53 FC AC 50 24 7F ; 5w.P./....S..P$. 00000110: B4 0E CD 10 58 A8 80 74 F2 C3 56 B8 01 03 BB 00 ; ....X..t..V..... 00000120: 06 B9 01 00 32 F6 CD 13 5E C6 06 4F 07 3F C3 0D ; ....2...^..O.?.. 00000130: 8A 0D 0A 46 35 20 2E 20 2E 20 2E A0 64 69 73 6B ; ...F5 . . ..disk 00000140: 20 32 0D 0A 0A 44 65 66 61 75 6C 74 3A 20 46 31 ; 2...Default: F1 00000150: A0 00 01 00 04 00 06 03 07 07 0A 0A 63 0E 64 0E ; ............c.d. 00000160: 65 14 80 19 81 19 82 19 83 1E 93 24 A5 2B 9F 2F ; e..........$.+./ 00000170: 75 33 52 33 DB 36 40 3B F2 41 00 44 6F F3 48 70 ; u3R3.6@;.A.Do.Hp 00000180: 66 F3 4F 73 B2 55 6E 69 F8 4E 6F 76 65 6C EC 4D ; f.Os.Uni.Novel.M 00000190: 69 6E 69 F8 4C 69 6E 75 F8 41 6D 6F 65 62 E1 46 ; ini.Linu.Amoeb.F 000001A0: 72 65 65 42 53 C4 42 53 44 E9 50 63 69 F8 43 70 ; reeBS.BSD.Pci.Cp 000001B0: ED 56 65 6E 69 F8 44 6F 73 73 65 E3 3F BF 80 01 ; .Veni.Dosse.?... 000001C0: 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 00 00 ; ......?......... 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 6 cat --hex --length=256 (hd0,0)63+1 00000000: EB 3C 90 4D 53 44 4F 53 35 2E 30 00 02 10 01 00 ; .<.MSDOS5.0..... 00000010: 02 00 02 00 00 F8 00 01 3F 00 20 00 3F 00 00 00 ; ........?. .?... 00000020: C1 FE 0F 00 80 00 29 24 0C 11 00 4E 4F 20 4E 41 ; ......)$...NO NA 00000030: 4D 45 20 20 20 20 46 41 54 31 36 20 20 20 00 00 ; ME FAT16 .. 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 7 cat --hex --skip=256 --length=256 (hd0,0)63+1 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 8 Watch the sector count of the "good" mapping, 64 sectors less. GOOD mapping of Dosbox image in hdd-512mb.img.gz find /hdd-512mb.img.gz (fd0) map --mem --unsafe-boot --heads=32 --sectors-per-track=63 /hdd-512mb.img.gz (hd0 ) Autodetect number-of-heads failed. Use the specified 32 Autodetect sectors-per-track failed. Use the specified 63 map --hook parttype (hd0,0) Partition type for (hd0,0) is 0x06. geometry (hd0) drive 0x80(LBA): C/H/S=520/32/63, Sector Count/Size=1048320/512 grab.g4b cat --hex --length=256 (hd0)+1 00000000: 33 C0 8E C0 8E D8 8E D0 BC 00 7C FC 8B F4 BF 00 ; 3.........|..... 00000010: 06 B9 00 01 F2 A5 EA 67 06 00 00 8B D5 58 A2 4F ; .......g.....X.O 00000020: 07 3C 35 74 23 B4 10 F6 E4 05 AE 04 8B F0 80 7C ; .<5t#..........| 00000030: 04 00 74 44 80 7C 04 05 74 3E C6 04 80 E8 DA 00 ; ..tD.|..t>...... 00000040: 8A 74 01 8B 4C 02 EB 08 E8 CF 00 B9 01 00 32 D1 ; .t..L.........2. 00000050: BB 00 7C B8 01 02 CD 13 72 1E 81 BF FE 01 55 AA ; ..|.....r.....U. 00000060: 75 16 EA 00 7C 00 00 80 FA 81 74 02 B2 80 8B EA ; u...|.....t..... 00000070: 42 80 F2 B3 88 16 41 07 BF BE 07 B9 04 00 C6 06 ; B.....A......... 00000080: 34 07 31 32 F6 88 2D 8A 45 04 3C 00 74 23 3C 05 ; 4.12..-.E.<.t#<. 00000090: 74 1F FE C6 BE 31 07 E8 71 00 BE 4F 07 46 46 8B ; t....1..q..O.FF. 000000A0: 1C 0A FF 74 05 32 7D 04 75 F3 8D B7 7B 07 E8 5A ; ...t.2}.u...{..Z 000000B0: 00 83 C7 10 FE 06 34 07 E2 CB 80 3E 75 04 02 74 ; ......4....>u..t 000000C0: 0B BE 42 07 0A F6 75 0A CD 18 EB AC BE 31 07 E8 ; ..B...u......1.. 000000D0: 39 00 E8 36 00 32 E4 CD 1A 8B DA 83 C3 60 B4 01 ; 9..6.2.......`.. 000000E0: CD 16 B4 00 75 0B CD 1A 3B D3 72 F2 A0 4F 07 EB ; ....u...;.r..O.. 000000F0: 0A CD 16 8A C4 3C 1C 74 F3 04 F6 3C 31 72 D6 3C ; .....<.t...<1r.< grab.g4b 1 cat --hex --skip=256 --length=256 (hd0)+1 00000100: 35 77 D2 50 BE 2F 07 BB 1B 06 53 FC AC 50 24 7F ; 5w.P./....S..P$. 00000110: B4 0E CD 10 58 A8 80 74 F2 C3 56 B8 01 03 BB 00 ; ....X..t..V..... 00000120: 06 B9 01 00 32 F6 CD 13 5E C6 06 4F 07 3F C3 0D ; ....2...^..O.?.. 00000130: 8A 0D 0A 46 35 20 2E 20 2E 20 2E A0 64 69 73 6B ; ...F5 . . ..disk 00000140: 20 32 0D 0A 0A 44 65 66 61 75 6C 74 3A 20 46 31 ; 2...Default: F1 00000150: A0 00 01 00 04 00 06 03 07 07 0A 0A 63 0E 64 0E ; ............c.d. 00000160: 65 14 80 19 81 19 82 19 83 1E 93 24 A5 2B 9F 2F ; e..........$.+./ 00000170: 75 33 52 33 DB 36 40 3B F2 41 00 44 6F F3 48 70 ; u3R3.6@;.A.Do.Hp 00000180: 66 F3 4F 73 B2 55 6E 69 F8 4E 6F 76 65 6C EC 4D ; f.Os.Uni.Novel.M 00000190: 69 6E 69 F8 4C 69 6E 75 F8 41 6D 6F 65 62 E1 46 ; ini.Linu.Amoeb.F 000001A0: 72 65 65 42 53 C4 42 53 44 E9 50 63 69 F8 43 70 ; reeBS.BSD.Pci.Cp 000001B0: ED 56 65 6E 69 F8 44 6F 73 73 65 E3 3F BF 80 01 ; .Veni.Dosse.?... 000001C0: 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 00 00 ; ......?......... 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 2 cat --hex --length=256 (hd0)63+1 00000000: EB 3C 90 4D 53 44 4F 53 35 2E 30 00 02 10 01 00 ; .<.MSDOS5.0..... 00000010: 02 00 02 00 00 F8 00 01 3F 00 20 00 3F 00 00 00 ; ........?. .?... 00000020: C1 FE 0F 00 80 00 29 24 0C 11 00 4E 4F 20 4E 41 ; ......)$...NO NA 00000030: 4D 45 20 20 20 20 46 41 54 31 36 20 20 20 00 00 ; ME FAT16 .. 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 3 cat --hex --skip=256 --length=256 (hd0)63+1 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 4 cat --hex --length=256 (hd0,0)+1 00000000: EB 3C 90 4D 53 44 4F 53 35 2E 30 00 02 10 01 00 ; .<.MSDOS5.0..... 00000010: 02 00 02 00 00 F8 00 01 3F 00 20 00 3F 00 00 00 ; ........?. .?... 00000020: C1 FE 0F 00 80 00 29 24 0C 11 00 4E 4F 20 4E 41 ; ......)$...NO NA 00000030: 4D 45 20 20 20 20 46 41 54 31 36 20 20 20 00 00 ; ME FAT16 .. 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 5 cat --hex --skip=256 --length=256 (hd0,0)+1 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA ; ..............U. grab.g4b 6 cat --hex --length=256 (hd0,0)63+1 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000000F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 7 cat --hex --skip=256 --length=256 (hd0,0)63+1 00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 00000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ 000001F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................ grab.g4b 8 The MBR and the bootsector of the "good" 06-mapping are identical to what's inside the image; checked with HxD. The MBR of the "bad" 0E-mapping is the one that Grub4Dos generates while mapping a partition to a Memdrive. Somehow it seems that Grub4Dos has find/read/timing problems in case of USB-FDD. With or without real floppy attached made no difference. About the two first commands of the "good mapping": with or without --unsafe-boot made no difference either. I tested the two command chains on three machines with different chipsets, all same results. Also on one machine with the USB-FDD in three different ways formatted.
  21. Only with USB drivers disabled. See my Windows 98se project, Part I and Part III. I don't possess Windows ME. https://msfn.org/board/topic/180597-exploring-setup-p-isdetectbus-and-grub4dos-8½-times-win98se-on-usb-drive/
  22. I am afraid there is some misunderstanding. I said following: and: but also: For now I will return to my labarotory to run the tests you gave so friendly. BTW in the meantime I found out that I can open the uncompressed DosBox images with HxD, so I hopefully I can deliver some more info.
  23. Grub4Dos "asked" me for it, else the image won't load. I examined the source image more closely. The DosBox image seems to have partition table, exactly the same as first cat --hex below. First set of commands >insmod fat Fat loaded >map --mem --heads=255 --sectors-per-track=63 (fd0)/hdd-512mb.img.gz (hd0) Autodetect number-of-heads failed. Use the specified 255 Autodetect sectors-per-track failed. Use the specified 63 [xxxM/511M] floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 >map --hook >parttype (hd0,0) Partition type for (hd0,0) is 0x06 >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001FE: 55 AA >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 520/31/63 63 1048257 #1 00 00 0/0/0 0/0/0 0 0 #2 00 00 0/0/0 0/0/0 0 0 #3 00 00 0/0/0 0/0/0 0 0 >fat mkfs (hd0,0) FAT sub-type: FAT16 Sectors per cluster: 32 Sectors per FAT:128 Number of free clusters: 32753 Total clusters: 32753 FAT start sector: 1 524080 KB total drive space. 524080 KB available. >parttype (hd0,0) NOTHING ON SCREEN (only if mbrview was loaded before) >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001FE: 55 AA >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 520/31/63 63 1048257 #1 00 00 0/0/0 0/0/0 0 0 #2 00 00 0/0/0 0/0/0 0 0 #3 00 00 0/0/0 0/0/0 0 0 Second set of commands >insmod fat Fat loaded >map --mem --heads=255 --sectors-per-track=63 (fd0)/hdd-512mb.img.gz (hd0) Autodetect number-of-heads failed. Use the specified 255 Autodetect sectors-per-track failed. Use the specified 63 [xxxM/511M] floppies_orig=2, harddrives_orig=0, floppies_curr=1, harddrives_curr=1 >map --hook >parttype (hd0,0) Partition type for (hd0,0) is 0x06 >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 1F BF 08 3F 00 00 00 C1 FE 0F 00 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001FE: 55 AA >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 520/31/63 63 1048257 #1 00 00 0/0/0 0/0/0 0 0 #2 00 00 0/0/0 0/0/0 0 0 #3 00 00 0/0/0 0/0/0 0 0 >partnew (hd0,0) 0x06 63 1048289 >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 Partition num: 0, active, Filesystem type is fat16, partition type 0x06 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 41 20 41 3F 00 00 00 E1 FE 0F 00 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001FE: 55 AA >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 65/65/32 63 1048289 #1 00 00 0/0/0 0/0/0 0 0 #2 00 00 0/0/0 0/0/0 0 0 #3 00 00 0/0/0 0/0/0 0 0 >fat mkfs (hd0,0) FAT sub-type: FAT16 Sectors per cluster: 32 Sectors per FAT:128 Number of free clusters: 32754 Total clusters: 32754 FAT start sector: 1 524064 KB total drive space. 524064 KB available. >parttype (hd0,0) NOTHING ON SCREEN >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 Partition num: 0, active, Filesystem type is fat16, partition type 0x06 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 41 20 41 3F 00 00 00 E1 FE 0F 00 000001CE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001DE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001EE: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 000001FE: 55 AA >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 65/65/32 63 1048289 #1 00 00 0/0/0 0/0/0 0 0 #2 00 00 0/0/0 0/0/0 0 0 #3 00 00 0/0/0 0/0/0 0 0 No changes in the First set of cammands after fat mkfs (hd0,0) Changes after partnew (hd0,0) 0x06 63 1048289 in Bold: >geometry (hd0) drive 0x80(LBA): C/H/S=66/255/63, Sector Count/Size=1048320/512 Partition num: 0, active, Filesystem type is fat16, partition type 0x06 >cat --hex --skip=446 (hd0)+1 000001BE: 80 01 01 00 06 41 20 41 3F 00 00 00 E1 FE 0F 00 >/mbrview.g4b (hd0) Drive=(hd0), Signature=737365E3 Part Type Boot Begin CHS End CHS LBA Start LBA Sectors #0 06 80 0/1/1 65/65/32 63 1048289 >fat mkfs (hd0,0) FAT sub-type: FAT16 Sectors per cluster: 32 Sectors per FAT:128 Number of free clusters: 32754 Total clusters: 32754 FAT start sector: 1 524064 KB total drive space. 524064 KB available. Afterwards no changes.
×
×
  • Create New...