Windows XP In Your Pocket
BoredStiff writes "Tom's Hardware has a review of the Bart PE Builder software utility takes Windows XP and shrinks the OS to your USB flash drive. Besides converting your mini-drive into an emergency boot disk, you can use the utility to load a Web browser, media burning software and more - to have handy anywhere you go. And by the way, it doesn't violate the Windows XP EULA." From the article: "If your PC has a relatively new motherboard, its BIOS will already include the functions necessary to support USB-attached boot media. If so, you need only make the right selections in that BIOS menu to boot from a USB flash drive. Older PCs, on the other hand, won't accept USB drives as valid boot devices. This means a BIOS update that supports USB boot options is necessary. You can find information about where to obtain such updates from your PC's (or motherboard's) user manual, on the driver CD included with the PC (or motherboard) or on the vendor's Website."
I've been running BartPE on machines at work and it is the best. We tried similar commercial products based on Windows PE and have found this open source tool to be the most flexible way to get a bootable Windows image customized to our corporate profile.
But Bart's is not the officially sanctioned Windows PE: In the Technet Webcast about Windows PE a Microsoft Program Manager (not calling any names) says: "BartPE is an unlicensed version of WinPE and of Windows XP. Something to we really encourage people to stay away from because it is actually an improperly licensed version of Windows".
"The Man" doesn't like BartPE; all the more reason to use it.
"Rocky Rococo, at your cervix!"
You are being MICROattacked, from various angles, in a SOFT manner.
...because Damn Small and Puppy can both do that, too. And as far as I know, it doesn't violate any license agreements either.
Creative misinterpretation is your friend.
So, fellow [male] Slashdotters, is that Windows XP in our pockets, or do we all just have a case of blue balls?
This means a BIOS update that supports USB boot options is necessary. You can find information about where to obtain such updates from your PC's (or motherboard's) user manual, on the driver CD included with the PC (or motherboard) or on the vendor's Website.
And to flash your updated BIOS, just boot the system to DOS using your USB boot drive! See how useful those things are!
Switch back to Slashdot's D1 system.
All pages mirrored here.
Why not just boot one of the gazillion linux distros and fix it that way? You'll get a ton more tools for your capacity as well.
"I'd rather be a lightning rod than a seismometer." -Ken Kesey
you could run qemu or knoppix and have a secure os for that kind of stuff.
w00t
I'm currently running Bart PE off a CD, where I just pop the CD in, boot off it, and a few minutes later I have full access to the machine, and can repair anything that I need to get done...
This USB method will work even better, can just load Bart PE onto my USB drive, load all the applications that I use often, such as Anti-Spyware and more, and go from there....
I wonder if USB drives being so fast, and being read/write, if one day I could just run the entire OS off this USB drive, and pretty much have my complete system working wherever I go....
Bart PE is great... going to try out the USB method right now as we speak...
Need a Nerd?
Nerd Systems
Asking as a business consultant - Would you be able legally put this on a usb stick w/o another license just like you can make a back_up cassette of your CD's under the fair_use clause or would you need another license?
This would be used as a recovery stick.
This was covered long ago. I fail to see how it becomes newsworthy because the goons at Tom's just discovered it. Putting it on a USB flashdrive rather than a CD doesn't really cut it either, though from RTFA, I gather that's what has gotten them breathing heavy.
nope!
"And by the way, it doesn't violate the Windows XP EULA."
Like anyone here honestly cares about that silly text file.
Oh, wait.
I formatted about a month ago and I was looking for a BIOS update to my Asus A7N8X that would allow for USB device boot, but I couldn't find one. Anyone know where I can find one or a pirate bios that supports it?
"Lead my skeptic sight."
Where is my tinfoil hat? I was just downloading something for this this morning to repair an XP home machine from a lost password. Cool timing
The crazy thing is that a "full" install of WinXP (which BartPE is not) can NOT boot from USB. If you don't believe me, try it.
Unbelievable...
Are you happy to see me, or is that a Windows USB key in your pocket??
Which boots into several virtualised operating systems - one Linux, one FreeBSD, one Mac OS X, and one of these shrunken Windows XPs...
Do your graphics work in Mac OS X, copy it across to the Windows machine to do whatever Windows does well, then upload it to the web server test platform on the Linux partition, which accesses the database you've set up on the FreeBSD part. hehe
I've never tried to boot from one. Since flash drives are solid-state, are they faster than a real hard drive?
(I assume that if you're connecting it to a USB 1.0 port, the USB connection would be the bottleneck, and you'd get much faster boot times connecting to a USB 2.0 port.)
That that is is that that that that is not is not.
Some people are way too into this. But when you see M$ Virtual PC running from a RAMDrive, that's just pretty cool.
We use a custom BartPE CD at work for data recovery and malware removal. Makes it easy to run SMART checks and copy off critical data from unbootable HDDs.
And you can run Adaware, McAfee Stinger, HijackThis and other tools on a drive without waking up TSR malware.
BartsPE has a limit on the number of processes you can run and it has to restart after 24 hours. Despite that, it is quite useful as an emergency Windoze especially since it cannot get infected by crapware. However, even the teenie tiny Puppy Linux has more useful features...
Oh well, what the hell...
Fill in the blank...
a) crack
b) dirty needles
c) pot
d) fried food
e) Linux
But mom! all the cool kids are doing it!
This issue is a bit more complicated than you think.
I've had to make a BartsPE CD so that I could use a Windows-only firmware utility. It wouldn't work in Wine, and I didn't know how to use qemu or the like, so I thought of going through the BartsPE route.
I didn't want to pirate a copy of XP, so I downloaded the evaluation version of Windows Server 2003 instead (BartsPE needs at least XP or Server 2003). Although the Server 2003 evaluation version on the harddrive expired after 180 days, the BartsPE CD created from that install still works.
I found that BartsPE was a real pain to build, because you have to hunt down all the software and drivers, and edit *.ini files.
BartsPE is kind of cool, and is better and faster for accessing NTFS partitions than captive-ntfs, but compared to Knoppix (and its derivatives), it's not that useful.
Knoppix has far more and useful software and networks automagically. Unlike BartsPE, you don't need to build Knoppix, you just download it and burn it to CD.
So it is just a matter of time before we see the first virus of it kind jump from pocket drive to users back orffice 0=:
FragHARD or don't frag at all
Okay, I'm just looking for help here, so hopefully I don't get flamed. I run both WinXP and SuSE at home, so I'm not a Microsoft fanboy.
This is the question I'm looking to answer:
Can I use Bart PE to carry around a LiveDVD that contains both WinXP and Visual Studio .NET? If not, is there any other way I can do this?
Bart PE's been arond awhile! I came across an iso image which someone had put on the p2p networks awhile ago... I think they called it "Windows PE" at the time, but whatever... it was Bart.
Anyways... The iso resulted in a bootable cd which allowed you to boot into a stripped down Windows client, a windows installer, partition magic, and a whole host of other useful (and obviously unlicensed ) software.
It looked to be a very helpful "toolkit" to have, since you could basically fix any Windows boot issues, in addition to performing formats, partitions, and such, with the point and click familiarity of Windows. I remember just thinking that being able to boot into Partition Magic was a pretty neat trick, much less to have a workable system (not 100% "working", but useable).
If I recall, BartPE walks the fine line of licensing by requiring the user to create the Windows discs, using their own personal software, so the p2p version was obviously someone's creation they chose to share with the world, but it was still very cool! At the time I remember thinking that it was more accessible than Knoppix for the avg. non-*nix person, at which this is obviously aimed.
I think I'd rather carry around a festering rat corpse.. There's enough spyware on my Windows desktop at work (I use it for Visio, NOTHING ELSE!) without having a portable spywarefest in my pocket.
From the BartPE website:
"Q: Can BartPE boot from USB flash drives (UFD)?
A: Maybe. Does your BIOS supports booting from UFD as if it were a harddisk? The Windows XP FAT bootsector code does not behave correctly when booting from UFD. Bart already "fixed" the FAT bootsector code. But booting from UFD is not stable at the moment. It is very dependent on what exact hardware is used. Some bioses cannot be set to the correct emulation and other systems hang or abort when the windows USB drivers are loaded. Tricky stuff, maybe better support in future..."
(I've used BartPE on a LiveCD, and it works great. One useful link for this is UBCD for Windows, a pretty nice set of plugins.)
Who has disk images for this? I have no idea where my original Window's discs are but would like to have a handy lil tool like this. Anyone have an image from the Flash Drive they produced this way?
A Flash Drive image for a dual-boot Linux/Windows system would be cool too!
At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
What, just in case you need an emergency?
I use this tool at work all the time - mostly for recovering files from problematic systems and for virus/adware scanning. It works great! That said, I tried putting BartPE on a USB key back about 6 months ago to no avail. It works great right up to the point that XP initializes your USB devices - then *POOF*, no more boot drive. The RAM drive is a clever workaround and I will have to give that a shot. If you're using Dell's, however, I wouldn't expect too much luck. The older Optiplex's don't support USB booting and the newest ones seem to not like the BartPE variant. I did have luck with the GX270 series, however. Just posting my experiences for others to learn from...
In theory, theory always works in practice. In practice, theory rarely works. <><
I've posted this article and others about running applications and OS's(linux) from USB drives and other portable devices on my site http://www.no-install.com/. There's also a downloads section for registered users (free) to download and post such applications.
Indeed, BartPE is saving my ass RIGHT NOW, the desktop is booted in BartPE and salvaging files after a hard disk (a Seagate Barracuda) crashed a week after I bought it (still no idea how that happened, I have NO luck with HDDs). Booting from the CD takes quite a bit of time, and I think booting off my USB 1.1 drive would take much, much more. Does anyone have a USB 2.0 and has tested it on it? How does it compare to the CD/DVD version? Also, since the USB drive is read/write, it is much easier to run many programs who require to write (although BartPE creates a temporary RAM drive for that reason). Plus, HUGE bonus on being created as drive A:\, as some stupid programs will only back up partition tables, etc on a floppy drive (I can't even find floppies any more).
Send email from the afterlife! Write your e-will at Dead Man's Switch.
I type this as 40+ machines in the same room as me use PE to launch the installer for our client's baseline system image. It installs the following:
:D)
-Windows XP Pro
-Drivers for the system (detects model and installs appropriate drivers, and extra software - like IBM's Rapid Restore Ultra on all IBM/Lenovo machines)
-MS Office (I'm just a monkey here to run this site's deployment, I don't make any decisions)
-Extra stuff used by the client (firewalls on all laptops, burning software on IBMs with burners, DVD players, etc)
All in all, it's a rather powerful (and simple but extendable) automated Windows installer. I like it.
In fact...I think I'll look into this tonight, and tommorow when I'm back in (Hey, overtime is enough reason for me to not play WoW and come to work, seeing as it's 10 blocks to work
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
I have been using the Ultimate Windows Boot CD http://www.ubcd4win.com/ for a couple of years now. It is built on Barts PE and adds a lot of freeware to the mix. Also for troubleshooting I use a Dos boot CD http://www.ultimatebootcd.com/that has a tone on software for troubleshooting and fixing as well as a way to shell out to Linux.
Yay. I'm so happy that I can have windows on my flash drive. I wonder what a flash drive core dump looks like?? hmmmmm... gee
excellent find, trying it now I wonder what the legal ramifications are ?
I'm actually using it right now.
my windows machine got a virus, booted up and cleaning it with the mcaffee tool.
While thats running, i'm vnced into my linux box (runs headless normally) and using mozilla to post this.
The sad fact is this is all true.
hey, it's cool that pc's can now do what macs have done from day one - which is boot from firewire.
... i didnt think this was possible! (at least usb1; not sure about usb2) ... can anyone elaborate with specifics?
but can mac's boot from usb?
the new opod NANO looks like it would make an awesome boot drive (i was hestiating to buy it for precisely this reason: i didnt know usb was bootable!)
now if someone can only figure out a reliable way to have multiple (bootable) partitions (hfs/ntfs/ufs etc) on a flash drive, then there will be nirvana!
thanx: dlf
and i'm still not bothering to check spelling or preview
To run this at the telemarketing firm where I work. They have just installed brand new Dell computers with no CD-ROM or floppy drives - but they have a USB port right out front.
Can't wait to play games and browse the web instead of taking calls!
Get your Unix fortune now!
I've tried all of those...
Get your Unix fortune now!
You're taking a legal risk there. The files on the CD are in support of the eval copy and are not licensed for other uses. That is where MS is going to come back against Bart's PE and similar products. They are not the full MS software, but they rely on MS files to make them work. That places them in the derivative works category. I'll stick with my trusty Knoppix CD. An audit finding that even suggests unlicensed software can cause years of pain...
I use irony whenever I can, but my shirts are still wrinkled...
No, i dont think so.
Its something similar, but its not a 'unlicensed version'.
---- Booth was a patriot ----
Portable Windows XP. Tomorrow morning, I'll connect my USB drive with a really long USB cable and place it in my toilet, with Windows XP loaded on the drive. Then I'll unload on it. And then we'll be even. Heehee...evil genius.
If you're looking for Windows type rescue disks, go one step further and check out the Ultimate Boot CD for Windows - http://www.ubcd4win.com/ It is BartPE bundled with all of the most useful utils, includeing antivirus, antispyware, file manager, disk diags etc etc etc.
--Scavenger-- http://www.playdecay.com Online gaming the old fashioned way.
Bart PE is a completely reverse engineered version of WinPE, with it's own build process. It is not his own code. It uses Microsoft's own code, and boots using 99.999% of the code WinPE uses. It IS WinPE.
hey, it's cool that pc's can now do what macs have done from day one - which is boot from firewire. I can't remember firewire being around in the 1980s. It was all Appletalk back then; I can't remember them booting over it either.
The Subj is the Question & point of my post.
Nothing to see here, folks. Move along...
Is that a bloated OS in your pocket or are you just happy to see me? Seriously, Bart's PE probably takes up 300MB. Double that for some fancyness in the full blown windows XP that MS ships. Why the fuck does the thing take up like 3GB on my hard drive?
You can find information about where to obtain such updates from your PC's (or motherboard's) user manual, on the driver CD included with the PC (or motherboard) or on the vendor's Website."
yeah, right...
So, how exactly do you use Knoppix to (for example) clean viruses and adware/malware, fix corrupt registry or NTFS drive, or undelete files from Windows system?
I was the Program Manager who said in that presentation that BartPE was a EULA violation (which was the standpoint of Microsoft legal at the time - I left Microsoft last year, so I don't know, and don't really care, their opinion on it today). I owned WinPE at Microsoft from near inception until just over a year ago.
/MiniNT. That causes all necessary aspects of Windows to load as they would for WinPE - because that is what it is. MiniNT was the pre-release nickname for WinPE - hence the OSLoadOptions line that never changed (and why WinPE boots from the MiniNT directory when off the HDD).
BartPE is WinPE. WinPE shipped in 2001 on the same day that Windows XP shipped.
PE Builder is the code Bart has done (I don't mean to short-change it - he has done an admirable job of not only reverse-engineering, but improving, the process) - it shipped in 2003 the first time. His build process creates "BartPE" in the exact same layout as WinPE - because it uses the Windows binaries in exactly the same way. Look in the OSLoadOptions line of the txtsetup.sif file in BartPE for the entry
No, he didn't use an SDK. He reverse-engineered te entire build process for WinPE without an SDK - there isn't one for any part of WinPE. WinPE is built from Windows XP or Windows Server 2003 using a set of tools distributed to those who are properly licensed to use them. PE Builder is an analog to - but a complete reimplementation of - Windows PE's build tool, mkimg.cmd (and it's dependencies).
Would you care to see a windiff of the two to compare the genetics of WinPE and BartPE?
RE: Licensing - Bart has managed to walk a very fine line himself - and he has had interchanges with Microsoft from the beginning. He has kept himself clear of problems by not redistributing BartPE itself. He has put his customers into a potential uncomfortable zone with Microsoft - given that to my knowledge he is not a lawyer, he has bitten off quite a bit if potential liability by advising Microsoft's customers on what their EULA means... But honestly I'm not sure they would ever do anything to a customer using it - since they haven't in the two years BartPE has existed. Any ISV who ever actually distributed BartPE (versus the version of WinPE specifically licensed to ISVs) would most likely find themselves in a legal bind with Microsoft.
Oh, and it's not a Project Manager who would care. Program Managers own technologies - not Project Managers (they track projects).
Why, oh why, would I want to allow Microsoft to be that close to my family jewels?
Or are you just happy to see me?
You see? You see? Your stupid minds! Stupid! Stupid!
Try this. May help.
"Watch your cornhole, bud."
ltarver@gmail.com
ltarver@idlemind.net
ltoney@idlemind.net
ltarver@msmoc.com
mkfs
Yes... not only can you boot from other removable media, but RAM disk too.
:)
9 685&st=0 and http://www.911cd.net/forums//index.php?showtopic=1 1048&hl=
There's two flavours at the moment. ISO based readonly RAM Disk and the SDI based ReadWrite version. I find the latter the better, as it you don't need a secondary RAM Disk to get things like WMI working etc. The above images ISO/SDI images can be loaded over TFTP (F12 - PXE Network boot), CD, HD, USB, or any other bootable media, for real speedy XP. Oh, once the RAM disk is loaded you can remove the boot media too.
If you're interested, a good place to start is
http://www.911cd.net/forums//index.php?showtopic=
On a side note there also a SYSLINUX patch http://remile.free.fr/syslinux/, (Needs a bit more work) that will load SDI images. Currently only works with XPe, so not no WinPE Minint functionality, but it's almost there.
Rob
Area51 - We are watching...
Calm down, man.
My back pocket, that is .... $ $ $ $ $ $ $
C'mon - this is Slashdot. It's not like you were gonna use 'em!
Just the tool I need to boot into Ubuntu when it breaks and clean things up. --David Friedman Bizarro World, GA
This is incredibly silly.
It's been around for more than 4 years and people are acting like it just got discovered.
Bart did his thing back in the day and got busted by Microsoft. That's why its called BartPE now.
The legality is razor thin.. think seriously before tangling with it.
Its the Alpha-Beta version of the Longhorn installer.
Next THW will "discover ADS" it doesn't stand for Active Directory Services any more.
And if you think this is great.. I've got a RIS server I'd like to sell you.. its called PXE..
Perhaps your PSU is bad? Boot up and then apply a voltmeter to the outputs and see what you get.
San
blog.sam.liddicott.com
You can even view/steal other users files that would be locked out with Bart.
I love BartPE But I could do all that with puppy linux and get the SAM in under 5 min and pup had a spread sheet and Word viewer to boot.WTF
Has there been some recent improvement or does Windows PE still boot slower than a snail on quaaludes?
Knoppix blew it a way in speed and functionality both as a rescue platform and as usable system.
Although it's one of the smallest portable USB drives, the Ubuntu H2 is the first Linux solution bootable on an USB Micro Hard Drive.
Ref : Ubuntu H2 : Bootable USB 3GB Micro Hard Drive with Ubuntu Linux
Unless you motherboard is less than a 12-18 months old, don't count on it. It is very rare to see a manufacturer add new features into motherboards older than that.
They will fix serious bugs if they find them, maybe add support for a new type of processor (because it usually requires little effort), but they really don't want to be supporting your board at all any more. They definately don't want to be spending time back-porting code for new features that may very well end up not working or causing problems with your board. Either situation means they have to spend even MORE time bugfixing for this board they just want to be done with.
"The crows seemed to be calling his name, thought Caw."
or do you just like rebooting
Automagically, you said it! Besides, it has QtParted with shrink, copy of partitions build in, mounts NTFS (RO if you like) and *if* you use OO.org & thunderbird etc. you can read back all your files. It seems to be way more useful than a XP startup disk. And you can safe your settings as well, all the setup stuff you need to do is saved for that machine.
-- I'm fuckin'goin', that's all there is to it.
with my A7N8X-X.
But you can find all updates at asus.com
Because nobody would want to type the licence code and register the OS on a reboot.
*Your* family jewels? Didn't read the EULA, did you?
There is NO WAY that Windows XP will be in MY POCKETS, no matter how sexy it becomes!
printf($randomline(sigs.txt) \n "-- "$randomline(authors.txt));
-- myself
Why not use ERD Commander to boot from and fix a windows problem? That's the purpose of it's existence. It's great for popping a locked admin password, file recovery, hotfix rollbacks, etc. Winternals makes a great product. I use it all the time when i'm rolling back a sour hotfix, or recovering the admin password on a machine.
You use this nifty registry editing boot disk to fix the registry
And you use the linux NTFS tools and TestDisk to undelete/unformat/rebuild lost or damaged files and partitions. I use these all the time, they work REALLY well.
I carry around a copy of Damn Small Linux on my USB key, customized with above tools and including an image of the registry editing floppy and endless other utilities. Not to mention, DSL Linux gives me full access to the Debian APT repository! It serves me very well, especially since it can boot entirely into RAM, so I can take my key out and boot additional system.
Never eat more than you can lift -- Miss Piggy
While I think that the EULA is ambiguous enough to make it risky for Microsoft to actually try to litigate its EULA against personal users of BartsPE (which is probably why they haven't done it), I have heard that the BSA tends to err on the side of false positives when they audit corporate sites.
For that reason, I agree that corporations should avoid the risk of using BartsPE in the business environment. The BSA would tend to interpret any ambiguity as a licence infringement, and the company would have to expend considerable legal resources even if they were ultimately proven correct.
As far as personal use goes, I don't believe there is much risk. As I posted, I have only one copy of BartsPE, I haven't distributed images of my copy, and my hard drive install of Server 2003 Evaluation has expired.
Someone make a bootable image...which boots into several virtualised operating systems - one Linux, one FreeBSD, one Mac OS X, and one of these shrunken Windows XPs.
Simple. Install "virtual pc" on OSX, install windows and linux on that. Then include it on an OSX bootable CD. (or, more likely, bootable DVD)
"That's so plausible, I can't believe it!" - Leela
canadiangoose in the post above has replied with a number of specific F/OSS tools to aid with system recovery and filesystem forensics. I would like to add that these tools, and more, are included with a number of Knoppix-derived security LiveCD distros. Here is a partial list:
As I posted before, BartsPE is a cute tool that was useful in running a Windows-only firmware tool, and it is superior to captive-ntfs when transferring large amounts of data from NTFS partitions. However, it feels absolutely crippled compared to Knoppix. Since I mostly use Linux at home and work, I have fortunately been spared the necessity of doing a lot of system recovery and malware cleaning; I cannot comment as to whether BartsPE or Knoppix is better at these tasks for Windows systems.
In fact, I did use ubcd4win. Building a BartsPE CD, even with ubcd4win is still a relatively complex process, because the licences attached to the various bits of Windows software does not permit binary distribution of a whole CD image. Therefore, users are required to collect the software parts separately and build an image themselves, each and every time. ubcd4win is convenient in that it collects a number of popular packages to make this process easier, but it still requires some work.
Contrast this with Knoppix, where anyone who remasters it can post their customization for the world to download. Consequently, customizations only have to be done once by one developer, not by every single user. As a user, all I have to do is download the Knoppix remastered *.iso and burn it.
This would explain the plethora of Linux Live CDs, mostly which are Knoppix derivatives and to some extent SLAX. Contrast with the BartsPE world: there is huge dearth in the variety and selection of software for Windows LiveCDs. Further, the Linux LiveCDs are full operating environments, completely identical to hard drive installs, whereas BartsPE (and ubdcd4win) are only intended as recovery platforms.
SATA-I (or simply SATA) is 150MBps. SATA-II is double that at 300GBps. Wikipedia to the rescue!
All of these alternatives are peachy, but they still don't address the one most valuable use of BartPE. Namely, the ability to run adware/spyware scanners from a clean environment. Unfortunately, there's nothing equivalent to Ad-Aware or Spybot S&D for windows that will run off a Live Linux distribution, TTBOMK.
Just about every day, something that looks like Windows XP comes out of my ass. Why would I want to carry that around in my pocket?
> Don't know about 2.0, but USB 1.0 works well: my thin client boots out of one everyday in 20 to 30 sec.
Aaaargh, I blew it again!
The OS image is on a flash module mounted on the IDE interface (this known as a disk-on-module). Throughput must be a lot greater than USB 1.1.
Sorry if I unwillingly misled anyone. I meant no harm.