![]() ![]() |
Nov 24 2005, 11:39 AM
Post
#1
|
|
|
Junior ![]() Group: Members Posts: 86 Joined: 12-October 05 Member No.: 76411
|
Hey -
I've done some digging around, and I can only find one comment on booting to install XP Pro from a USB key. That's on the http://www.experts-exchange.com forum, which is a PAY for information one ... As Stallman says, information should be free Given that CDs only hold around 700meg, maybe 800, and that 2G USB keys are now common, I would like to set up an XP Pro installation on a USB key. Pop in the key rather than a CD, set to boot from USB-HDD, and install away, with more room for apps etc. Note - this is not actually running XP from the key - I've seen lots of examples of that. This is basically emulating a normal CD install, just sourcing it from a USB key rather than CD. Any ideas ? D. |
|
|
|
Nov 24 2005, 10:35 PM
Post
#2
|
|
|
Gustatus Similis Pullus Group: Super Moderator Posts: 5903 Joined: 9-September 01 From: United States Member No.: 311 OS: Vista Ultimate x64
|
You'd need a BIOS that is capable of using the USB key as a boot device - I know this is common in newer machines, but not quite sure how widespread this is yet.
However, if your BIOS supports USB booting, it is possible: http://www.aaltonen.us/archive/2004/03/01/...b-key-addendum/ |
|
|
|
Nov 25 2005, 10:36 AM
Post
#3
|
|
|
Junior ![]() Group: Members Posts: 86 Joined: 12-October 05 Member No.: 76411
|
Yup - I've seen that page. Actually booting from the USB key is not the problem. It's setting up the files, boot image etc, on the key that's the hiccup.
The CD normally boots via the Microsoft Corporation.img bootimage. That's a tiny program that then loads up setup.exe, which in turn is only 1.3k in size. I'm guessing that Microsoft Corporation.img also does the "press any key to boot from CD" msg ... It's a pity that syslinux doesn't support cluster sizes greater than 16K, which limits it to 1G filesystems. That would be ideal to have a generic installation USB key, able to install XP Pro, Linux etc, all right from one device. D. |
|
|
|
Nov 26 2005, 12:03 PM
Post
#4
|
|
|
Gustatus Similis Pullus Group: Super Moderator Posts: 5903 Joined: 9-September 01 From: United States Member No.: 311 OS: Vista Ultimate x64
|
You might consider putting WinPE (or bartPE) on the USB key to kick off the installations - that might be a better road to take than installing directly from the USB key. From the PE you could format the hard disk(s), copy the files to the disk, and start the installation using your unattended file.
This post has been edited by cluberti: Nov 26 2005, 12:04 PM |
|
|
|
Nov 26 2005, 12:10 PM
Post
#5
|
|
|
Newbie Group: Members Posts: 23 Joined: 5-November 05 Member No.: 78748
|
|
|
|
|
Nov 27 2005, 11:34 AM
Post
#6
|
|
|
MSFN Master Group: Software Developers Posts: 2983 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
QUOTE (Halfwalker) Note - this is not actually running XP from the key - I've seen lots of examples of that. Oh, yeah, can I ask you where? As far as I know, the ONLY project that ever succeeded in booting XP from a USB key/drive is Dietmar Stoelting's one, published first time at the end of October 2005, still VERY experimental: http://home.graffiti.net/jaclaz:graffiti.n...SB/USBfaqs.html http://www.911cd.net/forums//index.php?showtopic=14181 However as I see it, the easiest way to achieve what you want is to install some kind of DOS/Win9x OS on the stick then run the 16 bit install program WINNT.EXE. There are some known problems using it if you use nlite with it and there could be some problems about drive lettering also, but it shoul be possible to find some workarounds for these latter ones. Using a BartPE install on the USB pendrive and using the 32 bit install program WINNT32.EXE has no known problems, but you will need enough space for the BartPE install and it's booting will be slow. jaclaz |
|
|
|
Nov 27 2005, 10:21 PM
Post
#7
|
|
|
Junior ![]() Group: Members Posts: 86 Joined: 12-October 05 Member No.: 76411
|
So how exactly is the CD starting the install ? It doesn't need any 32bit OR 16bit environment ... The Microsoft Corporation.img loader comes up and starts up setup.exe. There must be an emulation for the MasterBootRecord of the USB drive that can hold and properly load up in the same way ...
If syslinux could handle larger than 16k clusters, it would work fine. Use memdisk, and point the initrd at Microsoft Corporation.img. memdisk requires diskette images, so it may not work that way, so perhaps isolinux - that takes no-emulation boot records. Heh, I take back the lots - I did see Dietmar's page, and a few others as I recall. All via google and a couple of hours of digging around. But definitely more than one. I skimmed them looking for examples of installing via USB drive, but no luck. D. |
|
|
|
Nov 28 2005, 03:17 AM
Post
#8
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 620 Joined: 11-October 05 Member No.: 76348
|
Setup.exe is a 32 bit program and is not used when booting from a CD. Microsoft Corporation.img loads setupldr.bin. Setupldr.bin does the text mode setup based on txtsetup.sif and winnt.sif.
|
|
|
|
Nov 28 2005, 08:24 AM
Post
#9
|
|
|
MSFN Master Group: Software Developers Posts: 2983 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
Setup.exe is a 32 bit program and is not used when booting from a CD. Microsoft Corporation.img loads setupldr.bin. Setupldr.bin does the text mode setup based on txtsetup.sif and winnt.sif. ....and as you can rename setupldr.bin to NTLDR as when building a WinPE/BartPE: http://www.nu2.nu/pebuilder/ http://www.prime-expert.com/flashboot/down...s/UserGuide.pdf ....or rename NTLDR to setupldr.bin as seen here: http://daniweb.com/techtalkforums/showthread.php?t=4644 ...you should have a good start. Also, have a look at this, seemingly completely unrelated but useful if you want to make a multi-install hard-disk (as the multi-install DVD depicted): http://www.magiciso.com/tutorials/miso-cre...multi-os-cd.htm Just for the record, the answers on the "pay for site" you mentioned can be viewed, at least at the moment, here: http://216.239.59.104/search?q=cache:2c_1H..._21475584.htmla It seems like you got same or better answers here for free.... jaclaz |
|
|
|
Nov 28 2005, 10:29 PM
Post
#10
|
|
|
Member ![]() ![]() Group: Members Posts: 286 Joined: 10-September 05 From: Mumbai - India Member No.: 72458
|
If the USB device in question supports booting from it, it would have come with a utility to make it bootable including selecting emulation ( usb : floppy, hdd, cdrom, zip, ls-120 or what ever else your bios might support), the boot image & all the files you want on it. If you do this & manage to boot from it all you have to do is to select the option of copying the installation files to the HDD & you are all set.
|
|
|
|
Nov 29 2005, 07:47 AM
Post
#11
|
|
|
Member ![]() ![]() Group: Members Posts: 295 Joined: 2-June 05 Member No.: 58695
|
check out ...
http://www.911cd.net/forums//index.php?sho...6&mode=threaded i have bartpe on a usb stick....so any pc that supports usb booting...i can just pop in my usb stick and load my bartpe without a cd. works pretty good also when i need to update the image, i don't waste any more cd's. This post has been edited by net_user: Nov 29 2005, 07:47 AM |
|
|
|
Mar 23 2006, 02:15 PM
Post
#12
|
|
|
MSFN Master Group: Software Developers Posts: 2983 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
Just to keep things together, a small howto to boot from BartPE (CD) to install XP has been posted here:
http://www.msfn.org/board/HOWTO-Unattended-CD-with-BartPE-t68252.html adapting it to USB drive/key (a BIG one, jaclaz |
|
|
|
Nov 7 2006, 10:45 AM
Post
#13
|
|
|
Group: Members Posts: 1 Joined: 7-November 06 Member No.: 115011
|
Isn't there a way to transfer the boot sector from the cd onto a usb flashdisk, without getting into BartPE?
I'm looking for a way in essence to install xp from a usb stick with the absolute same look and feel as if it were being done from cd. |
|
|
|
Nov 7 2006, 01:57 PM
Post
#14
|
|
|
MSFN Master Group: Software Developers Posts: 2983 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
QUOTE (davinci83) Isn't there a way to transfer the boot sector from the cd onto a usb flashdisk, without getting into BartPE? I'm looking for a way in essence to install xp from a usb stick with the absolute same look and feel as if it were being done from cd. Look here: http://www.msfn.org/board/make-a-nlited-windows-xp-bootable-on-a-u-t81537.html http://www.msfn.org/board/Installing-Unattended-from-a-USB-Thumb-D-t81788.html jaclaz |
|
|
|
Nov 7 2006, 11:50 PM
Post
#15
|
|
|
MSFN Junkie ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Banned Posts: 3482 Joined: 4-December 05 Member No.: 81511 OS: none
|
I've done some digging around, and I can only find one comment on booting to install XP Pro from a USB key. That's on the http://www.experts-exchange.com forum, which is a PAY for information one ... As Stallman says, information should be free Just scroll down... |
|
|
|
Nov 8 2006, 11:41 PM
Post
#16
|
|
|
Newbie Group: Members Posts: 49 Joined: 10-August 04 Member No.: 26910
|
Greetings. I feel I'm verrrrrrrrrrry close on this one, but that may be naive confidence. I believe I've reduced it down to an issue of pointing the right part of the setup to the location of the setup files on my USB key. Forgive me if I'm actually way off.
I'm using WinXP slipstreamed with SP2 and most of the subsequent hotfixes with the command script found at http://smithii.com/node/12. My flash drive is a Lexar Firefly 2GB. Steps taken: 1. Run the smithii command script and build the slipstreamed installation and burn to a CD 2. Copy CD contents to a working directory C:\WINSET on my HD 3. Follow Flyakite's instructions at http://flyakite.msfn.org/ to copy installation files to C: by running C:\WINSET\I386\WINNT32.EXE /NOREBOOT 4. Copy installation boot directory C:\$WIN_NT$.~BT created in step 3 to C:\WINSET 5. Delete winnt.sif, migrate.inf, and bootsect.dat from C:\WINSET\$WIN_NT$.~BT 6. Use CodeBeetle's PeToUSB from http://gocoding.com/page.php?al=petousb to format and load my USB stick by pointing it to C:\WINSET Results: The stick boots, Windows Executive and the drivers load, and I make it all the way to the "Press Enter to install/press R to repair" screen. When I press Enter, I am prompted to "Insert Windows XP Professional Service Pack 2 CD". It doesn't see the setup files on the stick. Troubleshooting: I've tried modifying the TXTSETUP.INF file in both the \minint directory that PeToUSB creates (its the I386 files from the setup CD) as well as the one in \$WIN_NT$.~BT to point the SETUPSOURCEPATH to \minint. Same result, asks for the CD. I've also tried hex editing the SETUPLDR.BIN file in both \minnit and \$WIN_NT$.~BT to replace i386 strings with minint. Asks for the CD. Conversely I've tried editing the two SETUPLDR.BIN files to replace instances of minnit with I386, and renamed the minint directory to I386. Got a message that TXTSETUP.SIF was missing or corrupted, so obviously the boot sector created by PeToUSB wants that file (or chain via SETUPLDR.BIN) to be in the \minint directory. The first time I tried all of this I forgot to delete the 3 files in step 5. Instead of asking for the SP2 CD, I got an error message that installation files were not found where setup thought they had been copied, so one of these files must point to where a continued installation would expect to find them after reboot. Next Step(s)?: How can I correct the problem of setup asking for the SP2 CD and not knowing that the setup files are on the USB stick in the \minint directory? I am considering not deleting the 3 files in step 5, and instead copying the C:\$WIN_NT$.~LS directory created by the setup in step 3 to the USB stick. Perhaps it will then consider this a continued installation and find the setup files. Any ideas? Be gentle on the rookie... |
|
|
|
Nov 9 2006, 02:34 PM
Post
#17
|
|
|
MSFN Master Group: Software Developers Posts: 2983 Joined: 23-July 04 From: Italy Member No.: 25215 OS: none
|
QUOTE When I press Enter, I am prompted to "Insert Windows XP Professional Service Pack 2 CD". It doesn't see the setup files on the stick. Cannot really say, but that error should come out if the "root" files on CD are not found:WIN51 WIN51IP WIN51IP.SP1 WIN51IP.SP2 See these threads here: http://www.911cd.net/forums//index.php?showtopic=16381 http://www.911cd.net/forums//index.php?sho...c=17425&hl= Putting those files in the root of the stick should make no harm. QUOTE Got a message that TXTSETUP.SIF was missing or corrupted, No, it should not be needed to hexedit SETUPLDR.BIN, but is it possible that the version you are using has a CHECKSUM ? : http://www.msfn.org/board/Solution-for-multibooting-Win-XP-2k3-64-t58410.html jaclaz This post has been edited by jaclaz: Nov 9 2006, 02:43 PM |