Jump to content











Photo
- - - - -

Full XP on USB Removable Logical Drive


  • Please log in to reply
30 replies to this topic

#1 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 08:13 AM

Full (Generic) XP SP3-Slipstreamed on USB Removable (Encrypted) Logical Drive (EWF)


Hi, all!

Ok, starting from here http://www.boot-land...?showtopic=5315

or here http://www.911cd.net...mp;#entry148627

I found a way in order to install a full XP on a Logical Drive of any USB devices as Removable drives, with consequent both maximum compatibility BIOS/USB-drives and maximum freedom to choose about both your preferred file-system and your partition size, and furthermore with no preparation or pre-treatment of your Removable USB Flash Drive in order to make it bootable.

Logical System Drive of your Removable USB device will result easily encryptable too: all my tests have been done with TrueCrypt 6.0a, but it seems that also other encryption software are (and should be!) properly working under XP from a Logical Drive http://www.boot-land...?...ost&p=41077 , furthermore all my tests have been done with already encrypted Logical System Drive (but it is not strictly needed).

RAW (Sector-By-Sector) image backup of your Logical System Drive is easily restorable and finely workable on any USB device independently if it is as Fixed Disk or as Removable Drive.


This is the story... beginning with an USB Fixed Disk (USB Hard Disk or USB Flash Drive pre-treated with Lexar utility as Fixed Disk) all you have to do in order to reach a workable and fully restorable image backup of your XP on USB Logical Drive is as follows:

1. Boot from your USB-device where XP is installed on Logical Drive following my above linked method and reach your desktop: your usual IDE HDs can already be connected to your system in order to easily take all needed.

2. Connect your Removable USB Flash Drive with all Unallocated space and let Windows to automatically detect it and to install its own drivers.

3. Create a folder named "microdrive" and copy into it all needed files about Hitachi Microdrive Filter.

4. Modify related INF file in order to recognize your Removable USB Flash Drive(s).

5. Copy "microdrive" folder on your working XP USB in "\Windows\system32\drivers\".

6. From Device Manager select your Removable USB Flas Drive and update standard Windows driver with Hitachi Microdrive (> Reboot now).

7. Now with HDHacker replace your Removable USB Flash Drive's MBR with a "NotInitialized" one (not sure if it can be avoided, but always I've done that).

8. Reboot your system again, but this time from your IDE XP and reach your (IDE) desktop (please, let your Removable UFD connected).

9. Create a RAW backup image of the whole USB Device in which you have installed Hitachi Microdrive Filter (USB Device of 8 GB in size seems to me a perfect choice in order both to have enough space for your Logical System Drive and for your possible other one, two, further Logical Drives inside your Extended partition and to have not too large RAW image backup to save and to store): please, note that RAW mode for image backup is needed not only when your Logical System Drive is encrypted, but also because in that way then you can restore your RAW image backup without the need to install Hitachi Microdrive Filter under your IDE XP in order to re-partition every time your Removable USB Flash Drives, in fact RAW image backup is restorable on Unallocated space of any Removable USB Devices with no further preparation!

10. Restore the RAW image backup just created on any USB Device: Removable drives or Fixed disks, as you want. Obviously you must restore RAW image backup on Removable drives of which you've previously installed Hitachi Microdrive Filter under a working XP-USB, if not it's clear that it will not work! However, if you restore it on Fixed Disks the issue does not arise.

11. Done!

12. Now your Full XP will be able to boot and to work from a Logical Drive of any USB devices: Fixed disks and Removable drives! :cheers:


The above procedure should result in some advantages of great importance: in fact, the first FAT (and Active) partition is widely preferred by most if not all BIOSes in order to boot USB devices, then you will reach an excellent BIOS/Hardware compatibility with no special preparation and/or pre-treatment of your Removable USB Flash Drives.

On your Removable USB Flash Drive your can create a Logical Drive with your preferred file system and it can be of any preferred size, maintaining a high compatibility with most BIOSes.

Your Logical System partition is flawlessly encryptable.

Your RAW images backup (of your encrypted or not encrypted Logical Drive) are restorable and properly working on any Removable USB Flash Drive with no pre-treatment.

Furthermore, please note that a Logical drive is obviously created inside an Extended partition, with additional advantages that this fact implies (about that, please ask to jaclaz! :cheers: http://www.boot-land...?...ost&p=40980 ).

Frankly, it does not seem to me too little...


Cheers! :cheers:



Btw: for now it's all, and I did not want to wait for... further details, links and screenshots will follow shortly.

#2 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 08 August 2008 - 08:56 AM

online,
I had to correct ALL links in your post. :cheers:

Please be careful when you copy and paste from another Forum post:
http://www.911cd.net...o...c=21895&hl=

"Long" links get easily broken, as the copy command copies the text as displayed instead of the full link.


jaclaz

#3 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 11:38 AM

jaclaz,
you're right: I thought of everything, except the broken-copy of links... :cheers:

Thank you so much, for your time too! :cheers:

#4 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 01:49 PM

Would it be possible to fix an XP installation disk, so that install into any kind of USB-Drive would be possible?

NO.
Hitachi Microdrive Filter needs for its own installation an INF related file that must contain the HardwareID of each specified USB Flash Drive (taken from the first line of related UFD entry of the following registry key "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR"), so an assumed installation of any USB Flash Drive is impossible. :cheers:

Then, even if you can "fix" XP installation CD-ROM (and I do not think) you do not solve anything and the issue remains the same: so my above procedure is surely a better way because you can add HardwareIDs of all USB Flash Drive that you currently own in a single step and then restore the RAW image backup on each ones very simply.

If you tomorrow will buy a new Removable device you will must (very easily) upgrade your RAW image backup and then to discard the previous one: really, nothing of difficult.
So, sincerely, if you think of all that is behind the whole procedure in order to reach a full XP on USB devices that issue is really the smallest thing! :cheers:



Btw: (as I said in opening post) if you "give" me a while I will add all further details and links shortly... :cheers:

#5 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 08 August 2008 - 02:00 PM

Hitachi Microdrive Filter needs for its own installation an INF related file that must contain the HardwareID of each specified USB Flash Drive (taken from the first line of related UFD entry of the following registry key "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR"), so an assumed installation of any USB Flash Drive is impossible. :cheers:

Yes, but it should be possible to re-create those entries via batch, adding to BOTH the SETUPREG.HIV and HITAMDFD.INF. :cheers:

jaclaz

#6 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 02:38 PM

Yes, but it should be possible to re-create those entries via batch, adding to BOTH the SETUPREG.HIV and HITAMDFD.INF.

Good to know, but so I would must re-create a new modded XP installation CD-ROM every time for every "new" device I handled... :cheers:

It's not easier and unexpensive (and maybe even safer) to upgrade the RAW image backup when (and if) needed with a real Filter driver installation (just few mins in order to do that and no chance of something goes wrong)?

Btw: sorry if I'm not an expert and I (really, Google) do not know "HITAMDFD.INF"... maybe it was "cfadisk.inf"?

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 08 August 2008 - 05:37 PM

@online
Yes, that's how I personaly renamed the .INF file, but there is no Copyright on it, you can use it as well. :cheers:

@Medevil
Do we have a list of the contents of Registry key :cheers::
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR
used in PE? :cheers:

FYI, it's something like this:
Disk&Ven_KINGMAX&Prod_USB2.0_Flashdisk&Rev_1.00\23000000001BC7&0

Can you give me a link to such a resource?

jaclaz

#8 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 08 August 2008 - 05:41 PM

Hitachi Microdrive Filter needs for its own installation an INF related file that must contain the HardwareID of each specified USB Flash Drive (taken from the first line of related UFD entry of the following registry key "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USBSTOR"), so an assumed installation of any USB Flash Drive is impossible.

You are sure?

Launch 'devcon.exe hwids "USBSTOR\*"' and post output.
http://support.micro....com/kb/311272/

What about generic HardwareID "USBSTOR\GenDisk" ?

Compare
http://www.911cd.net...&...st&p=142544

However there is a drawback:
HardwareID "USBSTOR\GenDisk" match a USB hard disk (fixed) too.
No idea about filter and USB hard disk.

#9 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 07:45 PM

Easiest to find will it be in the USB script, but XPE-AIO contains them too.


For which purpose you have that list of HardwareIDs?
Are they useful in order to install Hitachi Microdrive for any USB Flash Drive?
And in which way, please?
If it is so I will be very happy to know that way! :cheers:

See that's the beauty, we already use a compiled list of HwId to get USB-Sticks working. In PE!
Unless someone has ever come across a stick not working, the HwIds are no problem. Has anyone?

Maybe here we are a bit off-topic, however I'm really very interested: working in PE, what? And how, please?
And for which purpose "we already use a compiled list of HwId to get USB-Sticks working. In PE!"?
Here the topic is "Full XP on USB Logical Drive" with (or without) "Hitachi Microdrive Filter" install: do you think or do you know how to do in order to reach an installation of that filter driver for any USB Flash Drive in a way in which I can create an image backup (or any other way) that restored on any USB Flash Drive then boots and works under full XP from a Logical Drive?
If it is so I am very happy to hear this! :cheers:

#10 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 08:28 PM

it's something like this:

Disk&Ven_KINGMAX&Prod_USB2.0_Flashdisk&Rev_1.00\23000000001BC7&0

Yes, and more precisely, resulting needed lines in "cfadisk.inf" are like following. :cheers:

USBSTOR\DiskJetFlashTS2GJFV30_______8.07



USBSTOR\DiskPEAK_II_Flash_Drive_____0.00



USBSTOR\DiskPEAK_II_Flash_Drive_____1100



USBSTOR\DiskPhilips_USB_Flash_Drive_1100
Furthermore let me understand, please:
you say that "it should be possible to re-create those entries via batch, adding to BOTH the SETUPREG.HIV and HITAMDFD.INF".
Well, if I understand what you mean (and sure I have little knowledge), you say that I could detect "those" entries via batch and then to add themselves into XP installation CD-ROM in order to install Hitachi Microdrive under current and working Removable device where I want to install XP from its (modded) CD-ROM. Right?
Ok, but I wonder: if is that possible then which usefulness you would reach about the topic?
I want to say: do you think that this installation then would be restorable on a new Removable USB Flash Drive?
Frankly, if so was I would be more than happy! :cheers:
But if it is not so, then in presence of a new Removable USB Flash Drive I would must re-install XP (and modding and burning a new CD-ROM) on that new Removable device... that's it would be useless.
Have you tried that way?
Or has someone you know tried that way?
I cannot believe that it is so, then if you very kindly would must point me to that so interesting way I would appreciate it so much and I thank you very much in advance! :cheers:

#11 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 10:04 PM

You are sure?

Is it possible to install Hitachi Microdrive Filter Driver for any Removable USB Devices in a singke step (in a single XP installation) that working for any Removable USB Drive?

However there is a drawback:
HardwareID "USBSTOR\GenDisk" match a USB hard disk (fixed) too.

Many thanks for your suggestion, but here we are talking about Removable devices, image backups working on any USB Removable devices and XP installed on Logical Drive and I'm not yet sure that all arguments are really in topic, but maybe I'm wrong...
Indeed, I begin to think that we (all we) are talking about some different topics...
I read much interesting thinkgs, really much interesting things: but are those things useful about the real topic?
I will hope that! :cheers:
Have you never tried before of now a similar way in order to reach a "Full XP on USB Logical Drive"?
And furthermore, have you never reached an image backup restorable on any different Removable devices with any kind of device itself preparation and with a minimal hacking and minimal time spent in order to upgrade the image backup itself that will work really on any Removable device?
Sincerely, I repeat that I read very much interesting things about different issues... but I do not yet believe that some of them can be useful about the topic.
So, if I was wrong then I will very be happy to learn about that for now only assumed way.
If I well-understand are you saying that I could install Hitachi Microdrive Filter for any Removable USB Flash Drive in a single step, with a single installation and then with an image backup that will work for each ones?
If it is so, I am very surprised, really! And I thank you so much if you will show me how.

No idea about filter and USB hard disk.

I have "some" ideas, indeed, about "Full XP on USB Logical Drive": and if I trace the Hitachi Microdrive Filter installed on a new Removable USB Flash Drive I discover that "oemx.inf" and "oemx.pnf" become modified in some lines inside them.
That "cfadisk.sys" is added to "system32" folder.
That Windows does the backup of " disk.inf", "disk.pnf" and "disk.sys" relatively to Removable device.
That the Registry "suffers" at least the following additions (please, see the attachment).

So many thanks again really, but if you know or if you found a way in order to reach an universal and working install of Hitachi Microdrive Filter (then, a working and restorable image backup) valid for any Removable USB Flash Drive and that does the same changing that I reported above, then I will be thanking for a lot of time... :cheers:

Attached Files

  • Attached File  md.zip   3.18KB   663 downloads


#12 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 08 August 2008 - 10:29 PM

Results that I reported here are inherent just to a Full (Generic) XP SP3-Slipstreamed on USB (Encrypted) Logical Drive (EWF), then as already said probably is all a misunderstanding because of "Generic" means just that it working on different machines.

Only that one could install XP directly to a USB stick without any trickery, just like to a IDE HDD.

This is the minimum, and not too difficult at all, but here I was talking about something much more far: then, would I must consider your conclusion interesting?

You could restore to a different USB drive but only on the same computer or a computer with identical hardware.

Really? :cheers:

To get a normal XP to work on different hardware is very, very tricky.

MedEvil, the way that is described in this topic is just that! :cheers:

In this way, my way, you can reach a Full (Generic) XP... on USB Logical Drive! :cheers:

#13 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 09 August 2008 - 08:40 AM

Hey, peeps, let's keep things cool, OK? :cheers:

The point is not to transform this thread in one of those pretty much pointless XP vs. PE, Fat32 vs. NTFS, Vista vs. XP, Godzilla vs. Mickey Mouse threads. :cheers:

@Medevil,
please point me to a LINK for (or exact name) of a .script where I can find the needed information.
This is the home page of LiveXP:
http://livexp.boot-land.net/
WHICH one is the .script you have in mind?

@Online
It is possible to gather information from a given USB device.
What I had in mind was something like the following:
1) create and test the XP on a given stick
2) insert the stick in a booted PC
3) image it locally and extract it
4) insert another stick in the same PC
5) gather the needed info from the second stick
6) transfer/copy the install from the image to the second stick
7) change the needed stick info to the second stick's Registry

Let's go on in steps.

Now, let us for the moment forget the possible problems of portability of such an environment on very different hardware, let's concentrate to a way to have an easily duplicable system on more that one stick working on the same, single machine.

After having succeeded in that, we will see what happens when attempting to boot the stick on different machines.

jaclaz

#14 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 09 August 2008 - 10:40 AM

I found some of entries you previously gave hints about, and I can confirm once more that they are not useful for the Hitachi Microdrive Filter driver ".inf" file. :cheers:

#15 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 09 August 2008 - 10:59 AM

At this point, I think that I will must try to summarize and to clarify the topic in order to explain at my best (sorry if it will not be THE best for ALL) the contents of the method that I've devised.

As all know, Dietmar Stölting ("Dietmar" is the nick-name on 911CD.net Community http://www.911cd.net...showtopic=14181 ) in the far 2005 year succeeded in a great job: to reach a full XP booting and working on an USB device (Hard Disk), while Microsoft declared (and probably yet declares) that XP cannot run from USB device (!).

Dietmar and many enthusiastic dudes reached also the way to boot and to work full generic XP on USB Flash Drive, and always Dietmar found a way to install Hitachi Microdrive Filter (born for CompactFlash) on Removable USB Flash Drive, in order to see them under Windows as Fixed Disks, then where was possible to partition the (now ex) removable drive and to overcome the limits of Removable devices (please, inform yourself about that limits).

And Dietmar did much more of that: he found another great way in order to run a full XP not only on one machine (his machine), but on all machines.

Then he coined a new term: Generic (XP), just in order to easily identify by the readers that it was a generic installation of XP, with crucial generic drivers, hacked both registry entries and some INF files, that can boot and run on all machines.

From those year onwards a consistent part of enthusiastic dudes have first of all thanked then used, refined, enlarged, improved Dietmar's method (famous his Tutorials) in order to interpret his discoveries about different usages and different needs.
The most relevant and followed of those that I now remember are NGINE method and USBoot method, always based on Dietmar's job.

After this exhausting premise I would want notice that my way described in this topic is related first of all to a Full Generic XP installation reached following a combination of methods as yet described here.



The news are that for the first time a generic XP is installed on a Logical Drive of an USB device (Hard Disk and Removable drives) following my way as described here:

http://www.boot-land...?showtopic=5315

or here

http://www.911cd.net...o...st&p=148627



In order to make the thing possible is needed a CD-ROM of XP installation created following NGINE method and an USB Fixed Disk (Hard Disk and/or Flash Drive as physical Fixed Disk) in order to pre-partition it with a first (and small) FAT partition followed by an Extended one with Logical Drives inside.

After the XP installation on the Logical Drive is needed to follow partially Dietmar's Tutorials #3 and #6 in order to make that XP installation as a really Generic one.

Now that you have your Generic XP installed on your Logical Drive would be a fine thing to can easily transfer it on ALL your USB devices, otherwise all the job would be only an half job.



Well, following my method described in this topic you will be able to do just that: creating a RAW (Sector-By-Sector) image backup of your Generic XP and restoring it on every your USB devices, Fixed Disks and Removable ones, without any kind of special preparation, that until now seemed a needed condition.

The advantages of having a Full generic XP installed on a Logical Drive are already and widely described by me in this topic.


In conclusion, a Full Generic XP installed on a Logical Drive is a completely new idea and if someone kindly manages to make improvements, new and workable ideas to upgrade everything said here, he will be more than welcomed! :cheers:

#16 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 09 August 2008 - 11:41 AM

SERVICE POST:

There have been some serious misunderstandings in this thread, that led to a flame war between online and Medevil, notwithstanding my attempts to stop it.

online started it, and sure enough Medevil kept it on.

BOTH are however equally responsible and have been officially warned, according to Rule #7:

7. You are expected to be mature when discussing in threads. Racism, pornography, threatening, profanity, or excessive vulgarity is not tolerated. :cheers: This community is built upon mutual respect. You are not allowed to flame other members. People who do not respect personal opinions and/or personal work will be warned in first instance. If you ignore the warning and keep on flaming, you will be banned without notice.


But this episode, in itself of very little or no relevance, shows how much Rule #12, maybe the most important of all:

12. SMILE! :cheers: Life is tough, we all know that, when you enter this board, it will be appreciated that you leave your personal problems behind, asking and replyinq questions or however exchanging informations with a "positive" attitude, TAKE IT EASY :cheers: and enjoy your stay here.

is neglected. :cheers:

Particularly, I am saddened by Medevil's decision to ignore my warnings and by his unilateral decision to self-delete all his own posts in the thread after I had closed it, thus abusing of his permissions as .script developer and showing an unjustifiable lack of respect towards me in my role of Admin of the board.

However, the thread is now open again, the sun is shininig, it's a bright new day, enjoy! :cheers:

jaclaz

#17 jazs

jazs
  • Members
  • 9 posts
  •  
    Afghanistan

Posted 09 August 2008 - 11:42 AM

Hi Online,
I had some kind of your idea from your link above.
My testing was "How to move OEM xp home system (it was still in xp sp1) to any pc without reactivation?"
I moved that system originally from HP with AMD cpu to a generic pc (P4) and to a Compaq (Celeron) with success.
So far I remember, it worked on dell too, but it must be reactivated.

Base on the link below
http://www.murga-lin...5d2717c3110031d

Just created an virtual-image on my 20 Gb HD.
My image is so far very flexible, you can run it anywhere you want, even on apple mac (I don't have mac os, but logically it will work on that machine, just need to install extra drivers).

Have fun!

#18 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 11 August 2008 - 02:32 PM

@online
Sorry, haven't understood so far. Can you clarify:
How do you boot XP?
Does your USB-stick contain a primary partition?
Are files ntldr and boot.ini part of logical drive?

General idea was: add to cfadisk.inf
[cfadisk_device]

%Microdrive_devdesc% = cfadisk_install,USBSTOR\GenDisk
Remove other custom addons.

That way, you can install cfadisk to any USB storage device.
At device manager select driver yourself.

PNP add registry settings
REGEDIT4



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\usbstor#gendisk]

"Service"="disk"

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

"LowerFilters"=hex(7):63,66,61,64,69,73,6b,00,00
That's HardwareID USBSTOR\GenDisk is connected to disk.sys, PartMgr.sys and Lowerfilter cfadisk.sys.
However PNP add decive specific settings too.

CriticalDeviceDatabase is part of basic windows boot.
KB314082 http://support.micro....com/kb/314082/ describe mass storage boot requirements.
This requirements goes to any mass storage boot device, of course settings has to be adjusted.

Intermedia test:
XP at local hard disk.
cfadisk.sys installed at USBSTOR\GenDisk, compare above.
File disk.inf renamed (PNP add USB stick that way).
File oem??.inf renamed (was cfadisk.inf).
File infcache.1 deleted.
Shutdown.
16mb, yes mb, MC card at USB card reader. Not connected so far.
boot.
Disk management can delete and create two partition at 16mb MC card.
Cfadisk.sys is active.


Is this a general USB (partition at removable device) boot solution?
Not tested so far.
Be careful: disk.inf or oem*.inf may load other drivers.

#19 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 13 August 2008 - 10:26 AM

@jazs
Interesting, thank you very much! :whistling:
Have a nice day! ;)



@cdob
I thank you very much for your replies that I found interesting, but unfortunely I do not think that they can be strictly useful about "Full XP on Logical Partition of Removable USB devices".
Also because, about the topic the Microdrive issue really is not an issue! ;)
So it is already solved in my method.
However I will read with attention your informations: we never know! ;)

Btw: generally speaking about PE environments you could be right (actually I'm no longer too applied in PE environments) and I confirm that I found it interesting, but just for the record and for a better communication, also I remember you (all) that I was not myself to raise that issue! ;)

#20 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 13 August 2008 - 11:09 AM

Full (Generic) XP SP3-Slipstreamed on USB Removable (Encrypted) Logical Drive (EWF)


I've just realized that my previously described method is not clear enough, so let me explain my idea in a possibly clearer way. ;)



Preamble:

I always read that Full (Generic) XP on USB devices must be installed (and booted) on the First Primary (Active) Partition: and it is surely true!

Nevertheless I've recently devised a way to install and to boot Full XP on a Logical Partition of any Removable USB-Stick, running on any machine!

With some advantages over the first.


Then I want to share my experiences about it...



Applicability:

My method was born thinking about the following considerations.


1. The USB Flash Sticks are Removable devices.

2. The Removable devices always have one single Primary partition with the same size of the whole stick.

3. The booting from USB Removable devices is not too simply reachable, due to hardware-compatibility with BIOSes.

4. The vast majority of BIOSes strictly prefer, about the booting from USB Removable devices, the First Primary (Active) Partition in FAT file-system.

5. The FAT file-system has some limitations, at least in its maximum allowed size: 2.047,7 MB.

6. If a different file-system will be chosen for the first primary (active) partition then it will strongly reduce the BIOS/USB-Stick compatibility and then the capability to boot, with a lot of issues and a lot of artifices forcing to variously "handle" the Removable USB-Stick in order to make itself as "bootable".

7. The free open-source TrueCrypt (6.0a) System Partition Encryption often does not work at boot under XP on USB devices (both Removable and Fixed) if Windows is installed on the first primary (active) partition, and it seems that BestCrypt (shareware) does the same.


So I thought that if I would have created on my Removable USB-Stick two partitions, the first one as a primary (active) partition in FAT and then the second one as an Extended partition with 1 (or more) Logical partition(s) inside, I would have been able to achieve the following advantages:


1. The highest level of compatibility BIOSes/USB-Sticks at booting, due to the fact that BIOSes would have always seen just a FAT partition as the first active partition.

2. The highest level of freedom in order to choose the preferred numbers (unlimited) of Logical Partitions (inside the Extended one).

3. The highest level of freedom in order to choose the preferred file-system for Logical partition (FAT32, NTFS) with any contraindications.

4. The highest level of freedom in order to choose the preferred partition size (the only possible limitation is due to Removable USB-Stick total size!).

5. The flawlessly Encryption of Logical System Partition, just where Windows resides (if wanted).

6. The flawlessly installation of Enhanced Write Filter RAM-REG Overlay (if wanted, but it is needed with NTFS on USB-Sticks).

7. And furthermore the Removable USB-Stick does NOT need ANY kind of intervention in order to make it as "bootable"!


Well, but on Removable USB Sticks it's not possible to create more than one single primary partition (large exactly as much as its maximum size) without at least some tweaks!

This was true, but if you will use my method you will reach exactly the following: a Full (Generic) XP bootable on any machine and installed on a Logical (FAT32/NTFS) Partition of your Removable USB-Stick with the First Primary (Active) FAT Partition and with a Logical System Partition, without touching your Removable USB-Stick! :whistling:


So, in order to reach the above described results you will need the following:


1. An USB Hard Disk* (that we will call "Host-USB" drive) and at least a Removable USB-Stick (that we will call "Guest-USB" drive).

2. A Windows XP installation CD-ROM created with NGINE method (I used XP SP3-Slipstreamed).

3. To partially follow Dietmar's Tutorials #3 and #6 (to make your XP-USB as XP-Generic, in order to properly boot from your USB-Stick on any machine) as described here.

4. The Hitachi Microdrive Filter driver installation files.

5. The RAW image backup of your Guest-USB drive (then a related image backup software).

6. The Free Open-Source TrueCrypt 6.0a (as optional... AS OPTIONAL??? ;) ).

7. EWF installation files (as optional, but needed if NTFS is on UFD!).




*Really it could be also an USB-Stick as physical Fixed Disk; so, in order to physically transform an USB-Stick as Fixed Disk, it's needed to flip its Removable Media Bit ( http://www.911cd.net...showtopic=21850 ) that is to TRY with Lexar BooIt software: if it works, ok; if it does not work, then you need an USB Hard Disk. However, I recently purchased for $ 40,00 a LaCie USB device that in an external size of a Credit Card contains an USB Fixed Disk 8 GB.



Conclusions (about Partitions Visibility):

Please, think about the following: if and when you will see ALL partitions of your Removable USB-Stick this means that it has been "transformed" into a Fixed Disk (but remember that it happens from software-side, because you have NOT touched at all your Removable USB-Stick!), then this means that you've booted from your Removable USB-Stick or that you've installed Hitachi Microdrive also on the host machine!

Otherwise, if you will see only the first FAT primary (active) partition this means that you've connected on any host machine your Removable USB-Stick not for booting, but just as a simple Removable USB-Stick.

So if you want to use your Removable USB-Stick for shared file opearations too, then the advisable better way is to create the First Primary (Active) FAT Partition not too small, but in the largest possible size about your needs: however it will cannot be larger than 2.047,7 MB (a still respectable size to share your files!).

Otherwise, if you "strictly" want to share the whole size of your USB-Stick on any machine, the only way is to use the same "microdrive" folder that resides on your Removable USB-Stick (in "\WINDOWS\system32\drivers\") in order to install itself on any host machine where you "strictly" need!

On the other hand if your System Partition is Encrypted (and about your data privacy it would must be just that!) then the other partitions rather than the Firts Primary (Active) FAT Partition will result not visible on any other machine, at any rate!

In short, then you can use the first primary (active) FAT partition as your Trusted Zone, and the Logical Partition(s) as your Restricted (Encrypted) Zone!

Furthermore, if you must just share "something" that is in your Restricted (Encrypted) Zone then a simple booting from your Removable USB-Stick itself will be enough in order to gain the access to all what you own in that Zone and that you can easily copy into your Trusted Zone: much more time to describe it that to do it!



Greetings to all! ;)




Btw1: please, note that all what I've described above is obviously valid for USB Hard Disks too!


Btw2: I just wonder if my method could be useful in PE environments too, but actually I'm no longer too applied in PEs; so, if some dude would try it under his PE environment and then would report any kind of results then it could be a nice thing... ;)



Posted Image
Peak Xtreme2 200X 32 GB Removable USB-Stick Encrypted

Posted Image
Peak Xtreme2 200X 32 GB Removable USB-Stick Encrypted EWF-Protected booted on 1st machine

Posted Image
Peak Xtreme2 200X 32 GB Removable USB-Stick Encrypted EWF-Protected booted on 2nd machine

#21 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 14 August 2008 - 12:44 PM

Full (Generic) XP SP3-Slipstreamed on USB Removable (Encrypted) Logical Drive (EWF)

Hi, all!
Really I think that would be needed some further summarized informations, so I've regrouped all the steps in the following


Quick Start Notes



1. Under your IDE XP: connect your Host-USB (Fixed Disk), delete all partitions that it possibly contains and re-partition it as follows:

the First Primary partition in FAT of your needed size (max size: 2.047,3 MB) and make it as Active; then create an Extended partition of your needed size (for example, in my case now it is 6.000 MB, and I created into it 2 Logical Drives); then create 1 (or more) Logical Partition(s) inside it, in FAT32 or NTFS file-system.

Please, note that you have to format the above partitions NOT in Quick mode.

Furthermore, please consider that I noticed also that if TrueCrypt Boot Loader (or possibly other ones) was previously installed for any reason on your Host-USB, then it could continue to reside in the MBR of your Host-USB also after the (re)partitioning & (re)formatting.
So, in order to reach a reproducible way with ANY strange issues I suggest you to replace the MBR of your Host-USB with a XP standard one or with a "NotInitialized" one before the partitioning.
After you've replaced it with a "NotInitialized" one (with HDHacker http://dimio.altervista.org/eng/ ), then please reboot your machine under your IDE XP and open Disk Management.
At this point Disk Management will show the "Welcome to the Initialize and Convert Disk Wizard" window: then you will do as follows: click on "Next > Select disk to initialize (that will be already selected!) > Next > Finish".
Now your Host-USB will have a "new" XP standard MBR!
Then you will can safely partition your Host-USB as described above!
Otherwise, if you are sure that your Host-USB already have a clean standard XP MBR, then you can directly partition it (but, please, you have to be sure!).


2. Insert NGINE XP CD-ROM, turn-off your machine and disconnect all other IDE Hard Disks, but not your Host-USB (just pre-partitioned).


3. Now turn-on your machine and boot from your CD-ROM, then install XP on the second partition of your Host-USB, that's just a Logical partition!


4. Complete the installation and reach your desktop.
Please, note that during and after the complete installation, for only two-three times before to reach your Desktop you will must wait for 2-3 mins on a blank screen (!): so, please do not exit from your installation thinking something was gone wrong!


5. Disable all these: Paging File, System Restore and "Automatically restart (at System Failure)".


6. Turn-off your machine, connect your IDE Hard Disk(s) and boot from your IDE XP (let your Host-USB connected).


7. Follow related notes in order to reach a "XP Generic after NGINE install" (here or here).


8. Then boot from your Host-USB (with any IDE Hard Disk(s) connected) and follow again the above linked notes in order to update some drivers with the standard ones: now, you finally have your Host-USB in which a Full Generic XP is installed on a Logical partition.


9. Turn-off your machine, connect your IDE Hard Disk(s) and boot from your Host-USB again. Then copy "microdrive" unzipped (direct download http://www.xpefiles....rvr1224_320.zip ) folder (6 files - 20 kb) on your Host-USB in "\WINDOWS\system32\drivers\".


10. Connect your Guest-USB (that's your Removable USB-Stick) with no data inside.


11. Edit "cfadisk.inf" as follows: Device Manager > Disk drives > Select your Removable USB-Stick > Select Details flag > Select "Hardware IDs" > Select and copy (CTRL+C) the FIRST related line.
Then paste this line in "cfadisk.inf" as follows:

[cfadisk_device]
%Microdrive_devdesc% = cfadisk_install,PasteTheLineHere


Please, note that if you wanted to use ANY your Removable USB-Stick for this purpose in order to simplify your job you can repeat the above procedure for ALL your Removable USB-Sticks (if wanted), so that your "cfadisk.inf" file will appear with something like the following inside:

[cfadisk_device]

%Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskJetFlashTS2GJFV30_______8.07

%Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPEAK_II_Flash_Drive_____0.00

%Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPEAK_II_Flash_Drive_____1100

%Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskPhilips_USB_Flash_Drive_1100

%Microdrive_devdesc% = cfadisk_install,USBSTOR\DiskJetFlashTS2GJFV10_______8.07
So will be easiest to install Hitachi Microdrive also for ALL your Removable USB-Sticks.
Really you can do that in a single step: at first editing "cfadisk.inf" and including ALL entries related to ALL your Removable USB-Sticks, and then installing Hitachi Microdrive for all your Removable USB-Sticks in a single step, one at a time.

After that (and after all notes followed), you will can create a RAW image backup of your Guest-USB that will contains the Hitachi Microdrive Filter driver already installed for ALL your Removable USB-Sticks and then the same RAW image backup will can be restored and it will work on ALL your Removable USB-Sticks with any your further intervention!


12. In Device Manager (> Disk drives) select your Guest-USB and update its driver with "Hitachi Microdrive Filter driver": Driver > Update Driver... > Install from a list or specific location (Advanced) > Don't search. I will choose the driver to install. > Have Disk... > Browse... > Select "cfadisk.inf" existing (and pre-edited!) in "\WINDOWS\system32\drivers\microdrive\" > OK > Select "Hitachi Microdrive" in "Model" pane > Next > "Update Driver (Compatibility) Warning" window > YES > Finish > Reboot now.


13. Repeat the Hitachi Microdrive Filter driver installation for all your Removable USB-Sticks (if wanted).


14. After the reboot(s) you will be again on your Host-USB desktop, so turn-off your machine and disconnect both your Host-USB and Guest-USB.


15. Shutdown Windows and then boot from your IDE XP: now insert your Guest-USB (Removable USB-Stick) and let Windows both to recognizes and to install it, then in Device Manager update its standard driver with Hitachi Microdrive Filter driver (> Reboot now).


16. After the complete reboot: shutdown Windows, remove your Guest-USB and boot from your IDE XP again.


17. Create a standard image backup of your Host-USB (optional, because then you can simply do the copy of all needed files & folders from your Host-USB to your Guest-USB).


18. Always under your IDE XP insert your Guest-USB and both partition and format it (NOT in Quick mode) just like your Host-USB is, and make as Active the first FAT partition.


19. Restore the previously created standard image backup of your Host-USB on your Guest-USB (or simply copy all files & folders from your Host-USB partitions to your Guest-USB respective ones).


20. Shutdown Windows and boot from your Guest-USB in order to verify that all is going right.


21. Then shutdown Windows and boot from your IDE XP again.


22. Now create a RAW image backup of the whole your Guest-USB disk.

From this moment you could also forget your Host-USB!

In the future if you want to add a new Removable USB-Stick to your XP-USB installation then you can do that under your just updated Guest-USB: so you will get an always updated RAW image backup of your Guest-USB that you can restore on any your Removable USB-Stick without both to install Hitachi Microdrive Filter and to partition it.

Really the RAW image backup of the whole disk is needed only if your Guest-USB have been already encrypted, but at any rate to use it allows the advantage to restore it on any Removable USB-Stick without the need to partition it (and then without the need to install Hitachi Microdrive Filter).

Please, note that:

a. The Hitachi Microdrive Filter driver installation under your IDE XP (and the consequent partitioning of your Removable USB-Stick) is needed only one time and only for the first your Removable USB-Stick.

b. A RAW image backup of the whole your Guest-USB disk can be restored on ANY further Removable USB-Stick with any further action (so, no Hitachi Microdrive Filter and no partitioning).

c. A standard image backup of your Guest-USB can be restored only if your Removable USB-Stick is partitioned, that's only if Hitachi Microdrive Filter have been installed.

So you can choose between two alternatives:
* to use a RAW image backup of the whole your Guest-USB disk although your Guest-USB's system partition is not encrypted: the image backup size will result larger, but then it does not need ANY further action in order to restore itself on ANY your new Removable USB-Stick;
* to use a standard image backup (but it is possible only if your Guest-USB's system partition is NOT encrypted) and then under your IDE XP to install Hitachi Microdrive Filter for any new Removable USB-Stick in order to partition it: the image backup size will result smaller, but then you must under your IDE XP both to install the Hitachi Microdrive Filter for any your new Removable USB-Stick and to partition it.
At all events, easier to do rather than to describe!


23. Now you can restore your RAW image backup just created on (any) your new Guest-USB (Removable USB-Stick) with ANY further action (no Hitachi Microdrive Filter install and no partitioning).

Please, note that obviously your (any) new Removable USB-Stick must be large in size enough in order to "contain" the RAW image backup of your Guest-USB!
In other words, when you create the needed partitions of your Host-USB before the NGINE CD-ROM install you must have in mind that then the resulting RAW image backup will have the SAME total size of the whole Guest-USB disk.
For example: on my Host-USB I've created the First Primary (Active) partiton in FAT = 1500 MB. Then I've created an Extended partition = 6000 MB. Then I've created two Logical Drives inside it = 4500 MB & 1500 MB.
Now, when I will create a RAW image backup of the whole Guest-USB disk then the RAW image backup itself will result of a size equal to the sum of all previously created partition, that is: 1500 + 4500 + 1500 = 7500 MB (the possible remaining unallocated space is not relevant in order to can restore the image backup on other devices, but it is important when you create the RAW image backup).
It's clear that then you will cannot restore that RAW image backup on any device that is smaller of 7500 MB in size! :whistling:


24. Done!
Now you can boot from your (any) Removable USB-Stick your Full (Generic) XP on USB Logical (Encrypted) Drive with the highest level of success at booting under any BIOS(es), in your preferred file-system, on any machine, without having touched your new Removable USB-Stick! ;)



If needed you can use TrueCrypt (6.0a) in order to encrypt your System partiton (that is a Logical partition) when you want, then you will can re-create an actual RAW image backup that will be capable to be restored (TrueCrypt Boot Loader and Volume Header included) and to work on ALL your removable USB-Sticks with ANY your further intervention.

Please note that you have to encrypt the System Logical Partition only (just where Windows resides), so the First Primary (Active) FAT partition, that contains only Windows boot files (7 hidden files - 320 kb), will remain not-encrypted (we called it as a "Trusted Zone") and then it will can be also useful regarding your file opearations and/or sharing.


Enjoy! ;)

#22 michaeltheclyde

michaeltheclyde

    Newbie

  • Members
  • 12 posts
  • Location:so-cal
  • Interests:women, music and women, in that order
  •  
    United States

Posted 03 September 2009 - 01:42 PM

i don't mean to be the typical arrogant american, but can i get this in english?, i'm from texas and i speak southern slang (very poorley at that)

#23 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 03 September 2009 - 02:06 PM

i don't mean to be the typical arrogant american, but can i get this in english?, i'm from texas and i speak southern slang (very poorley at that)


Well, you may want to appear a little bit more "sympathetic" than that. :)

This is an international board, where the "common language" is English, and although I concur with you that from time to time it may appear to a native English speaking (which comprises almost entirely, but not quite, Britain and a few of the Commonwealth countries, and definitely NOT the US) as "pidgin English", users of the board manage to communicate and understand each other nonetheless.

It is at least peculiar that an "almost native English" speaking guy, like an US citizen should be, is having bigger difficulties to read an Italian guy writing in pseudo-English than, say, a German or a French guy.

I wonder whehter the problem is not mainly in the language used, but rather on a few ideas/methods/concepts given by already known or implied by the Author of this guide.

I would advise you to start a new thread, asking for help on the specific issue, detailing what you want to achieve and quoting specifically the parts that you have difficulties with, I am sure that some of the members will try their best to clear the obscure parts, and once you will be successful with the install, you may be able to supply a better worded tutorial.

:)

jaclaz

#24 michaeltheclyde

michaeltheclyde

    Newbie

  • Members
  • 12 posts
  • Location:so-cal
  • Interests:women, music and women, in that order
  •  
    United States

Posted 03 September 2009 - 02:34 PM

nice, but i thought it would neeeeever end, just kidding, i really appreciate the fact that it's in ENGLISH i can understand, seeing as how i'm from the country and all
thanks, michael

#25 michaeltheclyde

michaeltheclyde

    Newbie

  • Members
  • 12 posts
  • Location:so-cal
  • Interests:women, music and women, in that order
  •  
    United States

Posted 03 September 2009 - 03:11 PM

probably not since i speak a very poor version of what i call english, the problem lies not with the author but, with the reader and his simple, shall we say mind,
i mean look at my post i don't even capitalize my nouns.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users