Jump to content











Photo
- - - - -

Booting win98livecd's ISO With Grub4Dos(From USB)


  • Please log in to reply
17 replies to this topic

#1 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 05 February 2014 - 12:19 PM

I have Tryed booting the win98livecd's ISO (The 98 Disk in Winbuilder)

Dose some one here Know How to do This?

 

This is what i Have:

title Live Windows 98
map /iso/Win98.iso (0xff) || map --mem /iso/Win98.iso (0xff)
map --hook
root (0xFF)
chainloader (0xFF)

It Boots to DOS but Fails Some how to find files

 

 

Here is the menu.lst entry in the ISO

find --set-root /BOOT.IMA
map --mem /BOOT.IMA (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=2

Thanks



#2 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 06 February 2014 - 04:49 AM

It seems Win98 support a “map --mem” hard drive or a floppy image.

 

For ISOs, you might need a driver equivalent to firadisk/WinvBlock.



#3 Centaur

Centaur

    Newbie

  • Members
  • 23 posts
  •  
    United States

Posted 06 February 2014 - 06:21 AM

is it not seeing the ISO image or the files on the CD once G4D have mounted it?

 

I haven't played with win98 in a long time and never used a live win98, but i know that win98 is still based on DOS.

 

you have the have a CD-Rom driver loaded in a config.sys and autoexec.bat.

 

what files are not found?



#4 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 07 February 2014 - 07:04 PM

2q1auqh.png

 

This is what i get



#5 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 07 February 2014 - 07:18 PM

BOOT.IMG

AUTOEXEC.BAT
A:\DOS\xmsdsk 64000 X: /t /y /c2
A:\DOS\DOSlfn
A:\DOS\shsucdx /d:oemCD001 /L:Y
copy start.bat X:\
A:\dos\7za.exe x Y:\WIN98\Windows.7z -oX:
set comspec=X:\WINDOWS\command.com

CONFIG.SYS
device=A:\DOS\XCDROM.SYS /D:oemCD001
DEVICE=A:\DOS\HIMEMX.EXE /testmem:off
DEVICE=A:\DOS\ifshlp.sys
DEVICE=A:\DOS\dblbuff.sys

 

So the ramdisk is suppose to start but dose not
 



#6 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 07 February 2014 - 07:33 PM

it seems Y: drive is the cd rom

And Since im booting from a Flash drive not a cd it sees plop's files and not the windows.zip



#7 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 07 February 2014 - 08:32 PM

FD contents
CopyFF.g4b
fat (From Easy2boot)
grldr
menu.lst
iso/Win98LiveCD.iso



menu.lst

color white/blue green/blue
timeout 30
default 0

title Win98SE Test (ISO+FD IMG)\n Choose non-CDROM option 2\n Run FDISK to partition the HDD\n Then reboot and run Format.\n Change to drive B: and type Setup
set ISO=(bd)/iso/Win98LiveCD.iso
#map /_ISO/MAINMENU/Win98/Windows98_se.img (fd0)
map %ISO% (0xff)
cat --length=0 %ISO% ;; set /a LEN=*0x8290 ;; echo Length of %ISO% is %LEN% bytes
set /a LEN=%LEN%/512
# Allow for PBR sectors etc. - must be FAT16 so over 0x20000
set /a LEN=%LEN%+0x1000
if %LEN%<=0x20000 set /a LEN=0x20000+0
echo FILE IS %LEN% sectors
pause --wait=3 Drive B: Length=%LEN% sectors
# call the copy batch file - first parameter is either (fd0) or (fd1) - next parameter is size of virtual drive (0x100000=512MiB)
call (bd)/copyff.g4b (fd1) %LEN%
pause --wait=3 PLEASE NOTE: Contents of CD are now on drive B:
# set number of floppies seen by BIOS - must be 2 if using (fd1) instead of (fd0)
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
map --floppies=2
root (0xFF)
#root (fd0)
chainloader (0xff)



CopyFF.g4b

!BAT
debug off
#errorcheck off
errorcheck on
# stop 'hit Q to continue' messages
pager off
#512MB = 0x100000
#850MB = 0x1A0000
#1GB = 0x200000
set FD=%1
map --mem (md)0x300+%2 %FD%
map --hook
debug 1
clear
echo Copy CD contents to virtual drive %1 size=%2
# load fat utility as a module for quick operation
insmod (bd)/fat
fat mkfs %FD%
debug -1
pause --wait=3
debug off
root (0xff)
set cd=
call :cpa
echo Finished!
goto :eof

:cpa
clear
echo Copying files in folder: %cd%
::Change source root
root (0xff)%cd%/
ls | call :copyfiles
echo Finished folder %cd%
goto :eof

:copyfiles
if "%1"=="" goto :eof
::If is a directory
cat --length=0 /%1 || goto :sub-dir

::copy file
#echo  %cd%/%1
fat copy /%1 %FD%%%cd%/ > nul || echo Error: %cd%/%1
shift
goto :copyfiles

:sub-dir
setlocal
fat mkdir %FD%%%cd%/%1
set cd=%cd%/%1
call :cpa
endlocal
shift
goto :copyfiles

It gets to Copying Files then:

2w6tl5u.png



#8 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 07 February 2014 - 08:36 PM

boot.catalog is found on the Win98LiveCD.iso

 

Renaming boot.catalog to boot.cat gives no joy



#9 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 08 February 2014 - 03:11 PM

You might have missed something? I could not see your eltorito.sys line in your config.sys.

 

Open README_GRUB4DOS.txt and search for "eltorito.sys".



#10 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 10 February 2014 - 06:33 PM

 I could not see your eltorito.sys line in your config.sys.

 

You may also try xgcdrom.sys, which is, if I remember correctly, a better /a fork of xcdrom.sys.



#11 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 11 February 2014 - 01:40 PM

I got it to load with the eltorito.sys

But now it gives a windows protect mode error

Please find the modified 01-WIN98_BASE.script attached

 

Edit: booted with plop on a REAL pc (not VMWare)

 

Boot with grub4dos Menu entry:

title Live Windows 98
map /ISO/Win98LiveCD.iso (0xff) || map --mem /ISO/Win98LiveCD.iso (0xff)
map --hook
root (0xFF)
chainloader (0xFF)

Attached Files



#12 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 11 February 2014 - 03:10 PM

I suppose your ISO works fine if you burn it onto a CD and use the CD to boot up.

 

You can try again with the grub4dos menu entry above, along with such a CD in your CDROM drive. If succeeded, then it means that your protected mode Windows lacks a driver for the ISO, and thus it cannot treat the virtual drive (0xFF) as a cdrom. Windows can access a real CDROM disc media, but it cannot recognise the real-mode eltorito int13 drive of (0xFF). You need a protected mode driver for the virtual CDROM of the ISO.

 

You can avoid using the ISO. Instead, use a hard drive image or a floppy image. Windows 98 can recognise a mem-mapped HD image without a protected mode driver. But cannot recognise an mem-mapped ISO.

 

Suppose there are no protected-mode drivers for the mapped drives. Then (HD or FD)images must be mem-mapped or mapped with the --in-situ option. Otherwise Windows 98 cannot successfully start up.

 

Someone told me Windows 98 cannot boot up with more than 2G of the memory. You have to reduce the memory or use int15 to hide the memory that is above 2G.



#13 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 12 February 2014 - 06:06 AM

As i understand it thare is a Ram Drive Created:

A:\DOS\xmsdsk 64000 X: /t /y /c2

The virtual CDROM (eltorito) is loaded to copy files from the ISO to the Ram Drive

 

Is thare a way to Unload eltorito after the copy?



#14 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 12 February 2014 - 11:55 AM

http://help.fdos.org...ase/shsucdx.htm

 

Quote:

SHSUCDX is an unloadable CD-ROM redirector substitute for MSCDEX.
  It supports up to 10 drives. Each drive is single-sector buffered and
  the last 10 directory entries are cached. Each unit from each driver
  can be assigned a specific drive letter.
 /U  Unloads the shsucdx driver from memory.
 

End quote.

 

Maybe reload shsudcx afterward for a real drive.

As of 2009 (SHCDX33E) use the /I switch to install.



#15 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 13 February 2014 - 08:07 AM

The Error im getting:

Initializing Device IOS Windows Protection Error

As i understand im booting from the flash drive to the iso

The Iso is loaded into the memory

Then the iso loads a FDD.img called BOOT.IMG

This creates a RAMdisk with the ''A:\DOS\xmsdsk 64000 X: /t /y /c2" Command

Then Copys the windows 98 files From the ISO to the RAMdisk and starts loading from the ramdisk windows 98

 

 

http://support.microsoft.com/kb/263466

So maby the PC im using dose not work with Win98



#16 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 13 February 2014 - 07:57 PM

The Error im getting:

Initializing Device IOS Windows Protection Error

...

 

http://support.microsoft.com/kb/263466

So maby the PC im using dose not work with Win98

 

I doubt it (though it's possible).

You have a chain of things happening, before getting to the Windows 98 Gui.

You have the Shsucdx, then you have the drivers (eltorito).

You have the Xmsdsk ramdisk.

You might have stuff left in ram from Grub4Dos (which could, but probably not, interfere).

As mentioned you have the FS of the iso in Ram (which might trick).

If you boot with Plop, it might do something.

Also bear in mind the USB driver of Windows 98 is buggy, try can be changed to http://www.technical...kb/usbmsd98.php .

Also as mentionned by Tinybit (and related to above) the Usb size limit.



#17 betrand

betrand

    Frequent Member

  • Advanced user
  • 467 posts
  •  
    France

Posted 15 February 2014 - 02:59 PM

I doubt it (though it's possible).

You have a chain of things happening, before getting to the Windows 98 Gui.

You have the Shsucdx, then you have the drivers (eltorito).

You have the Xmsdsk ramdisk.

You might have stuff left in ram from Grub4Dos (which could, but probably not, interfere).

As mentioned you have the FS of the iso in Ram (which might trick).

If you boot with Plop, it might do something.

Also bear in mind the USB driver of Windows 98 is buggy, try can be changed to http://www.technical...kb/usbmsd98.php .

Also as mentionned by Tinybit (and related to above) the Usb size limit.

 

Though if your PC is newer, you might well be right in saying your PC does not like Windows 98.



#18 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 17 February 2014 - 04:16 AM

I just booted Into a VMWare now it shows ''Save To shutdown"






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users