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

Grub4dos Guide/Tutorial

$
0
0
After harassing Jaclaz and ilko countless times over the past few weeks I have finally, with their help, completed a grub4dos guide. Many thanks to Jaclaz and ilko for their input, suggestions and support :cheers: .

Feel free to post any errors or feedback – good or bad. The guide is available here – a downloadable version is also available.

diddy

Updated - 18th July 2008
Guide updated to version 1.1 following feedback from tinybit - see below.

Updated - 19th February 2009
Guide updated to version 1.2

Updated - 22nd April 2009
Guide updated to version 1.3

Updated - 17th May 2009
Guide updated to version 1.4

Grub4dos mapped disk (vhd) isn't detected by Debian based distro (antiX 15)

$
0
0

Suppose there are two hard drives

/dev/sda (hd0)
/dev/sdb (hd1)

(hd0) is where my vhd resides (hd0,0)/ada.vhd

 

(hd1) is where the linux iso resides (hd1,0)/linux.iso

 

Here is the grub4dos script:

#### Map the vhd as the first harddrive
find --set-root /linux.iso
map --heads=0 --sectors-per-track=0 /linux.iso (0xFF)
map --hook
root (0xFF)
kernel /antiX/vmlinuz vga=791 from=hd,usb,cd fromiso=/linux.iso en xres=800x600
initrd /antiX/initrd.gz
map (hd0,0)/ada.vhd (hd0)
map --rehook
boot

#### Map the vhd as the last harddrive
find --set-root /linux.iso
map --heads=0 --sectors-per-track=0 /linux.iso (0xFF)
map --hook
root (0xFF)
kernel /antiX/vmlinuz vga=791 from=hd,usb,cd fromiso=/linux.iso en xres=800x600
initrd /antiX/initrd.gz
map (hd0,0)/ada.vhd (hd-1)
map --rehook
boot



I have successfully boot to the linux iso, but the vhd is remain undetected.

 

Does anyone know the solution?

 

 

homepage: http://antix.mepis.org/

How does WinVBlock work?

$
0
0

Asking this question because when protection mode is entered, all mapped drive by grub4dos is ignored by Windows OS, but when this driver applied, the mapped drive is detected by windows.

 

How does this work?

Is this possible with the linux version (since linux has module system that can be loaded on boot)?

What is the difference with 'loopback booting' in GRUB 2 (like this)?

 

 

 

stuck here with clonedisk tutorial about adjusting partition image for booting

$
0
0
Im back to this tutorial on ErwinI's blog here: http://labalec.fr/erwan/?p=1550

Im trying to make a primary partition image bootable. here is what I have:


the HDD partition that i have made a partition image of the first partition:
C2QMHHk.jpg


what I have entered for step #3 in ErwinI's guide:
duiWBiN.jpg


where Im stuck (step #5)
EgPAlqr.jpg

Im not sure what to enter here or how to determine what to enter here, more help needed please.

thanks

CloneDisk

$
0
0

Hello Gents,

I made a small freeware app that allows one to clone a drive (physical or logical) to/from another drive or image.

On top of that the tool can :

-save/restore the MBR or BS,
-delete the layout of the drive, 
-wipe with 0's,
-create a raw image file,
-make a vmdk/vhd from a raw image file to boot your cloned disk in vmware,
-do various operations on the registry around booting,
-format any device to fat16/fat32/ntfs/exfat/udf (includig usb pen),
-read faulty devices (with bad sectors for instance),
-perform speed tests,
-edit the partition table, view the boot sector ,
-create a disk, create a partition,
-extend / shrink a volume.

Tool can be downloaded here or here
There are plenty of other tools (and possibly better) that can do the same.
What I was looking for was a GUI (no command line tool), merging several functionalities at once and free.

Feedback and requests welcome :lol:

Regards,
Erwan.

Attached Thumbnails

  • clonedisk2.png
  • clonedisk0.png
  • clonedisk1.png

Boot from usb using original windows iso's

$
0
0

Hello,

 

Is there a way to boot from original windows install isos without any modifications or answer files or key files just like using Windows 7 USB DVD Download Tool from microsoft but for multiple iso's ?, just select the prefered file from simple menu and boot from it
for example:

windows 7 english 32 bit
windows 7 english 64 bit
windows 10 english 32 bit
windows 10 english 64 bit
windows 7 other language 32 bit, etc...

 

sorry for my poor english.

 

thanks

What is the fastest available USB 3.0 flash drive that is also 128GB+?

$
0
0

I currently have 2 USB 3.0 flash drives that are 256GB each (Patriot Supersonic Mega and PNY). I have attempted to boot an installed Windows in a VHD on each of these via Easy2Boot, as well as Windows to Go on each (not in a VHD or with E2B), but I was never able to get past the initial setup. Both of these drives are well over 200MB/s in regards to read speeds, so they should be fast enough (and they appear to be much faster than my 4TB Seagate USB HDD, from which I'm currently booting a 10LTSB with decent performance). I know that read speed will alway be higher than write speed. I need something that is preferably the fastest rated 3.0 on the market, and is at least 128GB (256 or 500/512 preferred). If possible it should be Windows to Go certified or similar (but the official WTG drives are costly so they may not be an option). I would prefer to boot a VHD on such a drive via E2B, but if this doesn't work out then I'll simply dedicate the entire drive.

 

Perhaps I should consider a USB FDD that has a SSD controller instead (which will hopefully be around the same size as an FDD and fixed instead of removable (so I can install Windows to it via official GUI methods)?

Moving Windows XP/2003 to a Different Computer Model

$
0
0
TABLE OF CONTENTS
  • Table of Contents
  • Introduction
  • Terminology
  • HAL and Kernel
  • Method #1: Associating the Storage Adapter Live
  • Method #2: Associating the Storage Adapter Offline

INTRODUCTION

The purpose of this tutorial is to demonstrate one method for how to take a Microsoft Windows XP or Microsoft Windows Server 2003 installation on computer model "A" and prepare it for booting on a different computer model "B".

TERMINOLOGY

For the purposes of this tutorial, let's use a common terminology with definitions below and distinguish between devices and drivers:

A driver will be software which lets Windows use a device.

A device will be a particular hardware or software component in Windows having a PnP device ID.

The Plug and Play device identifier is used to identify the device. PnP device IDs can look quite different. An example of a PnP device ID would be: PNP0A08. Another example would be: genuineintel_-_x86

For PCI hardware devices, the PnP device ID includes the PCI ID.

A PCI identifier includes the PCI VENdor ID and the PCI DEVice ID. An example of a PCI id would be: VEN_8086&DEV_2448

An .INF file can tell Windows which driver to use for a particular device having a particular PnP device ID. .INF files are used during the normal installation of a device.

The CriticalDeviceDatabase is a Registry key which can also tell Windows which driver to use for a particular device having a particular PnP device ID. The CDDB can be used to instruct Windows how to temporarily drive a device until the device is installed in a normal fashion with an .INF file.

One driver can drive multiple devices. For example, PCI.SYS can drive multiple PCI busses. For another example, CDROM.SYS can drive multiple DVD/CD-ROM drives.

If you are using a driver, it will only drive those devices that it is associated with. These associations can be produced by either of the following methods:
  • Installing a device using an .INF file.
  • Having a CriticalDeviceDatabase entry for the PnP device ID(s).

As an example, yk51x86.sys is an Ethernet driver. If you are using it to drive a Marvell Yukon 88E8053 PCI-E Gigabit Ethernet Controller with PnP ID VEN_11AB&DEV_4362, that does not mean that it will automatically drive another NIC with PnP ID VEN_11AB&DEV_436A. You still need to use either method 1 or 2, above.

So: Even if you include a driver in a Windows installation and even if you set that driver to start running when Windows starts, you furthermore need to associate the driver with which devices it should control.

A parent device or bus device is responsible for reporting the PnP device IDs of its children or child devices. You can observe the parent-child relationships in Device Manager by choosing View -> Devices by connection.

For example, in:
  • Parent: VEN_8086&DEV_27D0: PCI.SYS: "Intel® 82801G (ICH7 Family) PCI Express Root Port - 27D0"
  • Child: VEN_11AB&DEV_4362: YK51X86.SYS: "Marvell Yukon 88E8053 PCI-E Gigabit Ethernet Controller"
It is PCI.SYS which reports the child PnP device ID VEN_11AB&DEV_4362. It is not YK51X86.SYS.

HAL AND KERNEL

These instructions adapted from my instructions here.

Windows XP/2003 requires that the correct (or at least compatible) HAL and kernel be used for booting. During the porting process, it is sometimes nice to be able to choose your HAL and kernel combination at boot time, in case the combination you thought would work, doesn't.

Assuming you are running the Windows installation on computer model "A" and assuming you are using Service Pack 2, go into your I386 XP/2003 installation directory and perform the following commands:

D:\I386>mkdir c:\halkern\



D:\I386>expand sp2.cab -f:hal*.dll c:\halkern\

Microsoft (R) File Expansion Utility  Version 5.1.2600.0

Copyright (C) Microsoft Corp 1990-1999.  All rights reserved.



Expanding sp2.cab to c:\halkern\halmacpi.dll.

Expanding sp2.cab to c:\halkern\halaacpi.dll.

Expanding sp2.cab to c:\halkern\halacpi.dll.

Expanding sp2.cab to c:\halkern\hal.dll.

Expanding sp2.cab to c:\halkern\halsp.dll.

Expanding sp2.cab to c:\halkern\halmps.dll.

Expanding sp2.cab to c:\halkern\halapic.dll.



7 files total.



D:\I386>expand sp2.cab -f:nt*.exe c:\halkern\

Microsoft (R) File Expansion Utility  Version 5.1.2600.0

Copyright (C) Microsoft Corp 1990-1999.  All rights reserved.



Expanding sp2.cab to c:\halkern\ntkrnlmp.exe.

Expanding sp2.cab to c:\halkern\ntoskrnl.exe.

Expanding sp2.cab to c:\halkern\ntkrnlpa.exe.

Expanding sp2.cab to c:\halkern\ntkrpamp.exe.



4 files total.

This will copy all of the different HALs and kernels into the C:\halkern\ directory. Now rename the default HAL, kernel and PAE kernel in order to more accurately describe them:

D:\I386>cd /d c:\halkern\



C:\halkern>ren hal.dll halstan.dll



C:\halkern>ren ntoskrnl.exe ntkrnlup.exe



C:\halkern>ren ntkrnlpa.exe ntkrpaup.exe

Now you can copy all of these to computer model "A"'s C:\Windows\System32\ directory.

C:\halkern>copy * c:\windows\system32\

halaacpi.dll

halacpi.dll

halapic.dll

halmacpi.dll

halmps.dll

halsp.dll

halstan.dll

ntkrnlmp.exe

ntkrnlup.exe

ntkrpamp.exe

ntkrpaup.exe

       11 file(s) copied.

Now backup your BOOT.INI file:

C:\halkern>cd \

C:\>attrib -s -h -r boot.ini



C:\>copy boot.ini boot.bak

        1 file(s) copied.

And modify your BOOT.INI to provide you with the various HAL and kernel combination choices:

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS



[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="UP HALSTAN" /noexecute=optin /fastdetect /sos /kernel=ntkrnlup.exe /hal=halstan.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="UP HALACPI" /noexecute=optin /fastdetect /sos /kernel=ntkrnlup.exe /hal=halacpi.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="UP HALAACPI" /noexecute=optin /fastdetect /sos /kernel=ntkrnlup.exe /hal=halaacpi.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="UP HALMPS" /noexecute=optin /fastdetect /sos /kernel=ntkrnlup.exe /hal=halmps.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MP HALMACPI" /noexecute=optin /fastdetect /sos /kernel=ntkrnlmp.exe /hal=halmacpi.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MP HALMPS" /noexecute=optin /fastdetect /sos /kernel=ntkrnlmp.exe /hal=halmps.dll

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MP HALSP" /noexecute=optin /fastdetect /sos /kernel=ntkrnlmp.exe /hal=halsp.dll

If you need to use a Physical Address Extension (PAE) kernel such as NTKRPAUP.EXE or NTKRPAMP.EXE, you would have to write lines using those files with the /kernel= option.

Now you are able to choose your HAL & kernel combination at boot-time.

Method #1: Associating the Storage Adapter Live

If you are running the Windows installation on computer model "A", you can [hopefully] pre-install whatever PCI storage adapter is required to boot computer model "B". In order to do this, you will need the storage adapter's PCI ID on computer model "B". One tool which can help you to obtain this information is the Hardware Detection Tool.

Boot the HDT on computer model "B". Look at the computer's PCI Devices. You will need to determine which device is the storage adapter, and record its PCI ID. For example, perhaps the storage adapter is an Intel ® PCHM SATA AHCI Controller 6 Port with PCI ID 8086:3B2F.

Computer model "B"'s vendor should have supplied you with a driver for the storage adapter, assuming it is not natively supported by Windows XP/2003. You will need to find the .SYS driver file for the storage adapter.

Back on the running Windows on computer model "A", you can try to spoof the storage adapter. Since this requires modifying the Registry, now is the time to back up your data on computer model "A", if any of that data is important. Create a file storage.reg like the following:

Windows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3b2f]

"Service"="iaStor"

"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStor]

"Type"=dword:00000001

"Start"=dword:00000000

"ErrorControl"=dword:00000001

"Tag"=dword:00000019

"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

  52,00,49,00,56,00,45,00,52,00,53,00,5c,00,69,00,61,00,53,00,74,00,6f,00,72,\

  00,2e,00,73,00,79,00,73,00,00,00

"DisplayName"="My Storage Driver"

"Group"="SCSI Miniport"





Only you will have to substitute the PCI vendor ID and PCI device ID you recorded earlier instead of where the sample above shows 8086 and 3b2f, respectively. You will also need to substitute the proper driver name instead of where the sample above shows iaStor. Then double-click the storage.reg file to import it into the Registry. Now open RegEdit and navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\drivername\ key, where drivername is the name you chose instead of iaStor in the example above. Edit the ImagePath value to accurately reflect the driver's filename. Copy the driver file to the \Windows\System32\Drivers\ directory.

Now the Windows installation on computer model "A" ought to boot on computer model "B" as long as you choose a compatible/correct HAL & kernel combination. You should be able to verify that the driver has loaded thanks to the /SOS option in the BOOT.INI file.

   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\...

   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\...

   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\iaStor.sys

   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\...

   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS\System32\Drivers\...


Method #2: Associating the Storage Adapter Offline

TODO. The tutorial is a work-in-progress. Please check again later. :cheers:

OK, let's see if some one can help me understand bitcoins

$
0
0
It's something I simply cannot grasp/understand. :w00t:

I've read the very basics:
http://atvelu.poster...why-everyone-is
http://barterfanatic...eck-is-bitcoin/
http://www.economist...irtual-currency
http://anisesmith.am...k-is-a-bitcoin/
http://techcrunch.co.../bitcoin-crazy/

http://www.investitwisely.com/bitcoin-the-digital-currency-of-the-future/

I do understand the freedom idea and the no "central control" thingy.

If I get it right, the idea of most peeps to get rich is to "mine" a bitcoin from a mind-bogglingly big set of cryptographic data by bruteforcing calculations and dedicating CPU/GPU power to it.

The only rational explanation I can find (once excluded the nice "basic idea" and the "freedom and no central control" and "bla and bla", that as a "proof of concept" seems nice and interesting to me :thumbsup: ) is that someone is finding a way to have people consume more electricity and bandwidth with no reason whatsoever :confused1: , with the added "bonus" of a few peeps (possibly) harvesting e-mails in exchange for free bitcoins :dubbio: .

What the heck do these guys do?:
http://www.freebitco...at-are-bitcoins


This shows how old middle-aged I am getting:

The old believe everything; the middle aged suspect everything: the young know everything.


I would be happy :) if any member would try and explain his/her point of view on this thingy and/or help me undrstanding what the heck is all the fuss about this.

The only (nice) thing that I can remember that seems somehow similar to this is Calvin & Hobbes playing Calvinball:
http://www.bartel.org/calvinball/
http://calvinandhobb...wiki/Calvinball

Other kids' games are all such a bore!
They've gotta have rules and they gotta keep score!
Calvinball is better by far!
It's never the same! It's always bizarre!
You don't need a team or a referee!
You know that it's great, 'cause it's named after me!



:cheers:
Wonko

Adding WoW64 to WinPE 10 for 32-bit app support - V2

$
0
0

Made this thread to simplify things as the original has gotten a bit confusing. This essentially enables you to transfer WoW64 from a Win10PESE image to a scratch WinRE/WinPE image.

 

Again, full credit to everyone at The Oven, I just went back through their 5-WOW64.script file.

 

Tested working as of 10.0.586.0, should work for later versions unless Win10PESE changes. Let me know if you have any problems and I will try to help!

 

 

 

Prerequisites

 

1) Untouched WinRE.wim/WinPE.wim (add your own desired modifications after)

 

2) 64-bit Win10PE SE image (by The Oven, google it)

 

Quickest way is to download a fresh Windows 10 ISO from Techbench, extract WinRE.wim from it, and use the ISO to build your Win10PE SE image. The image from which WoW64 originates must be the same version as the target image!

 

 

 

 

The steps

 

1) Delete \Windows\WinSxS from your own image. You will probably need to use an app such as Unlocker. Note that this will take a while.

 

2) Copy in file dependencies from the Win10PE SE image to your own image.

  • The entirety of \Windows\WinSxS
  • The entirety of \Windows\System32\Catroot (merge with existing image)
  • The entirety of \Windows\SysWOW64
    • ​Alternatively, copy the files listed under 'CopySysWoW' and 'DirCopy' sections in the 5-WoW64.script. This may be a 'cleaner' way of doing it but I haven't done this myself.
  • \Windows\System32\wow64.dll
  • \Windows\System32\wow64cpu.dll
  • \Windows\System32\wow64win.dll
  • \Windows\System32\loadWOW64.exe

 

3) Export registry dependencies from the Win10PE SE image and merge with your own image

  • HKLM\system\currentcontrolset001\control\session manager\BootExecute\
  • HKLM\software\microsoft\windows\currentversion\sidebyside\
  • HKLM\software\wow6432node\
  • HKLM\software\classes\wow6432node\
  • HKLM\software\Microsoft\Windows\CurrentVersion\SMI\WinSxS Settings\

 

4) Perform your other modifications. Add all the things that you want to be in your image, etc.

 

Done! If you want to trim the size down, there are elements in the Win10 PE SE project that you can remove (eg AutoIT scripting app if you don't use it, control panel elements, etc etc)

 

 

 

FAQ

 

Error 0xc0000034 when trying to start 32-bit apps

  • Check that the key at BootExecute has been added properly (this is necessary to launch loadWOW64.exe at startup)

 

"Side-by-side configuration incorrect" errors when trying to start 32-bit apps

  • Check that you have added everything at HKLM\software\microsoft\windows\currentversion\sidebyside\

 

"PROCESS1_INITIALISATION_FAILED" upon startup

  • Check that the SysWOW64 files and System32 files in your image are the same version (right click > properties on shell32.dll for example). Eg if you tried to add SysWOW64 from 10.0.240.0 to a 10.0.586.0 target, you would get a BSOD like this.

 

Issues with file > save, file > open, various other GUI elements in 32-bit apps that do not affect 64-bit versions of said apps

  • Check that you have added everything at HKLM\software\classes\wow6432node\CLSID

 

Issues adding packages with DISM relating to corrupted component store

  • Can occur if you deleted the side-by-side regkeys before adding those from the 10 PE SE image. Don't do this!
  • Can probably also occur in other scenarios. As you can imagine, deleting and rebuilding WinSxS is a rough way of doing it, but I haven't had any problems with transferring their WoW64 implementation to my own image this way yet.

 

Issues with already added packages after adding WoW64

  • Probably due to deleting WinSxS during this guide, hence my recommendation to perform this on a scratch image, then add other modifications after.

Win 8 PE beginner

$
0
0

Hello,

I’m a severe WinPE beginner, but I’m trying to build my own working WinPE from scratch. There are a lot of premade WinPEs you can download, but would be something to be proud of if I can get it going myself.

 

I can easily make a bootable USB driver, but what happens is after the boot screen it comes to a command prompt and stops waiting for input. I use the steps below to create the USB drive:

 

1.  copype amd64 C:\WinPE_amd64

2. Dism /Mount-Image /ImageFile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /MountDir:C:\WinPE_amd64\mount

3. Dism /Unmount-Image /MountDir:C:\WinPE_amd64\mount /commit

4. MakeWinPEMedia /UFD C:\WinPE_amd64 F:

 

I hope to get something like Windows explorer to start; desktop icons, start menu, etc. However, this is the part where I’m really stuck at. It seems explorer++ is only a file manager, but it doesn’t show any desktop w/ a My Computer and so on. I’ve been surfing around and found something called bsexplorer. Does anyone know about bsexplorer or another way of getting to the Windows desktop working w/ WinPE?

 

Will I need to create a wpeinit to make the desktop start as I want, or is there another way of making an windows explorer start?

 

My laptop has Windows 8 so I can’t make Windows 10 PE.

 

I realize I’m a severe beginner, but would appreciate any tips or ideas.

 

Thank You

WinPE 8 beginner

$
0
0

Hello,

 

I posted this in a WinPE group but didn't know there was a group for WinPE 8

 

I’m a severe WinPE beginner, but I’m trying to build my own working WinPE from scratch. There are a lot of premade WinPEs you can download, but would be something to be proud of if I can get it going myself.

 

I can easily make a bootable USB driver, but what happens is after the boot screen it comes to a command prompt and stops waiting for input. I use the steps below to create the USB drive:

 

1.  copype amd64 C:\WinPE_amd64

2. Dism /Mount-Image /ImageFile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /MountDir:C:\WinPE_amd64\mount

3. Dism /Unmount-Image /MountDir:C:\WinPE_amd64\mount /commit

4. MakeWinPEMedia /UFD C:\WinPE_amd64 F:

 

I hope to get something like Windows explorer to start; desktop icons, start menu, etc. However, this is the part where I’m really stuck at. It seems explorer++ is only a file manager, but it doesn’t show any desktop w/ a My Computer and so on. I’ve been surfing around and found something called bsexplorer. Does anyone know about bsexplorer or another way of getting to the Windows desktop?

 

Will I need to create a wpeinit to make the desktop start as I want, or is there another way of making an windows explorer start?

 

My laptop has Windows 8 so I can’t make Windows 10 PE.

 

I realize I’m a severe beginner, but would appreciate any tips or ideas.

 

Thank You

Grub4Dos - Change Options on boot

$
0
0

Hi All;

 

I am using Grub4DOS as an automatic recovery option but i was wondering if someone could help with updating the Menu.lst due to peramaenters;

 

The ideal situation is that if Menu Option 1 (saying Windows boot option) fails to load correctly, load option 2 which is a Winpe ISO.

Now i understand that Windows could load successfully, but fail halfway or similar so this isn't really a possibility. So what i would like to be able to do is change the default boot option in the menu.lst when it runs it;

 

For Example:

 

Menu.lst default option to boot WinPE.ISO, before booting it will amend the Menu.lst to say the next time its loaded to default option to boot WindowsXp

 

 

My current code where you have to manually choose your options;

write (md)0x220+1 !BAT\necho -n -P:0000 $[0133]                      --- KFC Rescue my PC ---                                         \0                              
initscript (md)0x220+1

find   --set-root   /PC_Restore/PC.xpm.gz    &&   splashimage   /PC_Restore/PC.xpm.gz
default 0
timeout 5
color white/blue 
color normal=0x0c highlight=0x1e helptext=0x0D standard=0x02 border=0x0c

title Boot to Windows\n
errorcheck off
find --set-root /ntldr || find --set-root /bootmgr
chainloader /ntldr || chainloader /bootmgr

title Rescue my PC!
find --set-root /PC_Restore/GRUB/WinPE.iso
map /PC_Restore/GRUB/WinPE.iso (0xff) || map --mem /PC_Restore/GRUB/WinPE.iso (0xff)
map --hook
chainloader (0xff)

get client processor architecture-type wia TFTPD32 dhcp server

$
0
0

sir please tell me how got client cpu architecture-type . i am using pxelinux 6.0. i want to implement this code in TFTPD32 dhcp server 

 

; This one line must be outside any bracketed scope
option architecture-type code 93 = unsigned integer 16;

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";

if option architecture-type = 0 {
filename "path/to/BIOS/pxelinux.0";
} elsif option architecture-type = 9 {
filename "path/to/EFIx64/syslinux.efi";
} elsif option architecture-type = 7 {
filename "path/to/EFIx64/syslinux.efi";
} elsif option architecture-type = 6 {
filename "path/to/EFIia32/syslinux.efi";
}
}

 

please tell how use this code in tftpd32 dchcp additional option. i successfully apply option number

6 => 'domain-name-servers',

15 => 'domain-name',
54 => 'next-server',
209 => 'config-file',
210 => 'path-prefix',

211 => 'reboottime' 

 

for detail http://www.syslinux.org/wiki/index.php?title=PXELINUX#UEFI

 

 

Is DOS worth learning?

$
0
0

I'm already learning Linux, having dedicated my SSD to it, and am booting Windows 10 on an external HDD. I really cannot think of any other OSes that are worth my time to learn, except maybe one of the BSD variants (most likly FreeBSD), and Hackintosh/OSX. This brings me to the question of the ancient DOS. Is it really still useful today in our modern age? I'm thinking that focusing on Linux is my best bet. I would mainly like to try DOS for the learning experience and maybe to install some old games like Doom, King's Quest series, Hexen, Heretic, etc. (although the latter can be easier played with DOSBox or D-Fend Reloaded, I don't mind learning to manually configure them to work properly).

 

Which now brings the question of original, pure MS-DOS vs a clone like FreeDOS. The former has been largely abandoned, whereas the latter is actively developed. I'm not so much concerned with getting a purist DOS experience, I mostly am just interested in the basic concepts. Original DOS may not boot so well on modern hardware, whereas FreeDOS is more compatible and has improved utilities and better hardware support. What are the chances of getting original DOS running on modern hardware? I had recently tried to boot XP and Hirens on my ultrabook, but got an ACPI error that stopped booting cold, so if that is any indication........There is also the issue of which version of DOS to use, probably 6.22 since it seems to be the widest supported and most commonly used, whereas FreeDOS only has one main version worth considering. And pure DOS is proprietary whereas FreeDOS is open source, although I've never been one to make decisions based primarily on ideologies, I prefer to choose the whatever that gets the job done most effectively and efficiently with the least amount of hassle. In other words, "just works" and by "whatever is necessary".

 

The next concern is booting on real hardware vs a VM. VM is safer and isolated, but works with virtualized hardware, which gives no indication of performance on real hardware. And isn't optimal for video performance in games. My ultrabook isn't exactly built for VMs, and I want optimal performance, so I think native booting on real hardware is better. As long as I don't try to run utilities that have direct disk editing abilities, the chances of destroying my partition table are slim to none.

 

What about booting on an SSD, speed won't be a real issue, and neither will write cycles, given DOS's small size. But I don't think that TRIM will be possible except in an OS that supports it. Does TRIM work on an OS level, affecting only the OS and its' related partitions, or on the whole drive?

 

Can DOS be installed to/booted from a logical partition, or is a primary necessary? I assume that it can. What about GRUB2, will it detect DOS/FreeDOS and add a entry accordingly? Do I need the format the OS partition as FAT32, or FAT16 (the former is preferred for performance reasons)? What about partition size? I need something that will be more than big enough for the OS, utilities, and some games. I have a 17GB torrent that consists of almost every DOS game ever released, but I don't think I'll be needing 20+GB. I'll simply install one at a time as desired.

 

I can't really think of any other questions, so if someone has suggestions, put them forth.


Debian Live

$
0
0
I tried very hard to start a debianlive ( http://live.debian.net/ ) from iso, but it didn't work out well. I simply copied the files inside the /live directory to a subdir (DEB) and everything started to work (I am actually writing from that live distro on QEMU-kvm).

title DebianLive
find --set-root /DEB/live/vmlinuz2
kernel /DEB/live/vmlinuz2 boot=live persistent live-media-path=/DEB/live/vmlinuz2 config
initrd /DEB/live/initrd2.img

HDD Regenerator: Bad command error

$
0
0

I burned an HDD Regenerator to a DVD today and it gives me the error: 

Starting HDD Regenerator...
Bad command or filename

This is also given in grub4dos, for both iso and floppy image (ima). Entry used in grub4dos:

title HDD Regenerator 1.71
find --set-root /data_disk
map --mem /iso/HDDREG171.iso (hd32)
map --hook
chainloader (hd32)

title HDD Regenerator 1.71
find --set-root /boot_disk
map --mem /ima/HDDREG171.ima (fd0)
map --hook
root (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

It works however if it is burned to a CD. And only to a CD. However, the iso and ima images are made from that CD. I don't understand why this happens. 

It only happens with 1.61 and 1.71. 

1.51 works fine.

 

Please help.

Thank you!

Tftpd64 current directory (BaseDirectory) issue

$
0
0

I have not been able to change the directory to anything other than the local C and D drives on my servers (small, less than 100 GB).  I have a local E drive that is about 1.5 TB in size.  I want to use a path on this E drive but it won't take.  Do you think it has something to do with the size?  I have tried to manually change it in the INI file as well as the registry, but it just doesn't take.

[New WinPE] Keyboard Layout Problems

$
0
0

Hey there

 

I recently built a Win7PE live CD with a freshly installed copy of WinBuilder 2016.04.09

 

1. I extracted the program WinBuilder (version: 2016.03.28)

 

2. execute the command update

 

3. Update downloaded but had to install it manually by extracting the zip file and overwriting winbuilder.exe and winbuilder.jar

 

4. started the program again and gave the command AUTO

 

downloaded Win7 iso and build WinPE.

 

The buld is successful but when I boot it I am not able to change keyboard layout in any way.

 

1. Not with the Control Panel:

 

I change the keyboard layout from the control panel but the settings never take effect when I start a new istance of a program such as notepad

 

2. Not with the wpeutil command

 

I Open a Command Prompt and type:

wpeutil SetKeyboardLayout 0409:00000410

and the command is successful, but when I open notepad and try to type something I still have a US keyboard Layout

 

What Should I do?

WinPE on USB running batch in root?

$
0
0

Hey guys, I'm a bit of a nub with WinPE. I have in the past created a bootable PE environment which booted over PXE, and had it launch a batch file which allowed you to run different tools from a network share.

 

What I want to do is boot a WinPE environment from a flash drive, which launches a batch file stored on the flash drive's root directory, so I can launch applications directly from the flash drive's subdirectories, rather than having to rely on a network share. This would be particularly useful in the field, where I don't have access to the network share.

 

I've been having trouble finding any insight on automatically detecting which drive is the flash drive and launching a script from it. I can only ever find stuff on launching applications which are baked into the WIM itself.

 

Any insight would be greatly appreciated! Thanks! :)

Viewing all 6812 articles
Browse latest View live




Latest Images