Quantcast
Channel: Reboot.pro
Viewing all 6812 articles
Browse latest View live

WinBuilder 2015 HowTo Add Custom Folders

0
0

Some users want to add complete applications, packages data, etc. to the PE without writing new plugins.

An example may be a collection of SysInternals applications or the Depends tool.

 

These additions might be inside the WIM (running in RAM) or on the CD.

 

To add them is very easy:

  • Create a folder <BaseDir>\lib\user_cd and / or <BaseDir>\lib\user_ram
  • Put the applications you want into the according folder, depending on they should run from WIM or from CD.

During build these folders are copied to the target, and shortcuts to them are added on the desktop: A CD and a RAM icon.

user_folder.jpg

 

When anywhen you do not want to add an user folder to a particular build, just create an empty file "nocopy" in this folder.

Next build you can remove "nocopy" and the folder is added again.

 

 

Thanks to -= mbr @mbr =- for suggestion!


Hi, I'm an alien.

0
0

Hello from germany!

 

I´m searching for a solution to boot my acer es-1-111m-c56m (baytrail) with 32bg emmc-drive from sdcard under uefi/gpt.

The plop-bootmanager seems to be fine, but doesn´t support uefi-systems.

My personal target is to install win7pro x64 under uefi/gpt on sdcard or (if possible) on the emmc-drive.

emmc-drives seems to be possible under win7 (fj7cemmc.sys) but baytrail-chipset seems not supported by Intel/MS under win7.

 

looking for help.

br

André

 

(normaly active on oldskool-hw "Amiga")

:-D

Notepad++ universal

0
0

Posted Image

File Name: Notepad++ universal
File Submitter: Mikka
File Submitted: 01 Dec 2013
File Updated: 14 May 2015
File Category: App scripts

Notepad++ is a free Notepad replacement that supports several languages. Based on Scintilla, Notepad++ is written in C++ and ensures a higher execution speed and smaller program size.

Confirmed working with Win8PESE x86 and Win81SE x86.
This is the best app script available for this program.
It now requires a locally available installer file.

Best regards
Mikka

Click here to download this file

Windows UEFI Boot Questions?

0
0
I still don't have any hardware with UEFI firmware and my test environment is still VMWare Player (with firmware="efi" added to the config file)

I've been playing around with several virtual machines for some tests I'm doing - 64-bit versions of Windows Vista (SP1), Windows 7 (SP1) and Windows 8.1 installed in native UEFI mode. So what do the following files (on the EFI System Partition) actually do?
  • \EFI\Microsoft\boot\bootmgfw.efi
  • \EFI\Microsoft\boot\bootmgr.efi
On the Windows 7 and Windows 8.1 systems I was able to delete them without any obvious consequences - both operating systems booted fine.

On the Windows Vista system I was able to boot without bootmgr.efi - it wouldn't boot without bootmgfw.efi though. Interestingly the Vista install did not actually appear to have a firmware boot loader at all - there was no \EFI\boot\bootx64.efi file. VMWare Player appears to boot the Vista installation via the Windows Boot Manager option in the UEFI Boot Manager menu (accessible by pressing the Esc key during power up - I added bios.bootDelay="5000" to the config file so that I actually had enough time to press it!!!)

I don't really get many aspects of this UEFI!

A simplified explanation of the Windows UEFI boot process would be really helpful. There are various discussions out there that imply that bootmgfw.efi is part of the process - didn't seem to be on two out of my three test systems! Or is it perhaps somehow required for hibernate to work properly?

Regards,

Misty

Message: Can not detect the source type, you must select a folder with the WAIK or Windows Vista files... Exiting...

0
0

Newbie Building VistaPE (32) on a x64 Vista Host

 

Tried with both WAIKs.

 

Winbuilder iin in c:\winbuilder

 

How to add VNC in Win8PE

0
0

How to add VNC in win8PE  using winbuilder. I am not understanding how to do this.

emulating USB-ZIP or USB-FDD

0
0
I think there is a bit confusion about the term "emulating USB-ZIP" or USB-FDD.

1)

For me "emulating USB-ZIP" means Posted Image (any device, such as this USB-pendrive) claims to be Posted Image (real USB-ZIP).

Or "emulating USB-FDD" means Posted Image (any device, such as this USB-pendrive) claims to be Posted Image (real USB-FDD).

I suspect this real emulating can only be done on hardware / firmware level and is not possible for normal end users. So either you buy a device with this feature or not...
In this case the operating system shouldn't be able to see any difference from the emulated device compared with a real one.

2)

Talking about a USB-pendrives or USB-harddisks now. If I am right I recognized that older BIOS have only option to boot USB-ZIP. Newer BIOS can boot USB-HDD and USB-ZIP and USB-FDD.

On older BIOS USB-ZIP doesn't mean you can not boot up USB-pendrive / USB-harddisk. But you need to fdisking/formatting the device as "USB-ZIP" (this means basically in little words only with no partition table).

Therefore there is an interesting project called makebootfat for multi usb standard booting. It works well but somehow it doesn't work in all cases. Imho this is no "emulating of devices".

On my own comp with a newer BIOS I can only boot a real USB-pendrive / USB-harddisk if fdisking/formatting as USB-HDD (standard way), otherwise it's not booting. It seams for my BIOS:
USB-HDD = Posted Image or Posted Image.
USB-ZIP = Posted Image.
USB-FDD = Posted Image.
The 'new' label's are much more logical to me, aren't them.

3)

What's you opinion on my definitions?

Maybe it's really possible to "emulate" USB-FDD or USB-ZIP on software level with a normal device?

WinBuilder 2015 HowTo Add DriverPacks

0
0

Sorry, Winbuilder cannot (yet) download the driverpacks archives, wich are currently offerred as torrents.

So you must do some manual work:

  • Create a folder <basedir>lib\driverpacks and copy all the needed driverpacks (downloaded by your torrent client) into it.
    That may look like:
    driverpacksDir.jpg
  • Edit the (factory provided) configuration file <basedir>\lib\corefiles\DriverPacks.extra.xml to provide the single drivers you need.
    Example:
    driverpacksxml.jpg

During build winbuilder will first move the selected drivers from driverpacks into the "drivers" directory, and then use the custom driver mechanism to add the drivers to the PE


Malwarebytes' Anti Malware

ImDisk 2.0

0
0

Let's start a new topic for this baby. :)

Installed in a virtual machine with Windows 8.1 x64. imdisk.cpl of the SysWOW64 folder works but not the one of System32. It simply does nothing.

I made some benchmarks without the parallel I/O feature. For my "RamDyn": no significant change.
Another one for a static ramdisk: small slowdown on sequential read and write, and no significant change on the rest.

I wanted to test -o par in command line, but it says "incorrect parameter" (in my language).

UEFI Boot from grub4dos

0
0

I have found a way to boot from grub4dos to Clover (and then UEFI boot).

 

No utilities are required (other than a recent version 2013/2014 of grub4dos).

 

Here is a menu.lst - it assumes you have a FAT32 grub4dos USB drive which has grub4dos MBR bootcode installed.

iftitle [cat --locate="FAT32" --length=10 --skip=0x50 ()+1 > nul] Run Clover UEFI Boot Menu\n Run this if you wish to use Clover to UEFI boot
set CL=0
## boot7 is default boot file
cat --locate="BOOT7" --length=10 --skip=0x58 ()+1 > nul && set /a CL=%CL%+1 > nul
if "%CL%"=="1" echo Information: Clover is already installed to the PBR
## configfile /menu.lst
echo ffffffffff > (md)0x350+1
dd if=(hd0,0)+1 of=(md)0x350+1 > nul
dd if=()/clover/boot1f32alt7 of=(md)0x350+1 skip=87 seek=87 bs=1 > nul
dd if=()/clover/boot1f32alt7 of=(md)0x350+1 count=3 bs=1 > nul
#cat --hex (md)0x350+1 && pause
if not "%CL%"=="1" cat --locate="SYSLINUX" --length=10 --skip=0x2 ()+1 > nul && pause PROBLEM: SYSLINUX PBR DETECTED - Cannot install Clover to PBR... && configfile /menu.lst
if not "%CL%"=="1" dd if=(md)0x350+1 of=(hd0,0)+1 > nul && pause --wait=2 PBR updated with Clover boot code
chainloader /clover/boot0md || chainloader /clover/boot0ss || chainloader /clover/boot0af
# User can press 2 for 3 for 32-bit UEFI, 6 for 64-bit UEFI or 1 for Chameleon - within 2 seconds
# boot0md gives a boot0 message and is slower - boot0ss is silent with no message

Full details in my blog post here.

The code still needs tidying up, but I thought I would post to get comments. Using this you can UEFI boot directly from grub4dos.

I created the boot1f32alt7 file myself - it is not a standard Clover file (the standard boot1f32alt file loads the file \boot which we cannot have if the Windows \BOOT folder is in the same partition).

The dd code could probably be simplified to directly patch the PBR, but I wanted to be able to check it first before I allowed it to patch the PBR!

Attached Files

FAQs and How-Tos

0
0

This is a topic where I will collect frequently asked questions about ImDisk and related projects, together with answers or links to other topics with explanations, documentation etc.

  • I want a RAM disk to be automatically created and formatted when Windows starts up.

    Spoiler


     
  • I want my auto-created RAM disk to be pre-loaded with a disk image file.

    Spoiler


     
  • Image file for my auto-created RAM disk is small and I want RAM disk expanded to larger size automatically.

    Spoiler


     
  • How do I save a RAM disk as a disk image file from command line?

    Spoiler


     
  • I want a RAM disk that uses memory above 4 GB in 32 bit Windows. Can ImDisk do that?

    Spoiler


     
  • When I delete files from my RAM disk memory still seems to be used. What is wrong?

    Spoiler


     
  • I would like to mount a vhd file from Microsoft Virtual PC, Virtual Server, Hyper-V etc. Can ImDisk do that?

    Spoiler


     
  • I would like to mount an image file of another format, for example vmdk or vdi. Could ImDisk do that?

    Spoiler


     
  • I try to mount an image file named something.bin and it does not work. What could be wrong?

    Spoiler


     
  • My image file has a master boot record with partition table. When I mount it using Control Panel applet it asks me which partition to mount, but this does not seem to work from command line.

    Spoiler


     
  • I would like to mount a virtual disk to a subdirectory on my hard disk instead of using a drive letter. How to do that?

    Spoiler


     
  • When I try to use the rawcopy program to save disk contents as image file, I get corrupt image files that cannot be mounted later. What is wrong?

    Spoiler


     
  • I would like to script a silent install of ImDisk, but when I try imdiskinst.exe -y it still shows a message box at end of setup. Is there a way to avoid all kind of user interaction during setup?

    Spoiler


     
  • Is there any step-by-step guide to creating a RAM disk at system startup?

    Spoiler

Run Windows Defender Offline from WinPE

0
0
So Windows Defender Offline is essentially a WinPE 3.0 modified to run the Windows Defender GUI. Looking at the \Windows\System32\winpeshl.ini file in boot.wim identifies the relevant program -
[LaunchApp] 
AppPath = "%ProgramFiles%\Microsoft Security Client\OfflineScannerShell.exe" 
In my case that's X:\Program Files\Microsoft Security Client\OfflineScannerShell.exe once WinPE has booted.

Now how about adding Windows Defender Offline to a customised WinPE? Let's say a very small MistyPE build.

So here's what I did - it's a bit rough, and it's not automated, but it seems to be working fine and will point you in the right direction if you are interested.
  • Downloaded Windows Defender Offline - there are various posts containing direct download links - I simply ran mssstool32.exe and selected the "As an ISO file on a disk (Advanced)." option to create an ISO file - in my case D:\WDO_Media32.iso.
  • Mounted D:\WDO_Media32.iso as drive F:\ (using imdisk).
  • Copied F:\FilesList32.dll and F:\mpam-fe.exe (the virus definition file) to the root of my existing MistyPE bootable USB drive (drive E:\)
  • Opened F:\sources\boot.wim in 7-zip and extracted the \Program Files\Microsoft Security Client\ directory to the root of drive E:\ (my USB drive).
Once the preperation was completed -
  • Booted my MistyPE USB drive - the relevant .wim file was mounted as drive X: and the USB drive (containing \FilesList32.dll and \mpam-fe.exe extracted/copied in step 3 above) was mounted as drive D:.
  • Copied the D:\Microsoft Security Client\ directory (extracted in step 4 above) to X:\Program Files\.
  • Ran X:\Program Files\Microsoft Security Client\OfflineScannerShell.exe.
It worked! Some notes -
  • OfflineScannerShell.exe wouldn't work from any path other than X:\Program Files\Microsoft Security Client\OfflineScannerShell.exe - when attempting to run it from another location it failed to start.
  • No packages were required - it worked in a minimal WinPE build.
  • Tested the above in 32-bit versions of WinPE 3.1 and WinPE 5.0 - it appeared to work fine in both.
  • A 32-bit version of Windows Defender Offline is required for scanning a 32-bit version of Windows. A 64-bit version of Windows Defender Offline is required for scanning a 64-bit version of Windows. Why? Well done Microsoft for imposing such a seemingly stupid limitation.
  • Some blogs suggest adding \FilesList32.dll and \mpam-fe.exe to boot.wim. This in my opinion just makes it more difficult to update the definitions file - it's located fine at the root of the USB drive or CD/DVD. Why rebuild boot.wim just to update the virus definitions? Exception might be when PXE booting.
  • The above steps can be adapted/applied to 64-bit versions of WinPE. The only difference is the names of the files extracted in step 3 above - \FilesList64.dll and \mpam-fex64.exe are required in 64-bit builds.
  • \Microsoft Security Client\ can be added to an offline boot.wim so it's available when booted - just remember to add it to \Program Files\Microsoft Security Client\
  • It's possible to automate most (probably all) of the above steps during the build process - this was just a rough test.
Have fun.

Regards,

Misty

Make RAM disk persist across reboots

0
0

Thank you for offering ImDisk free to the public.

 

I am not a computer Geek so if you have time I need a very simplified explanation on how to prevent the content I add to my RamDisk from erasing when I shutdown or restart my computer.

 

The explanation needs be very simple and specific if possible.

 

Here is what I have accomplished so far:

 

I installed ImDiskTK.exe to my computer.

 

It created 3 shortcuts on my desktop:

 

1. RamDisk Configuration

 

2. Mount Img File

 

3. ImDisk Virtual Disk Driver

 

I clicked on the "RamDisk Configuration" shortcut and was able to create a RamDisk, and during the setup the correct boxes were checked, so that after my computer restarts the RamDisk is still there.

 

However, the content I added to my RamDisk erases after every computer restart or shutdown.

 

In very simple terms what do I need to do to prevent content from getting erased from my RamDisk when the computer is shutdown or restarted?

 

I know it might have something to do with a img file.

 

I right clicked on my RamDisk and saved a img file to my documents folder, but that did not save my content on the RamDisk when I restarted my computer.

 

So I must be leaving out a few steps.

 

Maybe it can be done through the "Mount Img File" or "ImDisk Virtual Disk Driver" shortcuts?

 

Thanks in advance for your help.

TestDisk & PhotoRec

0
0

Posted Image

File Name: TestDisk & PhotoRec
File Submitter: Danixu
File Submitted: 14 Sep 2014
File Updated: 14 Sep 2014
File Category: App scripts

This scripts allow to add the TestDisk & PhotoRec to our project. It downloads the lastest version from internet and then add it to our project. It needs to allow the connection to internet, because uses a custom downloader (made by me).

If you have any problem with download, you can go to TestDisk webpage and download the Windows package (Normal Windows, don't use x64 version). Then copy the file to "%GlobalTemp%\TestDisk & PhotoRec\Testdisk.zip" and the script should detect the file and avoid the download.

Personally, I've to say about both programs that are extraordinary because with Testdisk i've recovered a lost partition easily, and after recover the filesystem all files still working fine, and with PhotoRec i've recovered files from about 6 years old from a Camera SD card (i've not looking for that files, but is good).

For now only have the x86 version for both PE system, because x64 version have some lost features, like full ext2/3/4 support.

Info:
TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
TestDisk can
  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3/ext4 Backup SuperBlock
  • Undelete files from FAT, exFAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.

PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, and lost pictures (thus the Photo Recovery name) from digital camera memory. PhotoRec ignores the file system and goes after the underlying data, so it will still work even if your media's file system has been severely damaged or reformatted.
PhotoRec is free - this open source multi-platform application is distributed under GNU General Public License (GPLV v2+). PhotoRec is a companion program to TestDisk, an application for recovering lost partitions on a wide variety of file systems and making non-bootable disks bootable again. You can download them from this link.
For more safety, PhotoRec uses read-only access to handle the drive or memory card you are about to recover lost data from. Important: As soon as a picture or file is accidentally deleted, or you discover any missing, do NOT save any more pictures or files to that memory device or hard disk drive; otherwise you may overwrite your lost data. This means that while using PhotoRec, you must not choose to write the recovered files to the same partition they were stored on.

Please, report any bug.

Greetings!!

Click here to download this file

Kernel mutex question

0
0

Hello,

 

I'm new here, I just find ImDisk few minutes ago. Im looking for to write VFS solution for our document DB and 

found this thread. I saw that ImDisk to Devio communication use already SHM, so I suppose that you fund solution for robust mutex.

In case of not I probably have possible solution (Im not a kernel expert so it should not function).

 

I did some tweaks to boost spin mutex, so it become robust.

It spin on uint32 variable that hold owner proccess id.

If some proccess try to take Mutex it check atomicaly this gate variable. 

If it holds non 0 value it check procces lock byte . I have one file for about 4MB locks. Position of lock depends on process id. So if checker can lock byte in lock file on proccessid possition => proccess with that ID is gone, so mutex is abandoned. 

 

I'll dig into sources to c how to use ImDisk, I hope that I finally found what I was looking for.

 

regards

 

Ladislav

 

Looking for a simple script

0
0

Hello fellow forum members,

 

For my work I am looking for a simple tool that makes it easy to do a diagnostic.

 

I work as technical engineer in a computershop and I have to diagnose alot.

I was looking for a tool or script that runs more programs at once or followed after eachother and eventually creates a .log

Normally when someone brings his/her laptop or desktop we run a HDSentinel, Memtest and a hitmanpro to have a quick overview on how the laptop runs and what could be wrong with it etc.

 

Is there anyone that could help me make a simple tool that runs those programs at once or automaticly after eachother?

 

I hope someone can help me.

 

Timothy.

Seeking a VNC Server script

0
0

Hi all, does anyone have a working VNC server script? It seems there have been successful efforts in the past however they're all behind dead rapidshare links..  :hmm:

 

Thank you.

 

Chainload WinPE - PXE UEFI

0
0

Hello,
 
I’d like to know how can I chainload WinPE using GRUB2 in UEFI mode.
Let me explain better…
 
We have a PXE environment for BIOS Legacy and UEFI computers. The same server (WDS Windows 2012) is used for both Legacy and UEFI.
 
To boot different OS’s (WinPE, Linux, DOS) in Legacy Mode we’re using PXELinux. There is also a PXELinux Menu to the user choose which OS he wants. To boot WinPE in Legacy mode we use:

MENU LABEL WinPE
  KERNEL Boot/pxeboot.0
  APPEND –
 

Our Legacy PXE environment is working just fine.
 
For UEFI computers, we only use WinPE, so once the computer boots the WDS’s server sends WinPE (x64) without showing a menu to the user. However, now we want to start using Clonezilla in UEFI, therefore after the computer boots we need to show a menu to the user to choose (WinPE or Clonezilla).
I could make the menu work in UEFI with GRUB2. So after the UEFI PXE boot, it’s shown a menu and the user can boot Clonezilla. This is working OK.
 
To chainload WinPE in GRUB2 I’m using:

menuentry "WinPE" {
   insmod chain
   chainloader /Boot/x64/bootmgfw.efi
} 

 
WinPE starts to boot but fail with error code 0xc0000428 (The digital signature for this file couldn’t be verified).
 
Does anymore know how to chainload WinPE correctly in UEFI?
 
Thanks,
Leandro Paulin

what compressors grub4dos supports ?

0
0

i recently decided to turn a computer to linux for video edition ...and also do reinstall of win7 x64 because i installed new cards having linux drivers and my vhd in ram is not "cool" any more .

but i keep it because it is nice for a cool defrag....so i downloaded the latest 4.5.c from chenal website and reused my lzma vhd with my menu lst...

but i always have error 25 with a link to chennal's web /e/25 that does not work....

i tested a lot of usb stick and even used grub.exe or win7 boot hard-drive....

 

my vhd booted again when i reused the old grub version i used last year a 4.6.a

 

here are the get source txt :

 

Get the source code of this build by using anonymous svn in this way:

svn co -r 371 http://grub4dos-chenall.googlecode.com/svn/branches/yaya-0.4.6agrub4dos

and now you may "cd grub4dos" and do a "make" to compile.

 

 

 

for the latest :

 

Get the source code of this build in this way:

    git clone git://github.com/chenall/grub4dos.git
    cd grub4dos
    git checkout 74f427a -b build

and now you may do a "make" to compile.
 

 

so that would be cool to say what compressors should be used and where to find them

thanks in advance

Viewing all 6812 articles
Browse latest View live




Latest Images