Jump to content











Photo
- - - - -

Help regarding my bootable USB


  • Please log in to reply
23 replies to this topic

#1 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 10 January 2017 - 09:54 PM

Alright everyone, here are the details.

My Operating system is windows 10 64 bit. My USB drive is a Samsung flash drive. Below is the flash drive I bought.
http://www.newegg.co...7-452-_-Product

 

My goal is to put Gandalfs windows PE, a few versions (Windows 10, windows 8, windows 7, specifically 32 bit versions so that it works on 64 bit computers as well). I also want to put a few antivirus ISO's (Avira, Kaspersky, bit defender). I want this USB to be able to load while I select from the list what I want to run. Ive been able to accomplish getting one PE on the USB using other programs 9xboot and rufus), but I dont want to buy multiple flash drives for every ISO. I want to be smart about this and thats why I bought a 32 gb flash drive.

This is the website to the windows PE: www.windowsmatters.com

 

Ive come to the conclusion that the best available software for what I want to do is Rmprep combined with easy2boot.

 

Ive put the Gandalfs pe in the PE folder of easy2boot. I opened up Rmprep and selected FAT32 and HDD option.

https://gyazo.com/ad...ea454d6b146fca7

 

Here are images of the QEMU after running it.

https://gyazo.com/0e...d9dcbcf1b14c9df

 

Here are some instructions I found from the Easy2boot website regarding my ISO specifically. I had trouble going through the process. (control+F, type gandalf)

http://www.easy2boot...and-winpe-isos/

 



#2 steve6375

steve6375

    Platinum Member

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

Posted 10 January 2017 - 10:14 PM

OK

First you need to make the Easy2Boot USB drive correctly.

 

Quick Instructions
Beginners Tip: Download the self-extracting .exe version of E2B and run it. It will automatically do steps  1 and 2 for you!

For more experienced users, I recommend using the zip file download:

1. Extract the E2B .7z or .zip download to a new folder called 'E2B' (any name will do)
    I recommend you temporarily turn off anti-virus protection for the next step.
2. Run the MAKE_E2B_USB_DRIVE (run as admin).cmd script (NTFS is recommended)
3. Copy all your payload files (ISOs, etc.) to the correct sub-folders under \_ISO (e.g. \_ISO\MAINMENU)
4. Run \MAKE_THIS_DRIVE_CONTIGUOUS.cmd from the USB drive

Read more: http://www.easy2boot...boot-usb-drive/

 

When you have done that (see video), test it by running the \QEMU_MENU_TEST (run as admin).cmd.

 

No need for RMPrepUSB yet.

 

Gandalf is one of the most difficult ones to get working on a multiboot USB drive, so leave this until last.

Just get it booting to the E2B menu first. The next step will be to get a simple linux ISO booting...



#3 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 10 January 2017 - 11:04 PM

Hey Steve,

 

So I went to this link as provided by easy2boot: https://onedrive.liv...A0F146CC7416BA9
 

I downloaded: Easy2Boot_v1.xxDPMS_Make_E2B_USB_Drive.exe

 

Here are pics of what happened next: (Dont need to see this but this is confirmation that it installed.)

https://gyazo.com/18...1d0011e9a0f3230
https://gyazo.com/58...bcd1c992b659009
https://gyazo.com/57...a1ade57601cb753

https://gyazo.com/b3...387ee8149efdf34

 

Here I select the keyboard. Th easy2boot site said if I do not know the answer to something, press enter, which is what I ended up doing in some cases.
https://gyazo.com/85...7151f3f7a83b0d3

I got the confirmation screen in green which indicated it installed correctly.

I copied Gandalf 32 and 62 bit ISO to the windows PE folder of D:\_ISO\WINPE.
Next I put the Antivirus ISO's into the Antivirus folder.

 

I do not know where to get a menu to export into this, which would be neat for me to have and choose from, but I'll go without it so I can learn the process.

Here is the QEMU test
https://gyazo.com/fb...f7fbd18fd0d3caf

I selected Gandalf 32 bit and it said something about an imgpt extension.
I got this message screen
https://gyazo.com/d4...fc4235188a8cc86

I am thrilled to have gotten this far. Thank you so much steve, I really appreciate you.

 

 

 

 



#4 steve6375

steve6375

    Platinum Member

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

Posted 10 January 2017 - 11:11 PM

Good.

For now, forget about Gandalf because it is more complex (as I specifically told you but you seem to have ignored me!).

Now look up on this page each of the other ISOs that you want to get working. If no special instructions are mentioned then all you need to do is copy the ISO to a menu folder.

The QEMU test environment is only good for testing 32-bit ISOs - if you try to boot a 64-bit ISO it will fall over but you can try a real 64-bit system.

If you hit a problem, post it here.



#5 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 11 January 2017 - 12:42 AM

I didnt mean to ignore you! I was listening to your instructions to put the ISO I want in the correct folder. So I thought naturally, to put Gandalfs in there. I assumed that you ment forget about it for now because you would help me with it later.



#6 steve6375

steve6375

    Platinum Member

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

Posted 12 January 2017 - 09:02 AM

re. Gandalf ISOs

 

If you look at the comments on this page for Gandalf ISOs, it says 'easiest to make a .imgPTN file'.

 

To convert the ISO to a .imgPTN file you need to download and install the MPI Tool Kit

 

If you look at this page, it has a video and instructions. Also see this page.

 

Hopefully, you will be able to follow the instructions under the 'How to make a .imgPTN file' heading.

 

You may find the concept of using .imgPTN files with E2B difficult\confusing. So I advise you to watch the videos about them carefully and read the pages fully. E2B will switch-in a new partition and the E2B partition will disappear. When you choose the CSM Menu #0 it will restore the original E2B partition.


  • anonymous10 likes this

#7 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 13 January 2017 - 12:22 AM

Hey Steve,

 

So I'm stuck on something that should fairly simple to solve. Ive tried googling. While following step 3 of making an IMG partition, http://www.easy2boot...ng-uefi-images/

I'm getting denied admin permission to move a file over from a folder to the USB folder ISO/win.

I am the admin. Here is a gif to show it more clearly
https://gyazo.com/0e...d34cc992cdb7281

Do you know how to bypass this problem? Ive tried selecting properties of the e2b drive and also the folder itself and I went to the security tab and looked at permissions. It looks like everyone has permissions all of them too (Read, write). So do you know any solutions to moving this over?



#8 steve6375

steve6375

    Platinum Member

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

Posted 13 January 2017 - 12:27 AM

Look in Control Panel - Imdisk to see if the file is mounted as a drive.

Try rebooting Windows. ImDisk may not have closed the file.



#9 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 13 January 2017 - 02:24 AM

Here are the settings of the IMdisk. Not sure what I should do from here. I clicked "mount new" on the Usb drive but it asked for settings.

 

https://gyazo.com/b6...d37be637a73ff4f

 

So not sure where to go from here.



#10 steve6375

steve6375

    Platinum Member

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

Posted 13 January 2017 - 08:55 AM

That indicates that you did not complete the MakePartImage script correctly.

 

It should be straight forward. You just drag-and-drop the Gandalf ISO onto the MPI_FAT32 Desktop shortcut and press ENTER when it suggests a size.

 

Anyway, you can click on each .imgPTN file in the ImDisk control panel and click on Remove to dismount each one.

The ImDisk panel should then be empty.

 

or as I said - just reboot your Windows system

 

The .imgPTN files will probably be corrupt so delete them.

 

Then try again and drag-and-drop the Gandalf ISO onto the MPI_FAT32 Desktop shortcut and press ENTER when it suggests a size.

 

 

If you hit a problem running MPI, then give details.

 

P.S. If you read a bit further down the page, you will see:

 

Troubleshooting

If ImDisk creates a virtual image but fails to dismount it, you will need to use ImDisk Manager in Windows - Control Panel to remove the virtual drive.

 

Read more: http://www.easy2boot...ng-uefi-images/


Edited by steve6375, 13 January 2017 - 09:02 AM.


#11 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 14 January 2017 - 12:07 AM

Here is the error I got, I dont know how to solve it
https://gyazo.com/52...4df1d028a2a6925



#12 steve6375

steve6375

    Platinum Member

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

Posted 14 January 2017 - 08:22 AM

How big is the \sources\boot.wim file inside the ISO?

If it is bigger than 4GB then you cannot use the MPI_FAT32 shortcut.

Instead, use the MPI_NTFS shortcut.

 

If it is smaller than 4GB, then when you are prompted by MPI to enter a size for the .imgPTN file and you are suggested a size, instead of pressing ENTER, input a slightly larger size  (say add 200MB),

 

[Edit] I just tried it. You need to use MPI_FAT32 and set a size of 5100MB.


Edited by steve6375, 14 January 2017 - 09:04 AM.


#13 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 15 January 2017 - 12:44 AM

If I have the correct folder below, its 840,383kb. This looked like its just under one gb.

 

https://gyazo.com/1e...9440dba40b38aa0



#14 steve6375

steve6375

    Platinum Member

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

Posted 15 January 2017 - 08:52 AM

You seem to have trouble understanding simple instructions.

If you read my last post, I tell you what to do.

Also, I have made a blog post especially for you here.



#15 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 16 January 2017 - 11:41 PM

I'm sorry Steve that I'm a bad listener, I'm just still confused. I'm afraid to ask anything else in fear of being a bad listener or an idiot. I really dont want to feel like one, I just didn't know the process would be this complex or difficult. That's why I didn't respond yesterday. I felt so down about all this always having a new error or problem, with a new one on top of it, and one right after the other. Its like a never ending cycle. I'm willing to learn but, either I have to be smarter, or the process should be easier, or we need to have more patience with me.

 



#16 steve6375

steve6375

    Platinum Member

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

Posted 17 January 2017 - 10:54 AM

I don't know why you are confused.

 

1. Drag-and-drop the Gandalf x64 ISO onto the MPI_FAT32 Desktop shortcut

2. When prompted, enter a size of 5100

3. Allow the .imgPTN file to be made

4. Copy the .imgPTN file to \_ISO\MAINMENU on your E2B USB drive and run WinContig

5. Boot to E2B and select the .imgPTN file - hit ENTER to get to the CSM menu - choose Item #1 to MBR boot


Edited by steve6375, 17 January 2017 - 12:43 PM.


#17 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 17 January 2017 - 09:15 PM

I got to step 4. I opened winContig but it looks like it needs settings to be input, and I am unclear of what those are.

 

Here is a picture: https://gyazo.com/2f...fef2ae8edfe99be



#18 steve6375

steve6375

    Platinum Member

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

Posted 17 January 2017 - 09:31 PM

Just run the cmd script that is in the root of the USB drive.

MAKE_THIS_DRIVE_CONTIGUOUS.cmd

this runs WinContig for you.

 

The same that you should do every time you have added ISOs, etc.

The same as in all the instructions.

The same as in all the videos.



#19 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 17 January 2017 - 10:46 PM

Steve you're a genius!!! I'm sorry for any trouble or problems I gave you. I apologize for my stupidity. I'm sorry this took so long. I'm so extremely happy. I thought we would go back and fourth for a month or two, just because you emphasized how difficult it was and how I was misunderstanding everything. I'm extraordinarily grateful, and you helped teach a man how to fish instead of give a man a fish.



#20 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 17 January 2017 - 11:02 PM

teach a man

Praise the teacher and the student.

#21 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 17 January 2017 - 11:16 PM

Steve I have a couple more questions for ya. So I used it, and I got this screen saying the 32b drive may be overwritten if you continue. So I chose that option, and I went back to put more IMGPTN's and it looks like it was overwritten. I know I can reverse it by following the instructions to click "RestoreE2B as admin"?



#22 steve6375

steve6375

    Platinum Member

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

Posted 17 January 2017 - 11:22 PM

boot it and chose option 0 - E2B menu

or run \e2b\switch_e2b.exe and click on restore E2B partitions

or run \e2b\Restore_e2b cmd file

 

as it tells you when you select the .imgptn file, it will replace the E2B partition.

It is in the videos and explained on the E2B pages about .imgptn too.



#23 anonymous10

anonymous10

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 18 January 2017 - 07:15 AM

I know I understand that. I guess I was asking if there was another method to avoid changing the partition back and fourth? If not, then I understand.



#24 steve6375

steve6375

    Platinum Member

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

Posted 18 January 2017 - 08:03 AM

If you use the .imgPTN method, then we need to change the partition and then boot to Gandalf PE.

There is a way to change it back from within Gandalf PE (run one of the \e2b\ utilities or scripts), from Windows or from the CSM menu.

It cannot magically change itself back just before you want to access the E2B menu...

 

.imgPTN files have the advantage that they can support UEFI-booting which cannot be done using grub4dos from ISOs.

It has the disadvantage that you have to 'switch the partition back' afterwards.

 

If you don't want to use a .imgPTN file, you have the option to set E2B up for MBR-booting from an ISO (as I describe in my blog post).






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users