Making Compact Flash Bootable

Discussion in 'Windows XP Embedded' started by Venkat, Jun 30, 2005.

  1. Venkat

    Venkat Guest

    Hi,

    I have searched this newsgroup and have read many posts about making a
    CompactFlash bootable.

    My target device is an embedded PC that does not have a CD-ROM or
    Floppy drive.

    I used a CF-to-IDE adapter to connect my CF card to another machine. I
    then booted into DOS using a bootdisk, used FDISK to create a DOS
    partition and set it active, and then used FORMAT to format the flash
    disk.

    Then when I put the disk back into my embedded PC, it will not boot.

    When I first received the disk from the manufacturer of the PC, they
    had configured it to be bootable and it was working fine. I tried to
    format the disk using a USB card reader, and I think that caused it to
    stop working. I'm trying to get it to boot again

    Thanks for any help
     
    Venkat, Jun 30, 2005
    #1
    1. Advertisements

  2. Venkat

    Brad Combs Guest

    Venkat,

    You missed one important step! After you format the CF run bootprep.exe to
    create an XP compatible bootloader on the disk. For example is the CF is C:
    you would run bootprep /dC You will be prompted to confirm twice and the
    bootloader will be updated. You can find bootprep.exe at C:\Program
    Files\Windows Embedded\utilities\bootprep.exe. It is a DOS program.

    HTH,
    Brad

    "Venkat" <> wrote in message
    news:...
    > Hi,
    >
    > I have searched this newsgroup and have read many posts about making a
    > CompactFlash bootable.
    >
    > My target device is an embedded PC that does not have a CD-ROM or
    > Floppy drive.
    >
    > I used a CF-to-IDE adapter to connect my CF card to another machine. I
    > then booted into DOS using a bootdisk, used FDISK to create a DOS
    > partition and set it active, and then used FORMAT to format the flash
    > disk.
    >
    > Then when I put the disk back into my embedded PC, it will not boot.
    >
    > When I first received the disk from the manufacturer of the PC, they
    > had configured it to be bootable and it was working fine. I tried to
    > format the disk using a USB card reader, and I think that caused it to
    > stop working. I'm trying to get it to boot again
    >
    > Thanks for any help
    >
     
    Brad Combs, Jun 30, 2005
    #2
    1. Advertisements

  3. Venkat,

    > My target device is an embedded PC that does not have a CD-ROM or
    > Floppy drive.


    Unfortunately it is vital that you do fdisk, format, and bootprep on target device so that disk geometry seen by this BIOS is
    written to CF :-(

    Regards,
    Slobodan



    "Venkat" <> wrote in message news:...
    > Hi,
    >
    > I have searched this newsgroup and have read many posts about making a
    > CompactFlash bootable.
    >
    > My target device is an embedded PC that does not have a CD-ROM or
    > Floppy drive.
    >
    > I used a CF-to-IDE adapter to connect my CF card to another machine. I
    > then booted into DOS using a bootdisk, used FDISK to create a DOS
    > partition and set it active, and then used FORMAT to format the flash
    > disk.
    >
    > Then when I put the disk back into my embedded PC, it will not boot.
    >
    > When I first received the disk from the manufacturer of the PC, they
    > had configured it to be bootable and it was working fine. I tried to
    > format the disk using a USB card reader, and I think that caused it to
    > stop working. I'm trying to get it to boot again
    >
    > Thanks for any help
    >
     
    Slobodan Brcin \(eMVP\), Jun 30, 2005
    #3
  4. Hi

    If you PC has USB or IDE, yot could boot the PC form af DOS harddisk og a
    USB key with DOS boot. Then run fdisk/format/bootprep from that boot media.

    /Thomas

    "Venkat" <> wrote in message
    news:...
    > Hi,
    >
    > I have searched this newsgroup and have read many posts about making a
    > CompactFlash bootable.
    >
    > My target device is an embedded PC that does not have a CD-ROM or
    > Floppy drive.
    >
    > I used a CF-to-IDE adapter to connect my CF card to another machine. I
    > then booted into DOS using a bootdisk, used FDISK to create a DOS
    > partition and set it active, and then used FORMAT to format the flash
    > disk.
    >
    > Then when I put the disk back into my embedded PC, it will not boot.
    >
    > When I first received the disk from the manufacturer of the PC, they
    > had configured it to be bootable and it was working fine. I tried to
    > format the disk using a USB card reader, and I think that caused it to
    > stop working. I'm trying to get it to boot again
    >
    > Thanks for any help
    >
     
    Thomas Johansen, Jul 4, 2005
    #4
  5. Venkat

    Semir Guest

    Hi,

    Don't forget to format CF to be FAT16 not FAT32, in most cases you don't
    have to make bootprep,try and send results.Maybe this help.

    Semir


    "Thomas Johansen" <thrawn[NO SPAM]@hest.com___KÆP> wrote in message
    news:...
    > Hi
    >
    > If you PC has USB or IDE, yot could boot the PC form af DOS harddisk og a
    > USB key with DOS boot. Then run fdisk/format/bootprep from that boot
    > media.
    >
    > /Thomas
    >
    > "Venkat" <> wrote in message
    > news:...
    >> Hi,
    >>
    >> I have searched this newsgroup and have read many posts about making a
    >> CompactFlash bootable.
    >>
    >> My target device is an embedded PC that does not have a CD-ROM or
    >> Floppy drive.
    >>
    >> I used a CF-to-IDE adapter to connect my CF card to another machine. I
    >> then booted into DOS using a bootdisk, used FDISK to create a DOS
    >> partition and set it active, and then used FORMAT to format the flash
    >> disk.
    >>
    >> Then when I put the disk back into my embedded PC, it will not boot.
    >>
    >> When I first received the disk from the manufacturer of the PC, they
    >> had configured it to be bootable and it was working fine. I tried to
    >> format the disk using a USB card reader, and I think that caused it to
    >> stop working. I'm trying to get it to boot again
    >>
    >> Thanks for any help
    >>

    >
    >
     
    Semir, Jul 5, 2005
    #5
  6. > Hi,
    >
    > Don't forget to format CF to be FAT16 not FAT32, in most cases you don't
    > have to make bootprep,try and send results.Maybe this help.


    or NTFS... what ever you like. But you allways need to ude bootprep.. No
    bootloader, no boot

    >
    > Semir
    >
    >
    > "Thomas Johansen" <thrawn[NO SPAM]@hest.com___KÆP> wrote in message
    > news:...
    > > Hi
    > >
    > > If you PC has USB or IDE, yot could boot the PC form af DOS harddisk og

    a
    > > USB key with DOS boot. Then run fdisk/format/bootprep from that boot
    > > media.
    > >
    > > /Thomas
    > >
    > > "Venkat" <> wrote in message
    > > news:...
    > >> Hi,
    > >>
    > >> I have searched this newsgroup and have read many posts about making a
    > >> CompactFlash bootable.
    > >>
    > >> My target device is an embedded PC that does not have a CD-ROM or
    > >> Floppy drive.
    > >>
    > >> I used a CF-to-IDE adapter to connect my CF card to another machine. I
    > >> then booted into DOS using a bootdisk, used FDISK to create a DOS
    > >> partition and set it active, and then used FORMAT to format the flash
    > >> disk.
    > >>
    > >> Then when I put the disk back into my embedded PC, it will not boot.
    > >>
    > >> When I first received the disk from the manufacturer of the PC, they
    > >> had configured it to be bootable and it was working fine. I tried to
    > >> format the disk using a USB card reader, and I think that caused it to
    > >> stop working. I'm trying to get it to boot again
    > >>
    > >> Thanks for any help
    > >>

    > >
    > >

    >
    >
     
    Thomas Johansen, Jul 5, 2005
    #6
  7. Venkat

    Venkat Guest

    Hi Everyone,

    Thanks for your tips, I think I have it working now.

    I did the following (hopefully this will help anyone else who's having
    a similar problem):

    Using a CF-to-IDE adapter, I plugged my CF card into another machine.
    -I booted that machine using a DOS bootdisk
    -deleted all partitions from the CF
    -created a DOS partition, set it active
    -formatted the partition into FAT16
    -BOOTPREP'd the partition

    Then I plugged the CF into a USB card reader and copied my XPe image
    onto it.
    Then I plugged the CF into my target device, it booted fine and ran FBA
    to completion.
    Then I plugged back the CF back into my other machine (using the
    CF-to-IDE adapter), booted into XP Professional, and ran CONVERT.EXE to
    convert the CF into NTFS.
    Then I plugged the CF back into the target device, and it boots fine.

    >From now on, when I'm testing out more images, I simply delete all the

    files from the CF (leaving the NTFS file system intact), and simply
    copy the new image onto it

    Thanks again!
     
    Venkat, Jul 5, 2005
    #7
  8. > Thanks for your tips, I think I have it working now.
    >
    > I did the following (hopefully this will help anyone else who's having
    > a similar problem):
    >
    > Using a CF-to-IDE adapter, I plugged my CF card into another machine.
    > -I booted that machine using a DOS bootdisk
    > -deleted all partitions from the CF
    > -created a DOS partition, set it active
    > -formatted the partition into FAT16
    > -BOOTPREP'd the partition


    Here you actually just could have used Disk Manager or PartionMagic from
    Windows operating system and made the need partitions. Saved you a DOS boot
    and a convert. :)
    But that just details :)

    >
    > Then I plugged the CF into a USB card reader and copied my XPe image
    > onto it.
    > Then I plugged the CF into my target device, it booted fine and ran FBA
    > to completion.
    > Then I plugged back the CF back into my other machine (using the
    > CF-to-IDE adapter), booted into XP Professional, and ran CONVERT.EXE to
    > convert the CF into NTFS.
    > Then I plugged the CF back into the target device, and it boots fine.
    >
    > >From now on, when I'm testing out more images, I simply delete all the

    > files from the CF (leaving the NTFS file system intact), and simply
    > copy the new image onto it
    >
    > Thanks again!
    >
     
    Thomas Johansen, Jul 6, 2005
    #8
  9. Venkat

    RaiderDav Guest

    I've had a similar problem recently, and used a little app from HP to
    set the partition as active:
    http://h18007.www1.hp.com/support/files/hpcpqdt/us/download/20306.html
    I use a USB CF reader and format the CF with the HP utility, check the
    create startup disk option, point to a bootable Win98 floppy, then copy
    bootprep to the CF. That lets me boot up with the CF without any other
    devices attached and run bootprep /dC. Just thought I'd throw that out
    since I was struggling for a while with non-bootable CF media.

    Dave
     
    RaiderDav, Jul 6, 2005
    #9
  10. Venkat

    TechnoPC

    Joined:
    Jan 4, 2014
    Likes Received:
    0
    I am also trying to create a bootable CF card with a card reader plugged into the USB port of my Windows XP PC. However, I could not find the file "bootprep.exe". I do not see any folder called "Windows Embedded" in Program Files. Has something changed since 2005? Any help would be much appreciated. Thank you.
     
    TechnoPC, Jan 4, 2014
    #10
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Victor Perry

    Bootable Compact Flash

    Victor Perry, Aug 21, 2003, in forum: Windows XP Embedded
    Replies:
    2
    Views:
    17,060
    Pavel Bonev
    Aug 25, 2003
  2. Doug Wyatt

    Making my XPe Disk bootable

    Doug Wyatt, Oct 24, 2003, in forum: Windows XP Embedded
    Replies:
    2
    Views:
    455
    Anil Ingle [MS]
    Oct 24, 2003
  3. PrimeExpert
    Replies:
    0
    Views:
    574
    PrimeExpert
    Feb 6, 2005
  4. Replies:
    5
    Views:
    595
  5. Venkat

    Making Flash drive bootable

    Venkat, Jun 17, 2005, in forum: Windows XP Embedded
    Replies:
    2
    Views:
    631
    Venkat
    Jun 20, 2005
  6. Piotr Rezmer

    Recommended compact flash for bootable WXPe

    Piotr Rezmer, Jul 4, 2005, in forum: Windows XP Embedded
    Replies:
    6
    Views:
    752
    Mark K Vallevand
    Jul 5, 2005
  7. JohnG
    Replies:
    1
    Views:
    867
    Sean Liming \(MVP\)
    Apr 3, 2008
  8. Nicolas

    .net Compact 3.5 and SQL Compact 3.5

    Nicolas, Apr 30, 2008, in forum: Windows XP Embedded
    Replies:
    2
    Views:
    445
    Nicolas
    May 8, 2008
Loading...