Partition an Advanced Format drive with 4KB sector (for Linux OS only)

I got a brand new WD 1TB drive, model WD10EZEX, I'm upgrading from an old 500 GB drive with Arch running on it, and I'm going to make a fresh Arch install on it.
I suddenly learned about all this Advanced Format issue, with the first units "lying" about physical sector size and all that stuff, which started like 2 years ago and I was not aware of.
I couldn't find a step by step guide to perform the proper formatting for a fresh Linux OS install with 4KB-sector, despite the info is out there scattered in tons of blogs, forums, etc.
I figured out the steps for my simple setup, and I'd like to know if everything is all right. For the ones who already know the steps, can you please go to the bottom of the post, and tell me if the final setup is all right to start the fresh install ??  I reproduce all the steps hoping that this will help other people in the future.
I'll use the whole drive only for an Archlinux install, with one partition for the / and another for /home.
Seems the GPT modern method is the way to go, and the gdisk tool will do the trick. If we are booting from this drive, with GRUB2 in a BIOS system, we must also create a BIOS Boot Partition.
So, with the drive having no partitions at all, and sda being the device name
# gdisk /dev/sda
Command (? for help): p
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6527769B-B4BC-408C-A45B-D2DAA4036620
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 1953525101 sectors (931.5 GiB)
Number Start (sector) End (sector) Size Code Name
we create the 2 MiB BIOS Boot Partition
Command (? for help): n
Partition number (1-128, default 1): 1
First sector (34-1953525134, default = 2048) or {+-}size{KMGTP}: 2048
Last sector (2048-1953525134, default = 1953525134) or {+-}size{KMGTP}: +2M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): ef02
a 45GB partition to use as /
Command (? for help): n
Partition number (2-128, default 2):
First sector (34-1953525134, default = 6144) or {+-}size{KMGTP}:
Last sector (6144-1953525134, default = 1953525134) or {+-}size{KMGTP}: +45G
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 8300
Changed type of partition to 'Linux filesystem'
and the rest to use as /home
Command (? for help): n
Partition number (3-128, default 3): 3
First sector (34-1953525134, default = 94377984) or {+-}size{KMGTP}:
Last sector (94377984-1953525134, default = 1953525134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 8300
Changed type of partition to 'Linux filesystem'
we can check the setup
Command (? for help): p
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6527769B-B4BC-408C-A45B-D2DAA4036620
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 6143 2.0 MiB EF02 BIOS boot partition
2 6144 94377983 45.0 GiB 8300 Linux filesystem
3 94377984 1953525134 886.5 GiB 8300 Linux filesystem
and everything looks fine, we have the multiples of 8 starting sectors, so we write the changes
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
The operation has completed successfully.
now we need to give the / and /home partitions a format, I choose ext4 and ask for a 4096 block size just in case we have a "lying" unit (not my case but I prefer to write down the most general command)
# mkfs.ext4 -b 4096 /dev/sda2
mke2fs 1.42.6 (21-Sep-2012)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
2949120 inodes, 11796480 blocks
589824 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
360 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
and the same thing for /dev/sda3 .
Check with gdisk and parted that everything is fine, is this all right to start the install ??
# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6527769B-B4BC-408C-A45B-D2DAA4036620
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 6143 2.0 MiB EF02 BIOS boot partition
2 6144 94377983 45.0 GiB 8300 Linux filesystem
3 94377984 1953525134 886.5 GiB 8300 Linux filesystem
# parted /dev/sda
GNU Parted 3.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA WDC WD10EZEX-00R (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB BIOS boot partition bios_grub
2 3146kB 48.3GB 48.3GB ext4 Linux filesystem
3 48.3GB 1000GB 952GB ext4 Linux filesystem
Last edited by karamaz0v (2012-12-06 06:39:45)

Your partitions look fine from an Advanced Format point of view. The test is simple: Are all your partitions' start points, as measured in sectors, divisible by 8? Yours are.
karamaz0v wrote:what confused me a bit, was that I saw a lot of setups with the BIOS boot partition, and also a 200 MB EFI one. Having a BIOS system, I think I don't need the EFI one.
Some people do this because they're unclear of their requirements. Others do it because they want to have the option of switching boot modes between BIOS/legacy and EFI. With both types of boot loader installed, you can choose on a boot-by-boot basis which way to start the computer, assuming it supports both boot modes.

Similar Messages

  • NMH300 and hard drives with 4kB sectors size

    Hi
    Does anybody know if the NMH300 does support hard drives with 4kB sectors or only 512B size?
    If yes, how do HDs with 4k sectors perform?
    What I know: XP does not really like HDs with 4k sector size. W7 has no problems.
    Thank you for your feedback.
    Solved!
    Go to Solution.

    Sorry, I did not write why it is solved. First it just works with the NMH30x . Second to avoid increased access time due to a possible 4k sector misalignments  of older OS (like XP) pls read Western Digital's home page. Depending on the HD type you can set the advanced format jumper (check for your drive type: http://support.wdc.com/product/download.asp?groupid=608&lang=en) or download a SW which moves the first sector to a 4 k boundary. But not both should be done!
    Note: Windows 7 does not need this and for Linux it depends on the kernel version.
    Rgds

  • Confirmation on Advance Format Drive

    Hello all, I have been searching everywhere for this, I think I found it once before, but lost it when I was moving. I am using a advanced format drive which means I need the 2mb boot partition labelled ef02.
    The problem I am having is when it comes to installing grub I was sure that you have to add some sort of line for it to use the ef02 partition.

    An Advanced Format drive is one that uses physical sectors that are 4096 bytes in size, rather than the older standard of 512 bytes. Most (in fact, all, the last I heard) such drives present the illusion of using 512-byte sectors for compatibility purposes, though.
    The gdisk partition type code of EF02 refers to a BIOS Boot Partition, which holds boot loader code for GRUB on disks that are partitioned using the GUID Partition Table (GPT) partitioning system. Note that this partition is only necessary when using GRUB on a BIOS-booted GPT disk. If you've got an MBR disk or if you're booting in EFI mode, you don't need this partition.
    These two issues are entirely unrelated. It's possible to use MBR (which has no equivalent to GPT's BIOS Boot Partition) on an Advanced Format disk, and it's possible to use a BIOS Boot Partition on a disk that's not an Advanced Format model.
    As to GRUB installation, you should not need to issue any special command to get it to find the BIOS Boot Partition; it should find it automatically.

  • Recovering Windows 7 with advanced format drive failes without SP1

    I have a dv6-2150us and the hard drive failed.  I acquired a new drive and ran recovery disks.  Unfortunately many features do not work correctly on an advanced format drive in Windows 7 without SP1.  The key feature is Windows update does not work which prevents me from upgrading to SP1.  I tried many fixes to Windows update and downloaded SP1 from Microsoft's site, but they all fail to install because update fails to run.
    Any advice?  I tried to install a fresh ISO of Windows 7 SP1 which works fine, but I would rather not pay for an OS I already own.  My Windows license key doesn't work with the Windows 7 SP1 install.
    This question was solved.
    View Solution.

    dv6guy,
    Did the HP Recovery Discs actually fail to install??? Does the recovered install fail to boot completely or correctly. Or does the recovered install not only have isues with Windows update and/or other software???
    If the recovery completes and you can enter Windows please try to use ABR Beta With Windows 7 Support to backup the installed HP OEM SLP key and HP OEM SLP certificate. Once you have these, save the complete ABR folder to an external location, like a USB stick. Next, install Windows 7 SP1 from your fresh ISO. Do not enter a product key when requested and do not allow Windows to try to activate the computer. Now, restore the key and certificate to your fresh Windows 7 SP1 install. Verify that Windows is activated. Post back and let us know if this succeeded or failed
    Please see this forum thread entitled How to Install Windows 7 Without the Disc for more on the subject.
    Please send KUDOs
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Can an Advanced Format drive be installed in a Time Capsule

    I have aTime Capsule 1TB and was interested in upgrading the hard drive. I saw that there are 4TB drives available that are "Advanced Format" Would these drives be able to be used in Time Capsule? Is there any performance issues known? For example would I be able to format the drive as one large partition using the "full drive" or would it be limited to significantly less (like only 3TB).
    According to Western Digital (http://wdc.custhelp.com/app/answers/detail/a_id/5655/~/how-to-install-a-wd-advan ced-format-drive-on-a-non-windows-operating-system):
    "Mac OSX:
    Mac OSX version 10.4 onwards (Tiger, Leopard and Snow Leopard) can use the GUID Partitioning Table scheme (GPT) which will align an Advanced Format drive correctly. Mac OS versions using Apple Partition Manager (APM) will not align partitions correctly and will not provide optimum performance."
    When you format a drive using the Time Capsule  reset/reformat utility, does it format the drive using GPT or APM? I think that might answer my question. Then again, maybe it won't.
    Thank you for your help.

    I do not know about 4TB drives, having never tested one.. but 3TB advanced format is fine. So my guess would be the 4TB would work.. but Apple often set limitations in their firmware.. and since 3TB is the largest they release in any TC.. that tends to be the limit they set.
    There is also no guarantee that the drive will spin down.. although spinning up and down every minute can also happen and of course is much worse issue.
    What model TC are you trying to do this to?
    Format of the drive is GPT.
    Hey.. after much googling.. doing your work for you.. I found the last post here.. the guy mentions the sata in the TC works
    https://discussions.apple.com/thread/3727070?start=0&tstart=0
    You will probably need to use 7.6.1 firmware. There are certainly issues on older models with larger drives.. but I managed to shoehorn a 3TB into a Gen 2 and it works with one proviso.. spin down is flakey.. some times yes and sometimes no.. still the actual consumption of a drive spinning is only 2-3W now.
    My solution would be.. to connect your internal sata in the TC to esata port.. or even just an extension cable.. a nice power plus data one.. and buy 2TB drives.. which are still better value.. TB/$$ and then you can use any number of drives in sequence.. no hot swap of course. But it is easy to off and on the TC.. then you can have a disk for swapping to store backups offsite.
    I should think if you buy an older newertech (I love the paradox) box which fits under the TC you can do a really neat combined unit.

  • How can I partition an external hard drive with data in it? When I select the drive, the partition option is grayed out.

    I am having a problem partitioning an external hard drive with data in it. 
    When I select the partition, everything is grayed out.  I can't add a a partition for some reason.  When I asked this question to other people, they told me to select my partition "io" to do it from there.
    As you can see, I can't seem to partition it form there either.  I ran the Verify Disk utility but the volume came out okay.
    Any ideas as to what the problem would be?
    Thanks!
    Luis

    Select the main hard drive entry (topmost one.) Click on the Partition tab. Shrink the existing partition by grabbing the sizing gadget in the bottom right corner and pushing up until you free up enough space for your second partition. Be sure you do not shrink to less than the space currently occupied by your files. Click on the Add[+] button to create a new partition in the free space. Click on the Apply button and wait until the partitioning is completed.

  • Backup and Restore image fails 3TB Advanced Format Drive Windows 7-32 SP1

    Windows native backp fails to create an System Image, or a Complete PC Backup.
    This occurs in Windows 7, 64 bit Professional, Windows 7, 32bit Ultimate, Windows Vista Business, 32 bit. It occurs in 6 different computers I've tried. All the backup drives are 3TB. I have tried Seagte USB and Hitachi USB drives. 4 of them. The Windows
    7 Ultimate, 32bit machine has SP1. All operating systems are using the current Service Packs, and all of the MS Updates including all of the recommended harware drivers. All of the systems are using the latest BIOS, firmware and OEM drivers as well.
    It looks like the issue may be causes by a deficiency in Windows related to the Advanced Format drive spec. All of the computers that qualified had the AF hotfix applied; Advanced Format Drives 512e 4k, Vista
    and 2008 - KB2470478, Windows 7, and 2008 R2 KB982018
    Error messages follow:
    The Backup Failed.
    Error message: One of the backup files could not be created. (0x8078002A)
    The request could not be perfomed because of an I/O error. (0x8007045D)
    This deficiency seems to apply across the board to different hardware manufacturers of external hard drives.
    From what I have heard, Western Digital may have a format utility that addresses this issue, but only for WD drives.
    Help.

    Hi David,
    Did you have found any error message?
    Check if all the files have been created on the hard drive.
    Check the Volume shadow copy service in services window. To check follow these steps:
    i.                   
    Click Start and type services.msc in the search box
    ii.                 
    Search for the Volume shadow copy service
    Make sure the start- up type is automatic.  Steps to set the services to automatic
    i.                   
    Search for the service
    ii.                 
    Right click on the service
    iii.               
    If the service is stopped then Start the service
    iv.                
    Select Properties
    v.                  
    And in the Start-up type select Automatic
     This is the most definitive answer I can find so am taking this as the answer.
    http://social.technet.microsoft.com/Forums/en/windowsbackup/thread/889b01be-d333-4fc7-b005-e12b7b236ad7
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/444e8ea2-6417-45dc-83d4-f5ae45bbaa02
    Thanks,
    Jeff
    如果您对我们的论坛在线支持服务有任何的意见或建议,请通过邮件告诉我们。
    立刻免费下载 
    TechNet
    论坛好帮手

  • Do Advanced Format drives work in Lion?

    I have a "new" mid 2009 MacBook, and I'm replacing everything on it so I can use it for school. I want to use Lion, and decided to get a new hard drive to compliment the upgrade.I ordered a WD Scorpio Black drive...but just realized it had Advanced Format in the description. I noticed alot of reviewers said it worked with their MacBook Pro's, but dont know if they succesfully got AF to work or not...sounds like there would be a serious performance hit if they couldnt get it to work.Does Lion have any way to format the drive in AF?Is it even necessary?

    Advanced format has nothing to do with the format of the drive.
    Advanced format means they switched from the 512 byte to 4k byte per sector.
    Advanced Format is a generic term pertaining to any sector format used to store data on the magnetic disks in hard disk drivesthat exceeds 512 to 520 bytes per sector. Advanced Format is also considered a milestone technology in the history of hard-drive storage, where data has been processed in 512-byte increments since the inception of the hard-disk drive in 1956. Changing the sector format convention to larger data sectors, such as the 4,096-byte structure used in the first generation of Advanced Format technologies, uses the storage surface area more efficiently for large files but less efficiently for smaller files, while enabling the integration of stronger error correction algorithms to maintain data integrity at higher storage densities.
    http://en.wikipedia.org/wiki/Advanced_Format

  • More then 2 partitions on an external drive with a Fat32 partition...

    Hey guys. I'm having some troubles with partitioning an external USB drive in disk utility.
    I want to have 4 partitions total, 3x MAC OS Extended (journaled) and 1x FAT 32.
    I am able to create the partitions (using GPT) fine in disk utility and as far as the OSX is concerned, all the partitions are viewable and work fine however windows machines do not see the fat32 partition. Windows only sees one large GUID partition that it cannot read.
    If I reformat the drive (using GPT) with 1 MAC OS Ext (journaled) partition and 1 FAT32 partition, both windows and the Mac find all the partitions and things work as they should.
    I want 4 partitions so I can have a data drive for OSX, a bootable copy of the snow leopard install disc, a bootable copy of a fresh snow leopard installation and a windows data drive for exchanging files.
    Is there anyway I can do this or do I need to stick to 2 partitions if I want the fat32 partition to be readable by windows?

    savante wrote:
    Hey guys. I'm having some troubles with partitioning an external USB drive in disk utility.
    I want to have 4 partitions total, 3x MAC OS Extended (journaled) and 1x FAT 32 .... Windows only sees one large GUID partition that it cannot read. If I reformat the drive (using GPT) with 1 MAC OS Ext (journaled) partition and 1 FAT32 partition, both windows and the Mac find all the partitions and things >work as they should.
    I would try NTFS. I know that that would prevent you from doing anything with the partition from your Mac, but that's sort of a small price to pay. To compensate partially, you could run MacDrive (mediafour.com) on the Windows machine(s). MacDrive allows Windows machines to read and write Mac formatted drives.
    Is there anyway I can do this or do I need to stick to 2 partitions if I want the fat32 partition to be readable by windows?
    Could there be a problem with the way Sno is formatting FAT. I never use FAT so I am not quite sure what is going on here. But, many have reported that the Sno Disk Utility no long refers to FAT32, just to FAT, and having FAT formatted, they have FAT problems--i.e., things don't work like they should under FAT32. Maybe you should try formatting with an Install DVD that clears specifies FAT32.

  • Installing 10.6 on a formatted drive with no install DVD

    Hi,
    I have an intel 2006 core duo iMac which has a formatted drive (Mac OS Extended (Journaled)). I want to instal Snow Leopard on this iMac, the latest version of OS X I can I believe, but I do not have the install DVD.
    I have a Snow Leopard DVD which came with my MacBook Pro, but when I tried to use that an error told me that Snow Leopard could not be installed on the iMac. I know it can as I have seen it running.
    Is this because I am trying to use the DVD that came with my MacBook Pro? If so, what are the options available to me to get a copy of the OS that I can install from?
    Many thanks,
    Ian

    You cannot use an installer DVD for another model. They are usually incompatible and it's illegal.
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    Depending upon the actual model you have you may be able to install Lion on it. You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.

  • How can I re-size a partition that shares a drive with the system 'disk'?

    Some time ago, I partitioned my Bay 1 drive (640GB) to two partitions, of equal size.  Now, I find that on the system 'disk' partition, there is a lot of space I don't really need, and could use in the other partition.  I find that I can shrink the system partition, but can't expand the second partition to use the extra space.  Is there a way to do this?
    Thanks

    I would keep that for just the system and not use 2nd partition for "active" data - move the other partition (or the system) to another drive.
    An SSD system for instance. $165 Corsair Force GT 120GB
    Then devote 640GB to what you want. Or as a system backup etc and pick up a 1TB WD Black ($139)  which really are a nice performance drive now from what they had even 2 yrs ago.

  • Dolby Advanced Audio driver and Windows 10 for G505

    I have just installed Windows 10 to my laptop (G505) and continue to get an error message relating to the Dolby Advanced Audio driver. There are several other similar threads but I can't see an entry that helps me with my model. Is there any action I can take to complete a repair?

    I have also continued to work on this problem, without success.  I did notice something I will pass along in case it is useful to someone else.  I noticed that there are Conexant drivers listed in Device Manager in both AUDIO and in SOUND, video, etc.  After installing the suggested update, the Driver version in Audio was updated, but not the one under Sound.  I tried having the computer automatically update the one in Sound, but it is still driver version 8.66.4.50.  (Meanwhile, the Audio version is 10.0.10240.16384.) Please note that I am doing this on a G580, not a G505.   I guess my question is, should the driver versions match--or at least be close?

  • Workaround to use drives with 4096b block for mirrored RAID?

    I have 2 Hitachi 2TB Drives. One is a few months old and uses 512b blocks, the other is the same model, but newer and uses 4096b blocks.
    When I try to set up the RAID Set I get the error: MediaKit reports block size error, usually caused by not being a multiple of 512.
    From reading the message board, it looks like this a known bug when trying to encrypt drives with 4K block sizes or add them to a RAID Array.
    Is there any way to set these up as a mirrored RAID array other than waiting for apple to fix the problem? Are there third party apps that can be used to fix this problem?
    Thank you for your time.

    I have the exact same problem, and until Apple solves this bug, I no longer have a hard drive large enoug for my Time Machine back-ups. I have submitted the bug, but I really need a solution. Please help!

  • Failed to install php-oci8 with instant Client for linux 64

    Hello,
    I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
    I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
    install it.
    But when i try to install php-oci8*.rpm, no matter which i use:
    php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
    The installation always failed due to dependencies errors with oracle instant client.
    I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
    All my tries gave me dependency errors.
    sometime like:
    error: Failed dependencies:
    libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
    oracle-instantclient = 10.2.0.3 is needed by
    php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
    I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
    Thanks in advance!

    See my followup to your duplicate post in the PHP forum

  • [SOLVED] Lousy fonts with .chm viewer for Linux

    I installed the .chm file viewer HelpExplorer 3.0 in both Windows XP and Arch Linux (chm = compiled HTML help file).  In Windows XP, with default fonts installed, the fonts in text read with this viewer appear crisp, sharp and anti-aliased.  In Arch with KDE 3.5.7, on the other hand, the fonts appear fuzzy, grainy and don't seem to be anti-aliased, in contrast with their appearance in all other apps (except for a few such as Dillo) which render text good-looking, sharp and anti-aliased.
    HelpExplorer for Linux was provided as a tarball that included a precompiled 'helpexplorer' binary.  The program doesn't seem to allow for customizing font settings.
    The following fonts are installed in Arch (in /usr/share/fonts/):
    ttf-bitstream-vera-1.10-5 is installed by default
    gsfonts 8.11-4 is installed by default
    PostScript Type 1 fonts installed: Century Schoolbook, Nimbus, URW Bookman, URW Gothic, URW Palladio
    ttf-ms-fonts-2.0-1 (Microsoft TTF: Andale Mono, Arial, Comic, Courier, Georgia, Impact, Tahoma, Times New Roman, Trebuchet)
    font-bh-ttf-1.0.0-3 (Luxi BH)
    xorg-fonts-100dpi-1.0.1-1 (courier, helvetica, lucida, new century, times)
    The "Files" section of my xorg.conf looks as follows:
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc:unscaled"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/100dpi"
    FontPath "/usr/share/fonts/PEX"
    # Additional fonts: Locale, Gimp, TTF...
    FontPath "/usr/share/fonts/cyrillic"
    # FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
    # FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
    # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/ttf/western"
    FontPath "/usr/share/fonts/ttf/decoratives"
    FontPath "/usr/share/fonts/truetype"
    FontPath "/usr/share/fonts/truetype/openoffice"
    FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath "/usr/share/fonts/latex-ttf-fonts"
    FontPath "/usr/share/fonts/defoma/CID"
    FontPath "/usr/share/fonts/defoma/TrueType"
    EndSection
    I've attached a screenshot of some text displayed in the HelpExplorer reader in Arch (the font is Times New Roman): http://img216.imageshack.us/my.php?imag … ot1zh9.png
    [img=http://img216.imageshack.us/img216/8401/snapshot1zh9.th.png]
    What do I need to do to improve the font appearance in this program in Linux?
    Last edited by RobF (2007-10-02 18:06:46)

    I found a solution of sorts by installing and running the Windows version of HelpExplorer in Wine or Crossover.  There is still very little control over fonts but when I enlarge the default font (with 2x CTRL-+) I do get a nice-looking anti-aliased Times New Roman font, and this solution would be my preferred way of reading .chm files in Linux (i.e. better than KchmViewer or Xchm).
    Recap of the problem:
    1. The .chm viewer HelpExplorer Viewer 3.0 when installed in Windows XP renders fonts crisp and clear and anti-aliased.
    2. The Linux version of HelpExplorer Viewer 3.0 (delivered as a precompiled executable in a tarball) doesn't render fonts antialiased, regardless of what I tried, and they look grainy and unattractive.
    3. The Windows version of HelpExplorer Viewer 3.0 when installed and run in Arch in Wine or Crossover does render the default font they offer (looks like Times New Roman) fairly crisp and clear and anti-aliased, at least at the enlarged setting.
    Can someone explain to me what might be going on?  Why is it that the Linux version cannot render fonts anti-aliased when the Windows version running in the emulator in Linux can?  Is there something that I have to change in my fonts config, fonts location, symlinks or path to get the anti-aliased fonts to work in HelpExplorer in Linux?
    Robert

Maybe you are looking for

  • Account constantly getting disabled

    Every 3 or 4 days, I get a message saying that my account has been disabled for security reasons and have to reset my password. Why does this keep happening? Is someone attempting to guess my password, causing the lockout? If someone is trying to acc

  • Content-Disposition inline Not working

    Hi all, I am using Orion application server as Web server. I like to open a file in client side form the server. Which one is known MIME type. I don't want the IE to prompt the user for Save as/ Open from the current location. I am using "inline" arg

  • New report for Archiving data

    Hi to all, Can anybody kindly tell me how to solve the following: Due to the huge volume of records in the table ZMES_SEQ_DETAIL it required to archive the data based on the Date on which the record was created, which is 18 months older in the table

  • What is the square setting for on the IPad camera?

    What is this new setting on the camera used for?

  • Compare the algorithm development  processs and the SDLC is related or not?

    Compare the algorithm development processs and the SDLC. are these 2 things related or not related concepts? or these 2 things are two different concepts? or do they have siimiilar things? or can they inter apply the concepts? For algo, from the prob