Jump to content











Photo
- - - - -

a1ive's grub2 and File Manager has great UEFI support!


  • Please log in to reply
181 replies to this topic

#26 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 21 January 2020 - 09:25 AM

Both are valid floppy images AFAIK which can be loaded and changed in WinImage.

I think the issue is because the (rd) device is mapped using NTBOOT and map --mem is used by E2B to map the floppy image containing the animation. Since grub4dos (grldr) is reloaded (grub.exe) I am not sure if the memory mapping is now lost with the new copy of grub4dos but the old fd4 floppy BIOS device is still mapped to a portion of memory? Maybe bootmgr checks all BIOS floppy devices (or all BIOS drives) when loaded and because the one device (fd4) is memory mapped but points to invalid memory now, it just reports this 'corrupt' message? It should be booting from bootmgr on fd0 in a memory drive...



#27 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 21 January 2020 - 01:13 PM

Loadable and changeable in Winimage is good, but not necessarily means that the image is "kosher" as Winimage can read a number of "queer" or "non-standard" images, but what is puzzling me is that the error if an exchange or misaddressing or mis-mapping of the dloppy images happens, the error should be more *like* "BOOTMGR not found" (as opposed to BOOTMGR is corrupt"), or if you prefer more like a filesystem derived error than the current that seems to be connected to the integrity of the file. :unsure:

 

It is good that you managed to find a quick fix/workaround :), still the cause is not entirely clear (to me at least).

 

:duff:

Wonko



#28 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 21 January 2020 - 09:50 PM

Version 1.1 is now available which fixed a few issues (inc. the wim issue)

https://rmprepusb.bl...e2b-v11-no.html

 

Does anyone have any feedback? Anyone else tested it? If so with what payload and what boot type.

Secure UEFI64, UEFI64, UEFI32, MBR\Legacy? Windows PE, ISOs, WIM files, VHDs, etc?



#29 alacran

alacran

    Gold Member

  • .script developer
  • 1344 posts
  •  
    Mexico

Posted 22 January 2020 - 03:40 AM

Good, v1.1 is working fine to boot from grub2 menu WIM files using NTFS 6.x option now on my MBR/CSM PCs.



#30 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 22 January 2020 - 09:02 AM

re. .wim issue with bootmgr corruption.

I think that that E2B sets up the fd4 BIOS device in memory using (rd).

Then grub2 runs which reloads grub.exe

Then NTBOOT sets up its boot floppy at fd0 in memory using (rd)

But because grub4dos has been reloaded and the grub4dos versions are very similar (both late 2019 0.4.6a) then fd0 uses the same memory location that fd4 was already mapped to. So fd4 is still pointing to the same or very similar area that is now used by fd0.

Now if something (grub4dos, bootmgr?) now accesses fd4 (which is mapped to bootmgr as the original floppy containing animation graphics files has been overwritten by a different image) and writes to that memory area (not quite sure why it would - repair - drive parameter table for cache, etc.?) then the contents of the fd0 memory area will be corrupted.



#31 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 02 February 2020 - 10:56 PM

The a1ive grub2 File Manager v1.4 is now available.

a1ive has improved the dd command so that it can write sectors (or bytes in a sector) even under UEFI.

This means that you can now UEFI-boot to agFM and select any .imgPTN file and switch it in and then UEFI-boot from the E2B drive.

You can also UEFI-boot to agFM and restore the E2B partition too and then select a different .imgPTN file.

This means you don't have to MBR-boot or boot to Windows or WinPE to select .imgPTN files.

https://www.easy2boo...2-file-manager/

 

a1ive grub2 command primer is here.



#32 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2020 - 04:54 PM

The latest version of agFM v1.7 now has support for switching in and out .imgPTN files under grub2 without needing to make a .cfg file,

This means you can easily make a Secure UEFI64 Easy2Boot USB drive which can be MBR or UEFI booted.

http://rmprepusb.blogspot.com/



#33 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 10 February 2020 - 05:10 PM

Hey, I just updated by E2B and loaded agFM.  This looks pretty cool.

 

Is there any reason why we can't just use the ISO files from the FIRST E2B NTFS partition on the same USB drive?.  I navigated to that partition and selected a few and it seems to work just fine.  

 

When I tried to boot to a WinRE .imgPTN23 it says 'Problem making backup to LBA30' , any clue as to why that is?  I tried a few an all produced that error. 



#34 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2020 - 05:15 PM

The idea is to use the same ISOs! Why would you have two copies?

 

If WinRE.imgPTN works from the E2B menu, then grub2 should work.

Can you send me the RMPRepUSB - Drive Info - 30  output file if it still doesn't work,



#35 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 10 February 2020 - 07:29 PM

OK, Info below.  I booted to 2 of my drives via standard MBR to E2B, choose the .imgPTN23 and rebooted to it via EFI, they both worked fine.  So the imgPTN23 is working OK.  I tried several .imgPTN23 files.  All were OK. 

 

I have the info below from 2 drives, the USB thumb drive I was using first, then a USB HDD that I tried the second time.  Both produce the same error  'Problem making backup to LBA30'  Both have been around the block a few times over the years  too with various partition layouts as my E2B evolved.  These two now are a NTFS first partition (size varies on media) , a 32 GB FAT 32 second partition type ( 0B on the HDD, 0C on the thumb) and the rest either a NTFS volume, or a RAW volume that is actually an encrypted partition. I added the partition info to the end of each from the RMPrep Disk Info output starting at sector 0. 

 

HDD:

COMMAND LINE: DRIVE=2 USBINFO USBSTART=30 SURE 


RMPARTUSB v2.1.747 (c)2019 RM Education plc [SSi]
=================================================


Accessing Drive 2 - "WD My Passport 07A8" (1,000,170,586,112 bytes)


Sector at LBA 30


============= SECTOR DATA ================




[Sector 30]  0MB
0000 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0010 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0020 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0050 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0060 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0070 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0080 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0090 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
00F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0100 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0110 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0120 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0130 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0140 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0150 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0160 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0170 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0180 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0190 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........


[Sector 31]  0MB
0200 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0210 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0220 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0230 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0240 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0250 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0260 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0270 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0280 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0290 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
02F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0300 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0310 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0320 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0330 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0340 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0350 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0360 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0370 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0380 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0390 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03A0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03B0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03C0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03D0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
03F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........


========= END OF SECTOR DATA ================




Drive 2  WD My Passport 07A8  F/W Rev.=1049  Serial No.=07A8WXQ1 [ bytes = 30 37 41 38 57 58 51 31 ]
Reported size 1,000,170,586,112 bytes (931.4814GiB)  Last LBA 1,953,458,175
RMPrepUSB Max 1,000,161,146,880 bytes (931.4726GiB)  Last LBA 1,953,439,739


Partition Info


Disk Signature bytes (1B8h-1BBh) = 17 52 90 48


Partition 1   SIZE=61440MiB   Type: 07 NTFS\exFAT  *ACTIVE*
START POS   = CYL:0 HD:32 SEC:33       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 2,048 (00000800) SIZE (LBA) = 125,829,120 (07800000) [End=125,831,167]


Partition 2   SIZE=30442MiB   Type: 0B FAT32 (2047GB max)       
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 125,831,168 (07800800) SIZE (LBA) = 62,345,216 (03B75000) [End=188,176,383]


Partition 3   SIZE=861953MiB   Type: 07 NTFS\exFAT       
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 188,176,384 (0B375800) SIZE (LBA) = 1,765,279,744 (69380800) [End=1,953,456,127]


Partition 4   SIZE=514.594MiB   Type: 00        
START POS   = CYL:1023 HD:117 SEC:32       END POS = CYL:1023 HD:15 SEC:55
START (LBA) = 55,977,862 (03562786) SIZE (LBA) = 1,053,888 (001014C0) [End=57,031,749]


P1   Start=2,048 (1,048,576 bytes) End=125,831,167 (64,425,557,504 bytes)
P2   Start=125,831,168 (64,425,558,016 bytes) End=188,176,383 (96,346,308,096 bytes)
P3   Start=188,176,384 (96,346,308,608 bytes) End=1,953,456,127 (1,000,169,537,024 bytes)


Drive 2  WD My Passport 07A8  F/W Rev.=1049  Serial No.=07A8WXQ1 [ bytes = 30 37 41 38 57 58 51 31 ]
Reported size 1,000,170,586,112 bytes (931.4814GiB)  Last LBA 1,953,458,175
RMPrepUSB Max 1,000,161,146,880 bytes (931.4726GiB)  Last LBA 1,953,439,739
 
 
Thumb:
COMMAND LINE: DRIVE=2 USBINFO USBSTART=30 SURE 


RMPARTUSB v2.1.747 (c)2019 RM Education plc [SSi]
=================================================


Accessing Drive 2 - "SanDisk Extreme Pro" (256,087,425,024 bytes)


Sector at LBA 30


============= SECTOR DATA ================




[Sector 30]  0MB
0000 33 C0 EB 5C 90 00 00 00 - 00 00 00 00 00 00 00 00  3Àë\... ........
0010 00 00 00 00 00 00 00 00 - 00 00 00 00 78 79 4E 00  ........ ....xyN.
0020 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0030 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0040 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0050 00 00 00 00 00 00 00 00 - 00 00 80 00 20 39 FF FF  ........ ..€. 9ÿÿ
0060 31 DB 8E D3 BC 80 05 E8 - 00 00 5B 81 EB 6A 00 C1  1ÛŽÓ¼€.è ..[ëj.Á
0070 EB 04 8C C8 01 C3 53 68 - 7B 00 CB 68 00 20 17 BC  ë.ŒÈ.ÃSh {.Ëh. ¼
0080 00 90 80 FA 00 74 02 B2 - 80 16 07 B0 10 30 F6 31  .€ú.t.² €.°0ö1
0090 DB E8 C2 00 72 29 0E 1F - 31 F6 31 FF B9 DF 00 FC  ÛèÂ.r) 1ö1ÿ¹ß.ü
00A0 F3 A5 BB FC 1F 66 B8 47 - 52 55 AA 66 39 07 75 03  ó¥»üf¸G RUªf9.u.
00B0 E8 98 19 EA B8 00 00 20 - 16 1F 66 39 07 74 1F 80  è˜ê¸..  f9.t€
00C0 F2 80 68 C0 07 07 B0 10 - 30 F6 31 DB E8 87 00 72  ò€hÀ..° 0ö1Ûè‡.r
00D0 05 EA 00 00 C0 07 BE 92 - 01 E8 AF 00 EB FE BE BE  .ê..À.¾’ .è¯.ëþ¾¾
00E0 01 E8 04 10 F6 06 A4 01 - 80 0F 84 6C 19 83 C6 0C  .è.ö.¤. €„lƒÆ.
00F0 81 FE FE 01 72 EB 77 2D - F6 06 A7 01 01 0F 85 1E  þþ.rëw- ö.§..…
0100 17 80 0E A7 01 01 F6 06 - A7 01 02 75 D4 68 00 0D  €§..ö. §..uÔh..
0110 07 B0 04 31 D2 31 DB E8 - 3C 00 73 C2 BE AD 1C E8  .°.1Ò1Ûè <.s¾­è
0120 69 00 E9 FA 16 F6 06 A7 - 01 01 0F 85 F1 16 80 0E  i.éúö.§ ..…ñ€
0130 A7 01 01 E9 D2 16 1E 06 - 52 56 57 55 F9 CD 13 5D  §..éÒ. RVWUùÍ]
0140 5F 5E 5A 07 1F C3 FA B8 - 00 20 8E D0 BC DC 8F FB  _^Z.Ãú¸ . ŽÐ¼Üû
0150 66 61 07 1F EB 97 B4 02 - BF 03 00 B9 01 00 60 50  fa.ë—´. ¿..¹..`P
0160 53 51 FE C8 00 C1 D0 E0 - 00 C7 B0 01 E8 C7 FF 59  SQþÈ.ÁÐà .Ç°.èÇÿY
0170 5B 58 72 04 FE C8 75 E7 - 61 73 0B 60 31 C0 E8 B5  [Xr.þÈuç as.`1Àèµ
0180 FF 61 4F 75 D9 F9 C3 B4 - 0E CD 10 2E AC 3C 00 75  ÿaOuÙùô Í.¬<.u
0190 F6 C3 0D 0A 4D 69 73 73 - 69 6E 67 20 68 65 6C 70  öÃ..Miss ing help
01A0 65 72 2E 00 00 3F FF 00 - 00 00 00 00 00 00 00 00  er...?ÿ. ........
01B0 00 00 00 00 00 00 00 00 - 91 48 24 EC 00 00 80 20  ........ ‘H$ì..€ 
01C0 21 00 07 FE FF FF 00 08 - 00 00 00 00 80 07 00 FE  !..þÿÿ.. ....€..þ
01D0 FF FF 0C FE FF FF 00 08 - 80 07 00 D0 A8 03 00 FE  ÿÿ.þÿÿ.. €..Ш..þ
01E0 FF FF 07 FE FF FF 00 D8 - 28 0B 00 28 A7 12 00 00  ÿÿ.þÿÿ.Ø (..(§..
01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA  ........ ......Uª


[Sector 31]  0MB
0200 33 C0 EB 5C 90 00 00 00 - 00 00 00 00 00 00 00 00  3Àë\... ........
0210 00 00 00 00 00 00 00 00 - 00 00 00 00 78 79 4E 00  ........ ....xyN.
0220 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0230 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0240 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ........ ........
0250 00 00 00 00 00 00 00 00 - 00 00 80 00 20 39 FF FF  ........ ..€. 9ÿÿ
0260 31 DB 8E D3 BC 80 05 E8 - 00 00 5B 81 EB 6A 00 C1  1ÛŽÓ¼€.è ..[ëj.Á
0270 EB 04 8C C8 01 C3 53 68 - 7B 00 CB 68 00 20 17 BC  ë.ŒÈ.ÃSh {.Ëh. ¼
0280 00 90 80 FA 00 74 02 B2 - 80 16 07 B0 10 30 F6 31  .€ú.t.² €.°0ö1
0290 DB E8 C2 00 72 29 0E 1F - 31 F6 31 FF B9 DF 00 FC  ÛèÂ.r) 1ö1ÿ¹ß.ü
02A0 F3 A5 BB FC 1F 66 B8 47 - 52 55 AA 66 39 07 75 03  ó¥»üf¸G RUªf9.u.
02B0 E8 98 19 EA B8 00 00 20 - 16 1F 66 39 07 74 1F 80  è˜ê¸..  f9.t€
02C0 F2 80 68 C0 07 07 B0 10 - 30 F6 31 DB E8 87 00 72  ò€hÀ..° 0ö1Ûè‡.r
02D0 05 EA 00 00 C0 07 BE 92 - 01 E8 AF 00 EB FE BE BE  .ê..À.¾’ .è¯.ëþ¾¾
02E0 01 E8 04 10 F6 06 A4 01 - 80 0F 84 6C 19 83 C6 0C  .è.ö.¤. €„lƒÆ.
02F0 81 FE FE 01 72 EB 77 2D - F6 06 A7 01 01 0F 85 1E  þþ.rëw- ö.§..…
0300 17 80 0E A7 01 01 F6 06 - A7 01 02 75 D4 68 00 0D  €§..ö. §..uÔh..
0310 07 B0 04 31 D2 31 DB E8 - 3C 00 73 C2 BE AD 1C E8  .°.1Ò1Ûè <.s¾­è
0320 69 00 E9 FA 16 F6 06 A7 - 01 01 0F 85 F1 16 80 0E  i.éúö.§ ..…ñ€
0330 A7 01 01 E9 D2 16 1E 06 - 52 56 57 55 F9 CD 13 5D  §..éÒ. RVWUùÍ]
0340 5F 5E 5A 07 1F C3 FA B8 - 00 20 8E D0 BC DC 8F FB  _^Z.Ãú¸ . ŽÐ¼Üû
0350 66 61 07 1F EB 97 B4 02 - BF 03 00 B9 01 00 60 50  fa.ë—´. ¿..¹..`P
0360 53 51 FE C8 00 C1 D0 E0 - 00 C7 B0 01 E8 C7 FF 59  SQþÈ.ÁÐà .Ç°.èÇÿY
0370 5B 58 72 04 FE C8 75 E7 - 61 73 0B 60 31 C0 E8 B5  [Xr.þÈuç as.`1Àèµ
0380 FF 61 4F 75 D9 F9 C3 B4 - 0E CD 10 2E AC 3C 00 75  ÿaOuÙùô Í.¬<.u
0390 F6 C3 0D 0A 4D 69 73 73 - 69 6E 67 20 68 65 6C 70  öÃ..Miss ing help
03A0 65 72 2E 00 00 3F FF 00 - 00 00 00 00 00 00 00 00  er...?ÿ. ........
03B0 00 00 00 00 00 00 00 00 - 48 90 BA 00 00 00 80 FE  ........ Hº...€þ
03C0 FF FF 0C FE FF FF 48 90 - BA 00 76 B0 10 00 00 FE  ÿÿ.þÿÿH º.v°..þ
03D0 FF FF 0C FE FF FF 00 08 - 80 07 00 D0 A8 03 00 FE  ÿÿ.þÿÿ.. €..Ш..þ
03E0 FF FF 07 FE FF FF 00 D8 - 28 0B 00 28 A7 12 00 00  ÿÿ.þÿÿ.Ø (..(§..
03F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA  ........ ......Uª


========= END OF SECTOR DATA ================




Drive 2  SanDisk Extreme Pro  F/W Rev.=0  Serial No.= [ bytes = 00 00 00 00 00 00 00 00 ]
Reported size 256,087,425,024 bytes (238.5GiB)  Last LBA 500,170,751
RMPrepUSB Max 256,077,642,240 bytes (238.4908GiB)  Last LBA 500,151,644


Partition Info:
Disk Signature bytes (1B8h-1BBh) = 91 48 24 EC


Partition 1   SIZE=61440MiB   Type: 07 NTFS\exFAT  *ACTIVE*
START POS   = CYL:0 HD:32 SEC:33       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 2,048 (00000800) SIZE (LBA) = 125,829,120 (07800000) [End=125,831,167]


Partition 2   SIZE=29978MiB   Type: 0C FAT32LBA (2047GB max)       
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 125,831,168 (07800800) SIZE (LBA) = 61,394,944 (03A8D000) [End=187,226,111]


Partition 3   SIZE=152805MiB   Type: 07 NTFS\exFAT       
START POS   = CYL:1023 HD:254 SEC:63       END POS = CYL:1023 HD:254 SEC:63
START (LBA) = 187,226,112 (0B28D800) SIZE (LBA) = 312,944,640 (12A72800) [End=500,170,751]


Partition 4   SIZE=0MiB   Type: 00        
START POS   = CYL:0 HD:0 SEC:0       END POS = CYL:0 HD:0 SEC:0
START (LBA) = 0 (00000000) SIZE (LBA) = 0 (00000000)


P1   Start=2,048 (1,048,576 bytes) End=125,831,167 (64,425,557,504 bytes)
P2   Start=125,831,168 (64,425,558,016 bytes) End=187,226,111 (95,859,768,832 bytes)
P3   Start=187,226,112 (95,859,769,344 bytes) End=500,170,751 (256,087,424,512 bytes)


Drive 2  SanDisk Extreme Pro  F/W Rev.=0  Serial No.= [ bytes = 00 00 00 00 00 00 00 00 ]
Reported size 256,087,425,024 bytes (238.5GiB)  Last LBA 500,170,751
RMPrepUSB Max 256,077,642,240 bytes (238.4908GiB)  Last LBA 500,151,644
 
 


#36 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2020 - 07:57 PM

Looks fine. Can you download  agFM v1.8 and extract the files to your FAT32 partition.

I found a bug in grub2 which may have been causing a problem...



#37 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 10 February 2020 - 08:08 PM

Will try, thanks!



#38 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 10 February 2020 - 08:26 PM

I downloaded E2B UEFI File Manager v1.8.zip was that the right one?

 

Unpacked it to the fat32 EFi partition and tried it, same  'Problem making backup to LBA30' error. Verified still worked in MBR E2B as well.  



#39 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 10 February 2020 - 08:33 PM

Sorry, a second question.

 

I have 4 USB HDDs that are 4 TB in size, of course MBR E2B will not work on them.  I setup the new agFM to it and it boots the ISO files fine, but when trying the .imgPTN23 files it too had the ame  'Problem making backup to LBA30'  error, this time with an additional 3 lines before it 'Error: no server is specified' above that error.

 

Is this because of the lack of E2B files?  

 

Even without .imgPTN issues it's not a big heartache.  For any of my MBR E2B drives I can boot to them that way.  Since the agFM works on many of the standard ISOs it makes nearly everything I typically use available with an .imgPTN file anyways. 



#40 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2020 - 09:08 PM

Anything that uses partnew, like the grub2 'easy2boot' option or 'partnew' option or .imgPTN files MUST be done on an MBR disk.

So you are  UEFI64 booting to the agFM menu system and then selecting a .imgPTN23 file from the first E2B partition and you get this error?

 

v1.8 is correct. Works OK for me! 

Do you see any messages? Like 'Backup made to LBA30' or 'Backup made to LBA60'

 

You say you booted both drives and selected a .imgPTN file on both drives - but in that case LBA30 should not be all 00's as shown in one of your results???

 

Code to check for the backup is ...

function check_mbr {
# set USED to 0 if LBA is valid MBR with partition table
set LBA=${1}
set USED=1
# if LBA already contains an MBR then it is OK to use
hexdump -q -s 0x1fe -n 2 (${grubfm_disk})$LBA+1 x
if [ "$x" = "\x55\xaa" ] ; then
hexdump -q -s 0x1c2 -n 1 (${grubfm_disk})$LBA+1 x
if [ "$x" = "\x07" ] ; then
  hexdump -q -s 0x1d2 -n 1 (${grubfm_disk})$LBA+1 x
  if [ "$x" = "\x0C" -o "$x" = "\x0B" ] ; then
   hexdump -q -s 0x1be -n 1 (${grubfm_disk})$LBA+1 x
   if [ "$x" = "\x00" -o "$x" = "\x80" ] ; then
    if [ -f (hd0,msdos1)/_ISO/e2b/grub/E2B.cfg ] ; then set USED=0 ; fi
   fi
  fi
fi
fi
unset x
unset LBA
}

Others have reported it works, so I don't understand.

Your E2B partition has been updated and does contain the all E2B files ?

 

 

 



#41 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2020 - 09:46 PM

Can you please replace 

\boot\grubfm\rules\imgptn\imgptn.sh  with the attached version (after extracting it).

 

It has debug info in it.

and then try selecting a  .imgPTN23 file  after UEFI64 booting to agFM.

 

You should see some info similar to attached screenshot...

 

Thanks

Steve

Attached Thumbnails

  • pic_imgptn.JPG

Attached Files



#42 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 11 February 2020 - 12:56 PM

Latest agFM is now v1.9.



#43 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 11 February 2020 - 01:38 PM

OK, I am not sure what's going on.  I rebooted to the stick after coming back this morning, selected to boot to agFM and selected the .imgPTN23, this time no error, it created the sector 30 and 60 backups, prompted to select the partition number then rebooted selected it of the boot menu and came up fine. It worked this time.  I tried another .imgPTN23 file and it too came up fine.  So I don't know what the issue was, user error I suppose. 

 

Question:  I have also put agFM on my 4 TB USB HDD. This drive will not of course run E2B because they are GPT formatted.  I can boot to the ISO files fine from the agFM on the second FAT32 partition where I have a copy of the _ISO folder from my E2B drives.   On these drives I have a tiny 'fake' 8MB 1st partition, a 100 GB FAT32 second and the rest as NTFS DATA third.  The NTFS first is just a dummy to make the drive letters line up to F:, G: and I: like the other MBR booted USB HDDs and USB sticks, I use a sync tool to keep them all up to date that way and just ignore the 1st partition on these GPT drives.

 

When I boot to agFM on them I can boot the ISO files through agFM fine.  This is really enough as I was previously WIM booting  from the ISO files wim on these drives - so agFM is easier and the same environment is available without having to setup the wim boot.  As you noted, it can't boot to the .imgPTN because they require a NTFS MBR 1st partition with E2B installed  to boot from.  SO:  If I jigger around the partitions to make enough room on the 1st partition and install E2B to it will this non bootable 'fake' E2B partition be enough to allow the agFM to boot to the.imgPTN23 files from these drives?  Or does it truly have to be a workable bootable MBR partition?  I do get the same failure to write to sector 30 error as before as well as a SERVEr error.  So is this a dead end?  Can agFM not write to a GPT sector 30? 

 

If I have time later I will experiment on one to find the answer.

 

Thanks for another cool utility.  I was getting concerned when I started to get more and more computers in that only do EFI boot, legacy is no longer supported on many of them.  This makes everything available on a quick menu once again - without messing around with wim boot and the BCD.  I am anxious to see what improvements you make on this.  



#44 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 11 February 2020 - 01:42 PM

partnew and imgptn work by adding entries into the MBR partition table. Therefore the disk must have Legacy MBR partitions.



#45 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 11 February 2020 - 02:15 PM

I thought so.  As I said, I can now get access to most everything using afFM and the ISO files, so no big loss.  I can still use the .imgPTNs under Easy2Boot and agFM on my other drives that are still MBR boot. 

 

Thanks again for a superb tool  As I said I am interested in seeing where this will go.  If it's anything like what E2B evolved in to then it will be an exciting road. 



#46 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 13 February 2020 - 12:56 PM

Steve, the more I use agFM the more I like it.  I was able to eliminate nearly all my .imgPTN files as this will allow booting of most of my ISO files directly.  This is great.

 

Is it possible to have a default boot choice and countdown for agFM?  That would make it a tad easier to use.  I know 90% of the time I boot to the same default winpe.iso file I have as my E2B default.



#47 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 13 February 2020 - 03:10 PM

Just use E2B menu option 0 to set a default and timeout.



#48 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 13 February 2020 - 05:07 PM

.imgPTN files are still needed for Secure UEFI64 boot to Windows 7/8/10 etc. Install ISOs.

Please let me know if any issues, etc. It is being continually improved/developed and any feedback would be great.



#49 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 359 posts
  • Location:USA

Posted 13 February 2020 - 07:17 PM

Just use E2B menu option 0 to set a default and timeout.

 

Now I'm confused, use the E2B menu option to set the default and timeout for agFM EFI boot?  I'm not seeing that as an option in agFM.  

 

So far my company has not implemented secure boot, so the .imgPTN files being necessary for a secure boot aren't an issue - now - at least.  I'll certainly have to use them, this will toss out all my GPT partitioned > 2GB USB HDDs though.  I can still boot to a stick and plug them in and then use them for storage for backups though. 



#50 steve6375

steve6375

    Platinum Member

  • Developer
  • 7283 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 13 February 2020 - 07:20 PM

I am confused too!

If you UEFI-boot, it immediately boots to the agFM  File Manager.






2 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Google (2)