Difference between revisions of "CompactFlash boot drive"

From ThinkWiki
Jump to: navigation, search
(Removable vs Fixed disk type)
Line 21: Line 21:
  
 
==Removable vs Fixed disk type==
 
==Removable vs Fixed disk type==
Most newer compact flash cards identify themselves as Removable instead of Fixed disk. For Linux this does not cause any problems, but Windows has issues with it and will refuse to partition such a drive, and even if you manage to get it installed it will not be able to hibernate.
+
Most newer compact flash cards identify themselves as Removable instead of Fixed disk. For Linux this does not cause any problems, but Windows has issues with it and will refuse to partition such a drive, and even if you manage to get it installed it will not be able to suspend. In addition some software will refuse to install on a removable drive.
 +
 
 +
If you have to use a CF card that has the type bits set to Removable and want to install Windows you can work around it as follows;
 +
* Use Linux to partition the drive with a FAT32 partition (you can boot from one of the LiveCD distributions for this), and set the partition bootable.
 +
* Start the install of Windows, during install you will be given the opportunity to migrate to NTFS
 +
* After the install is finished you will need to install the Hitachi microdrive disk drivers (google for XPfildrvr1224.zip), which will mask the removable bits and should allow suspend and other operations that fail on a removable drive to work.
  
 
===SanDisk Extreme===
 
===SanDisk Extreme===

Revision as of 09:35, 6 March 2008

Compact Flash boot drive

Changing your HDD for a CF boot drive with a Compact Flash card and adapter. This is primarily done by ThinkPad X40 series owners due to the extremely slow speeds of the 1.8" HDD. For the time being it does mean giving up on storage capacity since the faster CF cards are currently only available up to 8GB. Most ThinkPads can have have two CF cards installed to expand available capacity.

What you need

  • Passive IDE to CF adapter
  • Compact Flash (CF) card with the following
    • UDMA support
    • X266 speed or better. Especially Write speed is important!
    • preferably one that identifies as Fixed disk
    • 4 or 8GB capacity, depending on needs

Tested adapters

ATTENTION!
the second (slave) slot on dual slot adapters does not work on the ThinkPad X41 and X41 Tablet due to the SATA to IDE bridge. But it will work fine on other like the ThinkPad X40 where it will function as having 2 drives attached as master and slave

IDE to CF

These adapters will work for both ThinkPads with 1.8" and 2.5" IDE (PATA) HDDs.

  • Addonics AD44MIDECF (single slot)
  • Addonics AD44MIDE2CF (dual slot)

SATA to CF

These adapters are needed for newer ThinkPads with native SATA HDDs.

TODO
If someone has tested any, please add them here

Removable vs Fixed disk type

Most newer compact flash cards identify themselves as Removable instead of Fixed disk. For Linux this does not cause any problems, but Windows has issues with it and will refuse to partition such a drive, and even if you manage to get it installed it will not be able to suspend. In addition some software will refuse to install on a removable drive.

If you have to use a CF card that has the type bits set to Removable and want to install Windows you can work around it as follows;

  • Use Linux to partition the drive with a FAT32 partition (you can boot from one of the LiveCD distributions for this), and set the partition bootable.
  • Start the install of Windows, during install you will be given the opportunity to migrate to NTFS
  • After the install is finished you will need to install the Hitachi microdrive disk drivers (google for XPfildrvr1224.zip), which will mask the removable bits and should allow suspend and other operations that fail on a removable drive to work.

SanDisk Extreme

For the SanDisk Extreme III and IV adapters you should look for a DOS utility called ATCFWCHG.COM (try google). You will need to boot DOS and run it with the CF configured as either the master on the primary IDE interface or the master on the secondary interface. It will not work if the drive is attached as a slave or to any other interfaces.

To set a SanDisk Extreme adapter attached to the primary IDE interface to Fixed disk

ATCFWCHG.COM /P /F

To set a SanDisk Extreme adapter attached to the secondary IDE interface (Ultrabay) to Fixed disk

ATCFWCHG.COM /S /F

SATA to IDE bridge

On ThinkPad models with a SATA to IDE bridge (ThinkPad X40, X41 Tablet) there are some additional limitations and annoyances when changing your HDD to a CF card.

You can only have one CF card, even if you have a dual slot adapter. The second card will not be seen, this is a limitation of the bridge chip and the way SATA functions.

Beeps and error on boot. The ThinkPad BIOS will complain that an unsupported disk is installed (Error 2010), but will continue to boot after 5-10 seconds or after pressing enter (presuming you have a recent BIOS installed).

Storage capacity issues

Due to the fast CF cards that you will want for your OS drive only being available in smaller sizes (up to 8GB currently) you might not have enough local storage for your needs. Here are some suggestions on how to work around it.

  • Add a second CF card, using the dual-port adapter. This will show up as an additional drive on ThinkPads that support it, and you might even use a larger capacity (and hence slower card) for this purpose depending on your needs.
  • use another flash memory card in the dedicated slot on select ThinkPads (CF on ThinkPad X20 and X30 series and SD on ThinkPad X40 and X60 series). Note that this slot might not be very fast.
  • use a USB drive or memory stick for additional storage. This is ugly since it will stick out, and should be avoided on ThinkPads that do not support USB 2.0
  • use NAS (network attached storage)

4GB is sufficient to install Linux or Windows with some basic applications. So unless you intend to keep your library of music/videos/pictures local the 8GB card might be sufficient.

useful links