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

Physical disk mode: is it feasible?

$
0
0
First, ImDisk works *great*. I love it. I've written a tool on linux that uses FUSE to mount various image formats (segmented dd, vmdk, encase/expert witness, ...). It also interprets several types of partition tables and automatically calculates offsets. Plus it has a read/write mounting mode that redirects writes to a separate "overlay" file so that the original image files are not modified. Anyway, my point is that your user-mode proxy system is general enough that *all* of these features can be implemented using ImDisk instead of FUSE. Thanks very much, Olof! ImDisk rocks!!

One thing I want to add is the ability to have physical disk images represented as physical disks in windows. I'm more of a linux guy, so learning about windows driver development is a bit daunting. But I'm a quick study and I think I might be able to make it happen.

If I can make it work, I will (of course) submit my work back to you for inclusion in ImDisk.

I guess what I'm requesting from you is a gentle shove in the proper direction, in a couple of ways.

1. Would I have to re-implement ImDisk driver portion as a disk driver instead of (or in addition to) a partition driver? Or is it a general purpose storage driver and I would just simply need to add Mount Manager request handling? (I'm guessing I'd have to make a disk driver that reported geometry and make/model info and whatnot.)

2. What driver dev documentation should I start reading first to give me the best understanding of how I should proceed?

Thanks!

Unnecessary DHCP configuration field

$
0
0

There is an optional filed "Default router" in Tftpd64 settings. I do not want my hosts to receive a default gateway via DHCP in my network. Unfortunately Tftpd64 shows an error when I leave "Default router" field empty. Can you please help me with this inconsistence? How can I avoid sending a default gateway to my hosts?

 

4JkMY9K.jpg

 

TFTPD service edition, version 4.50 (build Nov 28 2013).

How to give bootable MS-DOS 6.22 access to files?

$
0
0

Hey there,

 

I used WinSetupFromUSB to create a multi-bootable USB that allows me to boot into MS-DOS 6.22, in addition to installers for Windows 7 and Vista. I need DOS 6.22 in order to run some legacy programs on very expensive hardware that I can't run the risk of trying another version of DOS or FreeDOS on.

 

DOS 6.22 and the Windows 7 installers boot well enough, but the problem I'm now having is that I have no way of supplying the legacy programs I need to run to DOS 6.22 once its been booted from the USB. Copying these programs to the root of the USB doesn't seem to work; as soon as DOS is booted, all it sees are the 40 files that it comes packaged with.

 

Where in the bootable USB do I put my programs so that MS-DOS 6.22 can access it? If there is no such place, is there any other way to easily give DOS access to those programs?

 

Thanks in advance, I'd really appreciate some help on this.

Is it possible to run MS-DOS from Windows Boot Manager (bootmgr)?

$
0
0

Hi there,

 

I successfully created a multibootable USB using WinSetupFromUSB, allowing me to boot into an ISO for MS-DOS 6.22 and installer ISOs for Windows 7 32- and 64-Bit from a single bootable USB. However, while the Windows 7 ISOs are both accessible from the Windows Boot Manager (bootmgr), MS-DOS requires grub4dos to be loaded.

 

This means that my bootable USB is split into two separate boot menus; the grub4dos menu, which is initially booted into and contains the menu entry for booting into DOS 6.22, as well as another two (first and second half of Windows 7 installers) for booting into bootmgr, from where both the Windows 7 entries can be found.

 

I don't like this way of doing things, and I'd really like to unify all four entries into one single menu under Windows Boot Manager. Is this at all possible?

 

Thanks in advance, I really appreciate any help I can get. I also have a related thread on getting DOS 6.22 to work with a bootable USB over here, and would appreciate expertise on that too:

 

http://reboot.pro/topic/21564-how-to-give-bootable-ms-dos-622-access-to-files/

 

Batch file to find "real" Windows drive under Windows PE

$
0
0

I've had a little utility named DeleteGUI in my arsenal ever since way back in the PartPE days.  It simply crawls the user and system folders looking for temp files and deletes them.  It was made for XP and has not been updated for Windows 7 so it finds very few files any more due to the DOCUMENTS AND SETTING vs USERS change.  I use it to clean up a system before I Ghost it. Its simpler and faster than most of the heavier duty cleaners lik CCleaner.

 

I came up with a simple script to do most of what DeleteGUI did but am having trouble with it under WIndows PE as the "real" system disk is seldomly drive C: under PE any more as there are often one or two other partitions on the drive for recovery etc. .

 

Anyone have a script or method to determine the actual drive that the full Windows resides on so I can plug it into my batch file?

 

BTW, here's the script, any help with it would be greatly appreciated.

 

@echo off
cd /D C:\Users
REM ?-Clean Temp Folder?
for /D %%a in (*.*) do DEL /F /S /Q "%%a\AppData\Local\Temp\*.*"
for /D %%a in (*.*) do FOR /D %%b IN ("%%a\AppData\Local\Temp\*.*") DO RMDIR /S /Q "%%b"
REM ?-Clean IE Cache?
for /D %%a in (*.*) do DEL /F /S /Q "%%a\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
for /D %%a in (*.*) do FOR /D %%b IN ("%%a\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*") DO RMDIR /S /Q "%%b"
DEL /F /S /Q "C:\temp\*.*"
RMDIR /S /Q "C:\temp\*.*"
DEL /F /S /Q "C:\Windows\temp\*.*"
RMDIR /S /Q "C:\Windows\temp\*.*"
 

Please help me to go ahead ?

$
0
0

Hello Everyone..

Thanks 'Wonko' for your great help and support....

DIRUSE /M "C:\Users\Kdeva\Music" "C:\Users\Kdeva\Videos" "C:\Users\Kdeva\Desktop" "C:\Users\Kdeva\Documents" "C:\Users\Kdeva\Downloads" > myvol.log
pause

I have executed above command and It gives following result in form of 'myvol.log' file-

    Size (mb)  Files  Directory
        17.75     21  SUB-TOTAL: C:\USERS\KDEVA\MUSIC
         1.01     29  SUB-TOTAL: C:\USERS\KDEVA\VIDEOS
       245.22    304  SUB-TOTAL: C:\USERS\KDEVA\DESKTOP
         0.09      2  SUB-TOTAL: C:\USERS\KDEVA\DOCUMENTS
     14420.99  14103  SUB-TOTAL: C:\USERS\KDEVA\DOWNLOADS
     14685.06  14459  TOTAL

Now I want to use a variable 'BACKUP_SIZE' that will hold Total size of all folders. .i.e BACKUP_SIZE=14685 MB

 

So how I can set Total Size value to 'BACKUP_SIZE'  ?

 

May be I should use something like this ?

for /F "usebackq tokens=?" %%A in (`find " TOTAL " myvol.log`) do set BACKUP_SIZE=%%A
set BACKUP_SIZE=%BACKUP_SIZE:~x,-y%
set /a BACKUP_SIZE=BACKUP_SIZE+10
echo BACKUP Folder is %BACKUP_SIZE%MB
pause

Any better .cmd way to calculate Total sizes of all above folders ?

 

What value I should use in place of Red Highlighted values ?

I don't understand how you guys read a value within from .txt or .log file ? 

Please provide me some good pages so that I can learn how to get a value within from .txt files ?

 

Thanks & Regards...

Unrecognized filesystem error when mounting system.img.ext4 with ImDisk Toolkit

$
0
0

I have an Android firmware file, which consists of raw partitions that can be flashed to a device. I was able to extract boot.img (needed for the device to boot) and system.img.ext4, which is an image of the device's /system partition, which is (typically) in ext4 format (the extension would seem to indicate so). I also have Ext2Fsd installed. When mounting this file with ImDisk TK, Windows complains that it doesn't have a recognized filesystem. I have tried manually assigning a letter with Ext2Fsd, but same error when I try to access it. I have also tried renaming the file to system.img before mounting, same error. I simply need to extract some files so that I can perform some operations. This is probably a task better suited to Linux, but I would rather use Windows. I was able to do this with another system.img from another firmware file (for an LG device) and it worked. The firmware file I'm using right now is from a Galaxy Note 4 running 6.x Marshmallow. What gives?

Boot with Grub4Dos from M2 NVMe SSD to RAM

$
0
0
Hello,
i am using a computer with Gigabyte motherboard GA-X99-Ultra Gaming,
AMI UEFI BIOS, RAM is 64 GB
W7 Ultimate is installed on 50 GB VHD
I boot mit grub4dos VHD in RAM:
 
find --set-root /W7.vhd
map --mem (hd1,0)/w7.vhd (hd0)
map --hook
root (hd0,0)
chainloader /bootmgr
 
If i boot 50 GB VHD from Samsung SSD 850 PRO on SATA controller it takes 2 min 30 sec.
 
I want to get it quicker and put VHD on Samsung M2 SM951 NVMe SSD (uses 4 PCIe 3.0 lanes).
But this load takes 10 min !!!
 
How can i get it quicker? Must i install any modules in UEFI BIOS?
Is es any other tool to load VHD in RAM Disk und to start it?
 
Please help me
Thanks

Copying files to a NTFS compressed drive/vhd - size related.

$
0
0
I have faced this problem when copying files/folders from a uncompressed source to a compressed destination. E.g. : There are folders+files whose uncompressed size is 150MB and whose compressed size is (say) 100MB. If I try to copy these files to a NTFS compressed drive or vhd whose size is (say) 125MB, I get a message 'insufficient space on destination'. Because the copy program takes the uncompressed size into account. Is there a way/program to do such a copy? btw I face this problem when copying windows files to a compressed vhd ( to boot from memory ).

Windows XP mode (free download from Microsoft)

$
0
0

There is an interesting release from Microsoft to permit Windows 7+ users to run older apps under Windows XP.

 

At first looks like a compatibility layer, but inside the download file comes a nice VHD file already packed with Windows XP ready to be used.

 

The download link is here: https://www.microsoft.com/en-us/download/details.aspx%3Fid=8002

 

After getting the executable, use 7zip to extract the contents. I've used the command line so it can auto-detect the compression formats. Then look inside at the file /sources/xpm and extract that one too, its where the VHD file is found. Then you see the 1.1 Gb file decompressed that you just need to add an extension .VHD to use from VirtualBox.

 

The full set of instructions with screenshots can be found here: http://www.makeuseof.com/tag/download-windows-xp-for-free-and-legally-straight-from-microsoft-si/

 

Have fun!

:cheers:

Want to apply wim without distrubing old files

$
0
0

Dear all,

              I would like to apply windows wim images without disturbing the old files present in the partition.

 

Windows seems to do this while installing from regular windows CD.

 

But how to do this when manually applying windows images?

 

 

To be simple, make sure old files are there after image applied.

 

 

Note: Microsoft help page:

 

If you apply an image to a volume that has an existing Windows installation, files from the previous installation may not be deleted.

 

It says may not. What it means sometime old files will be gone? or it would be there?

 

Plz help...

UEFI: BOOTMGR and Grub4DOS

$
0
0

I'm trying to make a USB partition work on MBR and UEFI. From what I've read on the forum, this will work If I use bootmgr and add a new entry for the grldr loader file. 

I formated the disk as FAT32, modified the partition boot code to BOOTMGR, added the BCD files using windows bcdboot command: BCDBOOT c:\WINDOWS /s H: /f ALL . Copied over grldr and grldr.mbr. Added the grub4dos entry in the BCD store of BCD and EFI folders. 

 

When I try to boot it it displays the error: Cannot load grldr because a file is missing. 

 

Thank you

Prevent Windows from rewriting EFI & BCD

$
0
0

With regards to the issue of windows automatically recreating /EFI/Microsoft/Boot/bootmgfw.efi and /EFI/Microsoft/Boot/BCD is there a tested way to prevent this happening? If you have already come across this and solved it please share your work around.

some thoughts
1) restrict windows access to efi partition, without breaking booting (considering FAT32 so cannot apply perms)
2) make a service to /EFI/Microsoft/Boot nuke itself automatically
3) an API to prevent windows writing these files
4) stop windows updates completely (would like to avoid this however)
5) if all else fails BCD entry to launch grub2.efi

On the choice of programming language ...

Lawyer tried to make farmer look dumb in court, but he wasn’t ready for this come back!


Server change: Offline time next week

$
0
0

Hello my friends,

 

We are changing the server next week so my apologies in advance for any inconvenience this causes.

 

Unfortunately I doubt we can bring back the FTP access to the subdomains. This change will also be used to clean up some of the issues that have been reported (e.g. broken links, remove subdomains, ..).

 

I don't have yet a concrete day and don't know how long it will take to conclude the repair.

 

While the server is offline, I will be reachable for contact on twitter at https://twitter.com/nn81

 

If you have requests for modifications, please do post them. Can't promise we'll do everything but I would be happy if we can improve the site as much as possible.

 

Thanks.

:cheers:

Universal Windows 9x/NT/2K/XP/2003 video driver

$
0
0

Hi! My name is bearwindows. I'm a developer of 'Universal VESA/VBE Video Driver (for Windows 9x/NT Architecture)' and other cool stuff. :)

For Windows NT "family" -

Latest official driver version released at: January, 01, 2015.
See CHANGELOG for details.
Latest site update at:
January, 31, 2015.
In English: http://bearwindows.boot-land.net/vbemp.htm Mirror #1
In Russian: http://bearwindows.boot-land.net/vbempru.htm Mirror #1

For Windows 9x "family" -

Latest official driver version released at:
January, 31, 2014.
See CHANGELOG for details.
Latest site update at:
January, 31, 2014.
In English: http://bearwindows.boot-land.net/vbe9x.htm Mirror #1
In Russian: http://bearwindows.boot-land.net/vbe9xru.htm Mirror #1

Hack Bootmgr to boot Windows in BIOS to GPT

$
0
0

this forum is awesome, nowhere else have i found such detailed and insightful nitty-gritties about booting, windows in particular. so here is my idea

 

As you all know, windows supports only booting from a GPT disk in UEFI, but not in BIOS. But GPT is definitely a lot better, and cleaner. So can we do something about that?

 

The sequence of booting in Windows 7 (for now, later we can look at 8) : is 

 

MBR -> System volume (100MB) VBR ->bootmgr (with bcd) -> winload.exe -> ntoskrnl.exe -> others

 

We already have syslinux MBR which can setup a GPT reading MBR code... after which the VBR code need not be touched.... and then we come to bootmgr.

 

Is it not possible to modify bootmgr to be able to read GPT? Windows can certainly understand GPT, just that it hasn't shipped with a compatible bootloader. I checked winload.exe, and it does check for "EFI PART" GPT header signature, but dunno if it's positive or negative match it's checking for. winload might be difficult to patch, but maybe it won't mind it....?

 

I'm a noob at system programming, but have a fairly good idea about the process... But I defer to the experts here.... What say?

Quale USB pen/stick drive 256/500 GB è consigliabile e testato per essere usato di boot?

$
0
0

Salve,

questo è il mio primo post qui. Dopo aver letto qualche vecchio posts in inglese in questo stesso sito, mi chiedo al momento quale sia un modello di USB stick da 265 GB/500 GB dal prezzo ragionevole che sia stato già provato per l'avvio di boot di Windows 10 pro.

Grazie. 

 

What is a 256/500 GB USB stick that really works for booting Windows 10?

$
0
0

Hello,

after having read some old posts on a similar topic in this forum, I wonder what is at the moment the brand and model of USB stick 256 GB/500 GB sized tested to boot Windows 10 pro.

Thank you.

Viewing all 6812 articles
Browse latest View live




Latest Images