UBCD4Win Forums: How To: Boot BartPE from a FAT32 formatted USB drive (Easy) - UBCD4Win Forums

Jump to content

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How To: Boot BartPE from a FAT32 formatted USB drive (Easy)

#1 User is offline   ComPro Icon

  • Newbie
  • Pip
    • Group: Members
    • Posts: 4
    • Joined: 28-November 07

    Posted 30 November 2007 - 11:43 PM

    BOOT BARTPE FROM A FAT32 FORMATTED DRIVE (Great for 8+ gigabyte drives)
    ---
    Tools Required
    • HP USB Disk Storage Format Tool - http://downloads.pcw...als/SP27608.exe
    • GoCoding.com's PEtoUSB.exe - http://gocoding.com/...USB_3.0.0.7.zip
    • Windows 98SE Bootable Floppy Disk - http://files.frashii...ey/boot98se.exe
    • GRUB4DOS 0.4.3 - http://superb-east.d...b4dos-0.4.3.zip


    Steps
    • Insert your USB key and your Windows 98 floppy


    • Open the HP USB Disk Storage Format Tool
      • Select your USB key

      • Set the file system to FAT32

      • Check "Create a DOS startup disk"

      • Tell it to use the DOS system files located at A:

      • Click "Start" and let it go.



    • Open PEtoUSB.exe
      • Check "Enable File Copy" and select Overwrite Always from the drop-down

      • Click "Start" and wait for the file copy to finish



    • Select all the files for GRUB4DOS and copy them to the root of the USB key.
      • Allow it to overwrite config.sys

      • Open config.sys and edit the second line to read:

        device=grub.exe --config-file="color black/cyan yellow/cyan;timeout 0;default 0;title find and load NTLDR of Windows NT/2K/XP;find --set-root /ntldr;chainloader /ntldr"


        This will allow it to go straight to the NTLDR process.



    • Boot your USB key.


    Interesting side effect - When you boot off of the USB key, you will see the Windows 98 splash screen, followed by the Windows XP boot process and splash screen.

    This is confirmed working on an 8gb SanDisk Cruzer Micro. After trying various different things, I stumbled upon success with these steps. Hopefully my steps will help others out there trying to accomplish the same thing.

    -ComPro
    1

    #2 User is offline   masterchi Icon

    • Regular Member
    • PipPipPip
      • Group: Members
      • Posts: 213
      • Joined: 08-April 07

      Posted 01 December 2007 - 02:10 PM

      awesome job !

      Quick question, though i think i already have the answer from reading the instructions.........Does this boot directly into UBCD4Win or does it display a boot menu first whre you can choose MemTest and such like with the CD?

      Nice work, Awesome Job !!
      0

      #3 User is offline   ComPro Icon

      • Newbie
      • Pip
        • Group: Members
        • Posts: 4
        • Joined: 28-November 07

        Posted 01 December 2007 - 04:08 PM

        The way I configured it, it boots straight into UBCD4WIN/BartPE. You can conceivably create a boot menu with other options using GRUB4WIN, but I haven't tried it.
        0

        #4 User is offline   masterchi Icon

        • Regular Member
        • PipPipPip
          • Group: Members
          • Posts: 213
          • Joined: 08-April 07

          Posted 01 December 2007 - 05:14 PM

          Cool. And easier method i've been using to boot right into UBCD4Win to a USB drive is this below, try it if you like but just another option:

          Quote

          1. download PEtoUSB (http://gocoding.com/page.php?al=petousb)
          2. Create your UBCD4win load, no ISO is needed just the initial BARTPE folder with all the files
          3.Open PEtoUSB and ensure Destination Drive is set to your Flash Drive and as USB Removeable
          4.Check the box "Enable Disk Format" and for "Source Path to Built BARTPE.." just point it to the location of the BARTPE folder that UBCD4win created on your build. ALSO ENSURE YOU CHECK BOX "ENABLE FILE COPY" and have it set to overwrite always.
          5.Once you click start it will format the drive and then copy the files it needs to boot from.
          6.Now if you try to boot now it will work but then stop at a 0x07b BSOD before it loads Windows so ensure you replace all instances of NTDETECT.COM, SETUPLDR.BIN, and RAMDISK.SY_ that are found on the thumbdrive with the same files from a Server 2003 CD to stop the BSOD.

          As an added help, your file structure on your thumbdrive will look like it does below
          BCDW(folder)
          CMDC(Folder)
          Images(Folder)
          MININT(folder)
          Programs(Folder)
          autorun.inf(file)
          bootsect.bin(File)
          ntdetect.com(File)
          ntldr(file)
          win51ip(file)
          win51ip.sp2(file)
          winbom.ini(file)

          This post has been edited by masterchi: 01 December 2007 - 05:14 PM

          0

          #5 User is offline   ComPro Icon

          • Newbie
          • Pip
            • Group: Members
            • Posts: 4
            • Joined: 28-November 07

            Posted 01 December 2007 - 05:19 PM

            View Postmasterchi, on Dec 1 2007, 04:14 PM, said:

            Cool. And easier method i've been using to boot right into UBCD4Win to a USB drive is this below, try it if you like but just another option:

            Quote

            1. download PEtoUSB (http://gocoding.com/page.php?al=petousb)
            2. Create your UBCD4win load, no ISO is needed just the initial BARTPE folder with all the files
            3.Open PEtoUSB and ensure Destination Drive is set to your Flash Drive and as USB Removeable
            4.Check the box "Enable Disk Format" and for "Source Path to Built BARTPE.." just point it to the location of the BARTPE folder that UBCD4win created on your build. ALSO ENSURE YOU CHECK BOX "ENABLE FILE COPY" and have it set to overwrite always.
            5.Once you click start it will format the drive and then copy the files it needs to boot from.
            6.Now if you try to boot now it will work but then stop at a 0x07b BSOD before it loads Windows so ensure you replace all instances of NTDETECT.COM, SETUPLDR.BIN, and RAMDISK.SY_ that are found on the thumbdrive with the same files from a Server 2003 CD to stop the BSOD.

            As an added help, your file structure on your thumbdrive will look like it does below
            BCDW(folder)
            CMDC(Folder)
            Images(Folder)
            MININT(folder)
            Programs(Folder)
            autorun.inf(file)
            bootsect.bin(File)
            ntdetect.com(File)
            ntldr(file)
            win51ip(file)
            win51ip.sp2(file)
            winbom.ini(file)


            This will format the drive to FAT. It works, but not on bigger drives that do not support FAT. My method will make FAT32 drives work.
            0

            #6 User is offline   SteelTrepid Icon

            • Administrator
            • PipPipPipPipPipPipPipPip
              • Group: Admin
              • Posts: 6328
              • Joined: 27-April 04
              • Gender:Male
              • Location:Ohio

              Posted 02 December 2007 - 06:19 PM

              Thanks for the instructions, I have pinned this topic in our new USB area. I haven't had the chance to attempt your method yet but hope to soon.
              Need some hardware or software at super low prices? Check out my online store here: Burrows Solutions

              "I play Russian roulette everyday, a man's sport, with a bullet called life"
              "My cause is noble, my power is pure"
              "My new computer came with Windows 7. Windows 7 is much more user-friendly than Windows Vista. I don't like that."
              "Is Wayne Brady gonna have to choke a bitch?"

              Can we smoke in here?
              Cigarettes or crack?
              Don't make me choose.
              0

              #7 User is offline   ComPro Icon

              • Newbie
              • Pip
                • Group: Members
                • Posts: 4
                • Joined: 28-November 07

                Posted 02 December 2007 - 10:53 PM

                Thanks for pinning the topic. I appreciate it.
                0

                #8 User is offline   ablok Icon

                • Newbie
                • Pip
                  • Group: Members
                  • Posts: 1
                  • Joined: 03-December 07

                  Posted 03 December 2007 - 11:05 PM

                  I believe you have to start the "Create ISO" option in the autobuilder so that the final menu is laid out correctly in the files in the UBCD4WIN\BartPE folder before starting the procedure above. I did not do this first because I didn't know about the resulting duplicate start menu entries issue at the time. Also I can't seem to get the Recovery Console working when I create it as a new option in the grub4dos menu. The default setupldr in the \CMDC folder points to \minint and I don't know if the ISO creation portion fixes this. I did edit \CMDC\setupldr.bin and changed three instances of minint to CMDC and then added six 0s to the end of the file for padding but that didn't work.

                  If you don't have a floppy drive in your computer, you can extract the .ima file from boot98SE.exe with Winrar. It will error out during the extraction but the file will come out ok. Then you can use 7-zip to extract the contents of the .ima file. The HP USB formatting program can call these files from anywhere you select and it doesn't have to be a floppy drive. I used this method and there config.sys is not created on the USB stick, so there is no existing config.sys file to overwrite when you get to the grub4dos step, which is fine.
                  0

                  #9 User is offline   moorzilca Icon

                  • Newbie
                  • Pip
                    • Group: Members
                    • Posts: 1
                    • Joined: 04-December 07

                    Posted 04 December 2007 - 12:14 PM

                    Hi all !
                    Ubcd4win works fine !
                    I create combocd ubcd4win+ubcd4dos and i want run it from usb stick.
                    Is it possible to add some magic strings to config.sys and boot ubcd4dos by grub ?

                    If i use syslinux + fat format way i customize my syslinux.cfg adding
                    LABEL main
                    KERNEL menu.c32
                    APPEND /menus/main.cfg
                    All programs works fine such as mhdd, memtest, netbootdisk with ghost and etc.
                    But Partition Magic 8 2.88 floppy image did not work because it recognize my usb stick as hdd and try to fix some errors on stick.
                    If i fix theese errors on usb stick by Partition Magic I still allow to use any floppy images from ubcd4dos, but ubcd4win and Win Recovery Console won`t boot.
                    Alternatively if i don`t fix errors computer hangs on Partition Magic screen.

                    And last question: is it possible to setup WIndows XP Professional from usb stick not using winnt.exe way ?

                    It was tested on 4 pc`s , on 1 pc I flash new bios, after this all works fine on it.

                    This post has been edited by moorzilca: 04 December 2007 - 12:21 PM

                    0

                    #10 User is offline   spurster Icon

                    • Newbie
                    • Pip
                      • Group: Members
                      • Posts: 1
                      • Joined: 27-December 07

                      Posted 27 December 2007 - 08:55 PM

                      ComPro's instructions work very well with my 8GB Corsair Flash Voyager. Excellent!

                      Now my Christmas will be complete if I get my wireless running with BartPE/XPE.
                      0

                      #11 User is offline   Spider Icon

                      • Newbie
                      • Pip
                        • Group: Members
                        • Posts: 3
                        • Joined: 04-January 08

                        Posted 04 January 2008 - 06:22 PM

                        I tried this. Looks like it's booting, but after that got an error - can't find arcsas.sys. But it is in the driver folder. Any ideas?

                        Thanks
                        0

                        #12 User is offline   hilander999 Icon

                        • Project Development
                        • PipPipPipPipPipPipPip
                          • Group: Moderator & Development
                          • Posts: 3664
                          • Joined: 28-September 05
                          • Gender:Male

                          Posted 04 January 2008 - 06:42 PM

                          View PostSpider, on Jan 4 2008, 06:22 PM, said:

                          I tried this. Looks like it's booting, but after that got an error - can't find arcsas.sys. But it is in the driver folder. Any ideas?
                          The driver folder?

                          Is the file on your usb device in the \I386\SYSTEM32\DRIVERS folder?
                          Is the error name EXACTLY the same as the file name? (Case is important.... ARCSAS.SYS is not arcsas.sys)
                          Dead Blow Hammer - 19 colors of Duck Tape - Bailing Wire
                          0

                          #13 User is offline   Spider Icon

                          • Newbie
                          • Pip
                            • Group: Members
                            • Posts: 3
                            • Joined: 04-January 08

                            Posted 04 January 2008 - 06:50 PM

                            View Posthilander999, on Jan 4 2008, 06:42 PM, said:

                            View PostSpider, on Jan 4 2008, 06:22 PM, said:

                            I tried this. Looks like it's booting, but after that got an error - can't find arcsas.sys. But it is in the driver folder. Any ideas?
                            The driver folder?

                            Is the file on your usb device in the \I386\SYSTEM32\DRIVERS folder?
                            Is the error name EXACTLY the same as the file name? (Case is important.... ARCSAS.SYS is not arcsas.sys)


                            Yes you are right it is \I386\SYSTEM32\DRIVERS. The name is in lowercase arcsas.sys in folder and in error message. I tried to delete any reference to it from txtsetup.sif. Next reboot give me this: file lsi_sas.sys can't be found :(

                            This post has been edited by Spider: 04 January 2008 - 07:02 PM

                            0

                            #14 User is offline   Spider Icon

                            • Newbie
                            • Pip
                              • Group: Members
                              • Posts: 3
                              • Joined: 04-January 08

                              Posted 04 January 2008 - 07:12 PM

                              Finally got it to work. First I use WinXP to build BartPe - failed to start. Then I tried Win2k3 x86 - Works.
                              Thanks for instructions :D

                              This post has been edited by Spider: 04 January 2008 - 07:13 PM

                              0

                              #15 User is offline   ronbo76 Icon

                              • Newbie
                              • Pip
                                • Group: Members
                                • Posts: 19
                                • Joined: 16-September 07

                                Posted 20 January 2008 - 05:35 PM

                                View PostComPro, on Nov 30 2007, 09:43 PM, said:

                                BOOT BARTPE FROM A FAT32 FORMATTED DRIVE (Great for 8+ gigabyte drives)
                                ---
                                Tools Required
                                • HP USB Disk Storage Format Tool - http://downloads.pcw...als/SP27608.exe
                                • GoCoding.com's PEtoUSB.exe - http://gocoding.com/...USB_3.0.0.7.zip
                                • Windows 98SE Bootable Floppy Disk - http://files.frashii...ey/boot98se.exe
                                • GRUB4DOS 0.4.3 - http://superb-east.d...b4dos-0.4.3.zip


                                Steps
                                • Insert your USB key and your Windows 98 floppy


                                • Open the HP USB Disk Storage Format Tool
                                  • Select your USB key

                                  • Set the file system to FAT32

                                  • Check "Create a DOS startup disk"

                                  • Tell it to use the DOS system files located at A:

                                  • Click "Start" and let it go.



                                • Open PEtoUSB.exe
                                  • Check "Enable File Copy" and select Overwrite Always from the drop-down

                                  • Click "Start" and wait for the file copy to finish



                                • Select all the files for GRUB4DOS and copy them to the root of the USB key.
                                  • Allow it to overwrite config.sys

                                  • Open config.sys and edit the second line to read:

                                    device=grub.exe --config-file="color black/cyan yellow/cyan;timeout 0;default 0;title find and load NTLDR of Windows NT/2K/XP;find --set-root /ntldr;chainloader /ntldr"


                                    This will allow it to go straight to the NTLDR process.



                                • Boot your USB key.


                                Interesting side effect - When you boot off of the USB key, you will see the Windows 98 splash screen, followed by the Windows XP boot process and splash screen.

                                This is confirmed working on an 8gb SanDisk Cruzer Micro. After trying various different things, I stumbled upon success with these steps. Hopefully my steps will help others out there trying to accomplish the same thing.

                                -ComPro


                                I tried this method with some mixed results. As best I can, I will report what I have experienced. I am using a A-Data PD2 8gb USB flash drive (http://www.adata.com.tw/adata_en/product_show.php?ProductNo=AP02ZZZSV). I formatted it as per these instructions with the modifications to the config.sys file for grub.exe.

                                Let me state that I have formatted several different USB flash drives (from 1 to 2 gb) with UBCD4Win and the A-Data PD2 2gb boots perfectly which is why I bought the 8gb flash drive.

                                On a normal boot or restart, I see the Windows 98 and XP screens followed by the UBCD4Win bootmenu and a BSOD which halts my laptop.

                                Interestingly enough, one thing I have found is that when laptop boots down unexpectedly from running down my battery to being locked up a program, the A-data PD2 8gb formatted as per these instructions will boot into UBCD4Win menu.

                                Last night, I wanted to try use A-data's PD2 format download to partition the flash drive. I had a 1gb Memorex USB flash drive that boots into a Windows 98 environment in my F: drive and the A-data PD2 8gb in the G: drive. When I tried to boot using the F12 boot from USB option, my laptop initially looked at the F: and then G:. The G: boot took over as it began to boot into UBCD4Win. Waiting for the BSOD, I noticed that LED on the PD2 would stop and Memorex drive would light then the system looked back and forth between both drives for a while before the UBCD4Win finally booted successfully.

                                I rebooted my laptop and again it looked at the F: drive and then the G: (and back and forth as per the previous paragraph). Again, I saw the Windows 98, XP and UDCD4Win screens boot successfully.

                                To sum this all up, if I use the PD2 8gb by itself, I get a BSOD. If I use after an abnormal shutdown, I get a successful UBCD4Win boot. If I have my Windows 98 boot USB flash drive in the F: drive and the PD2 8gb in the G: drive, I get a successful UBCD4Win boot.

                                Unfortunately I do not have access to Server 2003 files as per another post. I wish I did! I wonder why I get the successful boots and if there is a way to incorporate back whatever is being seen on the Windows 98 USB flash drive that causes successful boots.

                                Thanks for the great project!
                                0

                                • (5 Pages)
                                • +
                                • 1
                                • 2
                                • 3
                                • Last »
                                • You cannot start a new topic
                                • You cannot reply to this topic

                                1 User(s) are reading this topic
                                0 members, 1 guests, 0 anonymous users