IPB

Welcome Guest ( Log In | Register )

> Boot from USB/Firewire HD without BIOS support, Fake Signature Method
s4e
post Mar 6 2008, 03:44 AM
Post #1


Member
**

Group: Members
Posts: 18
Joined: 11-April 06
Member No.: 18,684



The concept is build a fake HD image, with same signature as external HD. After boot stage1, Windows will match the external HD signature against boot loader information, and think the external HD is the boot disk, and continue boot stage2.

Before start, you need GRUB4DOS, and VMWare, and contig.exe from sysinternals. Here is the detail method:

1. Throw external HD into VMWare as a raw disk, make it USB Boot friendly.
2. Create a 0.1G pre-allocated VMWare image, run contig against the *-flat.vmdk file.
3. Format this VMDK, same filesystem format as external HD.
4. Copy Following file from external HD to VMDK partition:
CODE
\BOOT.INI
\NTDETECT.COM
\NTLDR
\WINDOWS\AppPatch\drvmain.sdb
\WINDOWS\FONTS\svgafix.fon
\WINDOWS\FONTS\svgasys.fon
\WINDOWS\FONTS\vga850.fon
\WINDOWS\FONTS\vgaoem.fon
\WINDOWS\INF\biosinfo.inf
\WINDOWS\system32\bootvid.dll
\WINDOWS\system32\c_1250.nls
\WINDOWS\system32\c_850.nls
\WINDOWS\system32\hal.dll
\WINDOWS\system32\kdcom.dll
\WINDOWS\system32\l_intl.nls
\WINDOWS\system32\ntkrnlpa.exe
\WINDOWS\system32\ntoskrnl.exe
\WINDOWS\system32\config\system
\WINDOWS\system32\drivers\

here 850 is your XP default codepage.
5. Copy first 0x1be bytes of bootsect from external HD to *-flat.vmdk.
6. Change bytes from 0x1b0 - 0x1be, make the VMDK has same MBR checksum as external HD. MBR checksum is sum of 128 ULONG value.
7. Load this VMDK from GRUB4DOS:
CODE
map --read-only (...)/...-flat.vmdk (hd0)
map --hook
rootnotverify (hd0,0)
chainloader +1
boot
Go to the top of the page
 
+Quote Post

Posts in this topic
- s4e   Boot from USB/Firewire HD without BIOS support, Fake Signature Method   Mar 6 2008, 03:44 AM
- - jaclaz   Interesting approach. Is it tested? Why using ...   Mar 6 2008, 04:49 AM
|- - s4e   QUOTE (jaclaz @ Mar 6 2008, 05:49 PM) Int...   Mar 6 2008, 09:20 AM
- - Dietmar   Hi s4e, this is indeed a very interesting approac...   Mar 6 2008, 01:23 PM
|- - s4e   VMWare is not mandantory, but it make life a lot e...   Mar 6 2008, 06:28 PM
- - jaclaz   Yes, I was thinking about using QEMU, and as said ...   Mar 7 2008, 06:34 AM
- - Dietmar   Hi s4e, I am working on Your fantastic idea. Two ...   Mar 9 2008, 05:46 AM
|- - s4e   Windows don't support 2 disk with same signatu...   Mar 9 2008, 06:57 AM
- - Dietmar   Hi s4e, first try is BSOD 0x34. I wonder, whethe...   Mar 9 2008, 08:21 AM
|- - s4e   It's simple. First fire the VMWare, create 0.1...   Mar 9 2008, 10:24 AM
- - Debian   you've sparked a revolution dude! guess I...   Mar 9 2008, 11:12 AM
- - dennis123123   Wow, it's a bit confusing atm, but once the ge...   Mar 10 2008, 02:50 AM
- - Dietmar   Hi all, is it possible to chainboot a whole XP.im...   Mar 10 2008, 05:16 AM
|- - s4e   Yes, it works. chainloader has two form: ramdisk a...   Mar 10 2008, 07:55 AM
- - Dietmar   Hi s4e, I tried so much different approaches, but...   Mar 10 2008, 08:52 AM
- - Debian   eventually sdb1 booted with XP installed.   Mar 10 2008, 02:19 PM
- - jaclaz   @Debian Really, you should post something more tha...   Mar 10 2008, 03:29 PM
- - s4e   The bootsector must identical or same signature ...   Mar 10 2008, 06:24 PM
- - Dietmar   Hi all, some strange things are going on, hihi....   Mar 11 2008, 07:36 AM
|- - s4e   Yes, I assume the external HD has single active pa...   Mar 11 2008, 08:57 AM
- - jaclaz   Wait a minute, now I am really confused, can we re...   Mar 11 2008, 08:46 AM
- - s4e   Here is a small program calcuate bootsect checksum...   Mar 11 2008, 09:26 AM
- - jaclaz   s4e, really I cannot understand. You are talking...   Mar 11 2008, 10:08 AM
- - Dietmar   Hi all, I boot my XPMini.vdmk image (NTFS) (witho...   Mar 11 2008, 10:10 AM
- - s4e   cs.zip(cs.exe) attached in previous post. The tar...   Mar 11 2008, 10:38 AM
- - Dietmar   Hi all, I succeed to boot into a XP.img via grub4...   Mar 11 2008, 12:42 PM
- - Dietmar   YEEEAAAAHHHYYIIPPPIIEEEHH, thank You so much s4e ...   Mar 11 2008, 07:51 PM
- - dennis123123   I'm looking forward to the long awaited tutori...   Mar 12 2008, 02:44 AM
- - Debian   you really don't stop till you succeed do you...   Mar 12 2008, 02:58 AM
- - jaclaz   QUOTE (Dietmar)Today I can write the missing Tutor...   Mar 12 2008, 05:57 AM
- - Dietmar   Hi jaclaz, do you know a tool for XP, with which ...   Mar 12 2008, 06:04 AM
|- - Debian   QUOTE (Dietmar @ Mar 12 2008, 07:04 AM) H...   Mar 12 2008, 06:15 AM
- - jaclaz   I am not sure I got the question correctly , it...   Mar 12 2008, 06:35 AM
- - Dietmar   Hi jaclaz, in commandline simple typing VDK.EXE...   Mar 12 2008, 06:54 AM
- - jaclaz   Happy it helps you. On a side note, VDK commands...   Mar 12 2008, 07:20 AM
- - Dietmar   Hi jaclaz, when I use the command VDK.EXE CREATE...   Mar 12 2008, 07:42 AM
- - jaclaz   As said, use MBRBATCH/MKIMG to create a new image:...   Mar 12 2008, 08:16 AM
- - Dietmar   Hi jaclaz, you are right, that in protected mode ...   Mar 12 2008, 10:07 AM
|- - s4e   Yes, it's very easy to add new BOOT storage de...   Mar 12 2008, 10:38 AM
- - jaclaz   @Dietmar Well, no. Qemu use the "normal...   Mar 12 2008, 10:48 AM
|- - s4e   OK. Before jump into NTOSKRNL, NTLDR will load 2 r...   Mar 12 2008, 11:08 AM
|- - jaclaz   QUOTE (s4e @ Mar 12 2008, 05:08 PM) OK. B...   Mar 12 2008, 02:11 PM
- - Dietmar   Hi all, I just succeeded with XP Booting from USB...   Mar 12 2008, 05:44 PM
- - jaclaz   QUOTE I just succeeded with XP Booting from USB wi...   Mar 13 2008, 04:40 AM
- - Dietmar   Hi all, does anyone tried the Etboot (by Dhilip8...   Mar 13 2008, 05:59 AM
|- - Joshua   QUOTE (Dietmar @ Mar 13 2008, 11:59 AM) d...   Mar 13 2008, 06:29 AM
- - jaclaz   As I see it, there is no need to use the ETBoot me...   Mar 13 2008, 06:35 AM
|- - s4e   Yes. jaclaz' post describe all the problem an...   Mar 13 2008, 08:12 AM
- - Dietmar   Hi jaclaz, I also think, that the idea of a gener...   Mar 13 2008, 09:05 AM
|- - jaclaz   QUOTE (Dietmar @ Mar 13 2008, 03:05 PM) j...   Mar 13 2008, 11:18 AM
|- - Ed_P   QUOTE (Dietmar @ Mar 13 2008, 10:05 AM) I...   Mar 13 2008, 04:47 PM
- - Dietmar   Hi jaclaz, I do not succeed to boot the xp.img fr...   Mar 13 2008, 05:34 PM
|- - s4e   The SYSTEM hive problem is not some key used by NT...   Mar 13 2008, 08:13 PM
- - jaclaz   @Dietmar please do use the suggested command line...   Mar 14 2008, 06:44 AM
- - Dietmar   jaclaz, you are the greatest It works, with --m...   Mar 14 2008, 08:40 AM
- - jaclaz   Glad it is working now! I am not sure I unde...   Mar 14 2008, 11:42 AM
- - Dietmar   Hi jaclaz, I figured out, that it is a time relat...   Mar 14 2008, 06:26 PM
- - dennis123123   Great news Dietmar! Just one question though, ...   Mar 14 2008, 06:31 PM
- - Dietmar   Hi dennis123123, 39 MB - 30 MB unneeded drivers a...   Mar 14 2008, 06:38 PM
- - FM_81   Only for understandment, and sorry for highjacking...   Mar 15 2008, 01:18 AM
|- - jaclaz   QUOTE (FM_81 @ Mar 15 2008, 07:18 AM) Som...   Mar 15 2008, 09:53 AM
- - FM_81   Thank you, jaclaz! - to point 2: that's cl...   Mar 15 2008, 01:36 PM
|- - jaclaz   QUOTE (FM_81 @ Mar 15 2008, 07:36 PM) - t...   Mar 15 2008, 01:57 PM
|- - FM_81   QUOTE (jaclaz @ Mar 15 2008, 08:57 PM) Wh...   Mar 15 2008, 04:06 PM
- - Dietmar   Hi all, I am just sitting on my Gericom Notebook...   Mar 16 2008, 10:21 AM
- - Debian   Hi Dietmar once again awesome work keep in mind ...   Mar 16 2008, 07:10 PM
|- - Ed_P   QUOTE (Debian @ Mar 16 2008, 07:10 PM) ke...   Mar 16 2008, 10:05 PM
- - jaclaz   I do not agree fully with the suggestions about fo...   Mar 17 2008, 08:42 AM
- - Dietmar   Hi jaclaz, I chose this geometry 128/63 and NTFS...   Mar 17 2008, 08:53 AM
|- - jaclaz   QUOTE (Dietmar @ Mar 17 2008, 02:53 PM) O...   Mar 17 2008, 09:16 AM
- - dennis123123   Great! nice work in producing Tutorial 7 I h...   Mar 17 2008, 09:40 AM
|- - jaclaz   QUOTE (dennis123123 @ Mar 17 2008, 03:40 ...   Mar 17 2008, 10:19 AM
|- - dennis123123   QUOTE (jaclaz @ Mar 17 2008, 03:19 PM) NO...   Mar 17 2008, 10:53 AM
- - Dietmar   Hi jaclaz, you need exact the following files to ...   Mar 17 2008, 10:31 AM
- - Dietmar   Hi all, strange things are going on: I noticed, t...   Mar 17 2008, 12:13 PM
- - jaclaz   @Dietmar Believe me, after all I wrote those batch...   Mar 17 2008, 03:56 PM
- - Dietmar   Hi all, I tested some things for USB boot with no...   Mar 18 2008, 05:19 PM
- - jaclaz   QUOTE (Dietmar)Only XP.IMG was made USB boot frien...   Mar 19 2008, 03:01 AM
- - Dietmar   Hi jaclaz, I think, that perhaps on one compi the...   Mar 19 2008, 04:04 AM
- - FM_81   I'm not sure, if this is (or can) related to t...   Mar 19 2008, 04:12 AM
- - Dietmar   Hi FM_81, the Key MountedDevices is build always ...   Mar 19 2008, 05:55 AM
- - s4e   Windows Disk order determined by driver & prob...   Mar 19 2008, 07:45 AM
- - Dietmar   Hi s4e, you seem to have a lot of knowledge. I se...   Mar 19 2008, 07:50 AM
|- - s4e   There's no order relationship between int13 di...   Mar 19 2008, 10:06 AM
|- - bilou_gateux   QUOTE (s4e @ Mar 19 2008, 04:06 PM) Anoth...   Mar 22 2008, 01:38 PM
- - Dietmar   Yeaah, I solved the problem I renamed atapi. sy...   Mar 19 2008, 09:52 AM
- - Dietmar   Hi s4e, I make a try with the LoadOrderGroup you ...   Mar 19 2008, 10:30 AM
- - Dietmar   Hi s4e, the trick of setting atapi.sys to start=1...   Mar 19 2008, 11:47 AM
- - Dietmar   Hi all, with an Fat32 XP.IMG you cant start an NT...   Mar 19 2008, 01:08 PM
- - Dietmar   Yeah, I started my Gericom Blockbuster Noteboo...   Mar 19 2008, 03:42 PM
- - jaclaz   @FM_81 FYI: http://www.911cd.net/forums//index.php...   Mar 20 2008, 03:54 AM
- - Dietmar   Hi jaclaz, yes, the problem with the loadorder of...   Mar 20 2008, 04:31 AM
- - jaclaz   QUOTE Therefor, you need an idea, how the new regi...   Mar 20 2008, 05:05 AM
- - Dietmar   Hi jaclaz, the changes in registry have to be w...   Mar 20 2008, 05:18 AM
- - jaclaz   Yes, if XP.IMG resides on a writable volume it can...   Mar 20 2008, 06:20 AM
- - Dietmar   Hi all, we do not understand until now, what happ...   Mar 20 2008, 08:24 AM
- - Dietmar   Hi all, I succeed to integrate a registry entry t...   Mar 20 2008, 10:01 AM
- - Dietmar   Hi all, I make a try with the USB Boot methode fr...   Mar 20 2008, 04:22 PM
- - ktp   QUOTE (Dietmar) PS: Please tell me, if you succeed...   Mar 31 2008, 09:18 AM
- - jaclaz   QUOTE (ktp @ Mar 31 2008, 04:18 PM) .... ...   Mar 31 2008, 10:20 AM
3 Pages V   1 2 3 >


Reply to this topicStart new topic
4 User(s) are reading this topic (4 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th February 2010 - 10:37 AM