Jump to content











Photo
- - - - -

How install G4D on SD 16MB FAT12 card


  • Please log in to reply
5 replies to this topic

#1 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 287 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, UEFI, Coreboot, MS VirtualPC, VMware
  •  
    Poland

Posted 01 March 2022 - 07:54 AM

I want to use an old SD card 16MB to boot the image of a 1.44MB floppy disk with USB drivers using G4D.

What am I doing:

  • I fill the Bootice card with zeros
  • Using USB Disk Storage Format format in FAT
  • Using Grub4Dos Installer 1.1 I install G4D
  • Copy files: grldr, menu.lst and dos.img in the images directory

I test in Qemu and I have this:

1.png 2.png 3.png

 

How to correctly install G4D on the 16MB SD card?

 



#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 March 2022 - 08:27 AM

menu.lst ???



#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 01 March 2022 - 08:28 AM

As Steve just pointed out without knowing the contents of your menu.lst it will be difficult to understand where the issue is.

 

As always it is strongly advised - when experimenting - to issue commands one by one to be able to see which one creates the error.

 

From what I can see the issue is with the floppy image BPB (I poresume after you mapped the and hooked the floppy image).

 

As a side note, any reason to use the specific grub4dos build 0.4.5c 2014-01-17?

 

:duff:

Wonko



#4 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 287 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, UEFI, Coreboot, MS VirtualPC, VMware
  •  
    Poland

Posted 01 March 2022 - 10:12 AM

map --mem /images/dos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

 

As a side note, any reason to use the specific grub4dos build 0.4.5c 2014-01-17?

With the latest version is the same.



#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 01 March 2022 - 10:16 AM

# map payload as large fd and first internal hdd as hd0 only
map %ISOC% (fd0) || map --mem %ISOC% (fd0)
map --hook
set A=
if exist (fd0)/IO.SYS set A=1
if exist (fd0)/KERNEL.SYS set A=1
if not exist A set /p A=WARNING: IO.SYS or KERNEL.SYS boot files not in image file!
set A=
errorcheck off
map (hd1) (hd0)
map --hook
#set just one HDD and one floppy
map --harddrives=1
map --floppies=1
root (fd0)
chainloader /IO.SYS || chainloader /KERNEL.SYS || chainloader (fd0)+1
boot

where %ISOC% is the path of the file



#6 reboot12

reboot12

    Frequent Member

  • Advanced user
  • 287 posts
  • Interests:WinXP, Debian, OpenWrt, gPXE, iPXE, BIOS, UEFI, Coreboot, MS VirtualPC, VMware
  •  
    Poland

Posted 01 March 2022 - 11:31 AM

Everything works. It starts a bit longer but it works. I made everything again from the beginning, i.e: zero, replug stick, USB format, install G4D, copy files

Attached File  proj.avi.zip   283.27KB   156 downloads

 

I do not know what was wrong.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users