Installing grub2 1.99rc1 on Linux Software RAID (/dev/md[0-x])

Hello!
In the last days I tried to install Archlinux x64 on my server. This server consists of 4 SATA drives. I'm using Linux software Raid with the following configuration:
mdadm --create --verbose /dev/md0 --auto=yes --level=10 --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
mdadm --create --verbose /dev/md1 --auto=yes --level=10 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
mdadm --create --verbose /dev/md2 --auto=yes --level=0 --raid-devices=4 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
md0 --> / including /boot
md1 --> /data (my storage partiton)
md2 --> my swap partion
In the last step of the installer I don't installed grub and leave the installer without installing a bootloader.
I mounted the /dev folder to /mnt/dev and chrooted in my new system:
chroot /mnt bash
In my new system I installed the new grub2 bootloader with:
pacman -S grub2-bios
In the next step I tried to install the bootloader to the MBR with the following command:
grub_bios-install --boot-directory=/boot --no-floppy --recheck /dev/md0
But I get the following error:
/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md0 failed.
Please report this together with the output of "/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to <[email protected]>
I also tried to install the grub2 directly on my discs with the following command:
grub_bios-install --boot-directory=/boot --no-floppy --recheck /dev/sda
But the error is the same as above.
Following the instruction of the error message I executed the following command:
/sbin/grub-probe --device-map="/boot/grub/device.map
I get a large debug output:
/sbin/grub-probe: info: scanning hd3,msdos2 for LVM.
/sbin/grub-probe: info: the size of hd3 is 3907029168.
/sbin/grub-probe: info: no LVM signature found
/sbin/grub-probe: info: scanning hd3,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd3 is 3907029168.
/sbin/grub-probe: info: no LVM signature found
/sbin/grub-probe: info: scanning hd4 for LVM.
/sbin/grub-probe: info: the size of hd4 is 2068992.
/sbin/grub-probe: info: no LVM signature found
/sbin/grub-probe: info: the size of hd4 is 2068992.
/sbin/grub-probe: info: scanning hd4,msdos1 for LVM.
/sbin/grub-probe: info: the size of hd4 is 2068992.
/sbin/grub-probe: info: no LVM signature found
/sbin/grub-probe: info: changing current directory to /dev.
/sbin/grub-probe: info: opening md0.
/sbin/grub-probe: error: no such disk.
There is a tutorial for installing grub2 at ArchLinux in the wiki:
https://wiki.archlinux.org/index.php/Grub2
But I can't find any solution for my problem.
Does anybody know a solution for this problem?
Thanks for help
Best regards,
Flasher
Last edited by Flasher (2011-03-03 20:13:13)

hbswn wrote:Maybe it cannot handle the new mdadm format. Here the other partitions have version 0.90. Only the failing md0 has version 1.2:
I'm sure it is the cause of the problem. But not new format. The old one (0.90) is incompatible with grub2.
I hit the same problem and today I managed to fix it.
What I did: I copied /boot to tmp directory, destroyed /dev/md0 (my /boot) with metadata 0.90, created new /dev/md0 (metadata 1.2), copied back /boot content.
After that, grub_bios-install /dev/sda && grub_bios-install /dev/sdb finished without any errors.

Similar Messages

  • Can I install Snow Leopard and boot from software RAID 1 (mirror)?

    I have a Mac Pro (quad core 2.66 GHz) on order for my office workstation. Yeah, I know new ones are probably coming out early next year but due to budget and upcoming projects I need one now. What I'd like to do is replace the pre-installed 640GB drive with two 1 TB drives and mirror them. The 640GB drive will be redeployed to another machine in the office. Can I boot from the Snow Leopard install DVD, go to Disk Utility, setup a RAID 1 with the two drives, install Snow Leopard to the mirror and then boot off the mirror set?
    I've searched and found offhand comments to the effect that installing to and booting from a software mirror is OK, but I'd like to know for sure that it's OK. Any experience that you have with such a configuration would be nice to hear.

    Yes. But before you do read the following:
    RAID Basics
    For basic definitions and discussion of what a RAID is and the different types of RAIDs see RAIDs. Additional discussions plus advantages and disadvantages of RAIDs and different RAID arrays see:
    RAID Tutorial;
    RAID Array and Server: Hardware and Service Comparison>.
    Hardware or Software RAID?
    RAID Hardware Vs RAID Software - What is your best option?
    RAID is a method of combining multiple disk drives into a single entity in order to improve the overall performance and reliability of your system. The different options for combining the disks are referred to as RAID levels. There are several different levels of RAID available depending on the needs of your system. One of the options available to you is whether you should use a Hardware RAID solution or a Software RAID solution.
    RAID Hardware is always a disk controller to which you can cable up the disk drives. RAID Software is a set of kernel modules coupled together with management utilities that implement RAID in Software and require no additional hardware.
    Pros and cons
    Software RAID is more flexible than Hardware RAID. Software RAID is also considerably less expensive. On the other hand, a Software RAID system requires more CPU cycles and power to run well than a comparable Hardware RAID System. Also, because Software RAID operates on a partition by partition basis where a number of individual disk partitions are grouped together as opposed to Hardware RAID systems which generally group together entire disk drives, Software RAID tends be slightly more complicated to run. This is because it has more available configurations and options. An added benefit to the slightly more expensive Hardware RAID solution is that many Hardware RAID systems incorporate features that are specialized for optimizing the performance of your system.
    For more detailed information on the differences between Software RAID and Hardware RAID you may want to read: Hardware RAID vs. Software RAID: Which Implementation is Best for my Application?

  • How to install on a software raid with dmraid?

    In linux 2.4 the ATARAID kernel framework provided support for Fake Raid (software RAID assisted by the BIOS). For linux 2.6 the device-mapper framework can do, among other nice things like LVM and EVMS, the same kind of work as ATARAID in 2.4. While the new code handling the RAID's I/O still runs in the kernel, device-mapper stuff is generally configured by a userspace application. It was clear that when using the device-mapper for RAID, detection would go to userspace.
    Heinz Maulshagen created the dmraid tool to detect RAID sets and create mappings for them. The controllers supported are (mostly cheap) Fake-RAID IDE / SATA controllers which have BIOS functions on it. Most common ones are: Promise Fasttrack controllers as well as HPT 37x, Intel, VIA and LSI. Also serial ata RAID controllers like Silicon Image Medley and Nvidia Nforce are supported by the program.
    I would like to ask if someone out there managed to set up a raid machine with dmraid, and I am asking for a full raid setup, nothing like raid for /home only.

    Loosec;
    I see that you have a handle on the dmraid package, recently upgraded I see.
    I have an application for raid that does not involve booting with raid, data system only.
    I desire to generate an archive for pacman using a raid array for purposes of install speed.
    My first attempts used mdadm techniques and provided a software raid of hde and hdg drives which did not produce  an improved hdparm read speed.
    What changes to dmraid procedures will provide a non-bootable raid0 system which will archive pacman packages and provide combined raid read speed at least 50% greater than the normal 40MB/sec.?
    Performance figures for raid0 with dmraid haven't been available in the forums.  Perhaps these are disappointing?
    Basically, how to make a raid0 system  with dmraid but not make it bootable?
    EDIT:  Solved my problem with mdadm and mke2fs, fstab entry and /mnt/md entry.
    Last edited by lilsirecho (2008-03-14 07:50:00)

  • Can I install boot camp on a machine with a Software Raid-0?

    I have a machine with a software Raid-0 running Snow Leopard. I'd like to install Boot Camp but I only have 2 SATA hard drives. Windows does not need to run in a RAID on this machine and I'm fine partitioning both drives so that I have a 30GB Windows 7 partition. Both drives are 500GB each.
    Can I partition each drive with -30GB run a software raid and still use bootcamp?
    Please let me know.

    No, and 30GB is too small for Windows 7 64-bit Pro for your Mac.
    Get a 3rd drive. Assuming this is a Mac Pro you have 4 internal drive bays.

  • [SOLVED] how to install ArchLinux on a simple software raid 0

    I have two 256GB disks and I want them to be in raid 0.
    I tried following this tutorial: https://wiki.archlinux.org/index.php/In … AID_or_LVM
    but this tutorial has the added complication of LVM and raid 1 which I don't need.
    I made 3 partitions on each of the disks:
    sda1 - 100MB for /boot
    sda2 - 2048MB for swap
    sda3 - raid 0 md0
    sdb1 - unused
    sdb2 - 2048 for swap
    sdb3 - raid 0 md0 for /
    I can assemble and format the sda1(ext4), sda2(swap), sdb2(swap)  md0 (ext4) and install all the packages
    I also configured mdadm.conf by Alt F2 at the installer and executing: mdadm --examine --scan > /mnt/etc/mdadm.conf
    and added mdadm hook to the HOOKS list in /etc/mkinitcpio.conf (before 'filesystems')
    configured the boot with grub outside of the installer as indicated in the tutorial
    But when I boot I get:
    md0: unknown partition table
    Error: Unable to determine the file system of /dev/sda3
    please help.
    Last edited by 99Percent (2011-06-29 20:21:52)

    fyi this is how I finally set up my simple 2 drive raid 0:
    1. Create a bootable USB ArchLinux with UNetBootin
    2. Boot with the USB
    3. # /arch/setup
    3. Select source: internet (highly recommended because i found out UNetBootin sources are not 100% reliable though not necessarily so, IOW just to be sure)
    3. partition the two drives with 100mb for /boot and 100mb for swap (setup requires it - I have 8GB memory, I decided I don't need much swap space) and the rest of both sda and sdb which will make your raid 0.
    4. ALT F2 to another terminal and create the the raid like this:
    # modprobe raid0 (not sure if this is actually necessary)
    # mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda2 /dev/sdb2
    5. go back to the setup screen with CTRL-ALT-F1
    6. go to Prepare Hard Drives>Manually configure block devices, filesystems and mountpoints. Add the /boot (ext2) for sda1 swap for sdb1 and desired filesystem for md0 (I chose reiserfs). Ignore the rest of the devices.
    7. Select packages. Add the base-devel just in case, but nothing else and install packages
    8. ALT F2 again to the  terminal and run:
    # mdamd --examine --scan > /mnt/etc/mdadm.conf
    (this will configure the mdadm.conf to use your raid as created)
    9. go back to the setup screen again with CTRL-ALT-F1
    10. Select configure system
    11. Edit /etc/rc.conf adding: raid0 to MODULES= like this:
    MODULES=(raid0)
    again not sure if necessary but it works for me
    12. Edit /etc/mkinitcpio.conf adding dm_mod to the MODULES= like this:
    MODULES="dm_mod"
    13. also add to /etc/mkinitcpio.conf HOOKS= mdadm but before filesystems in my case it went like this:
    HOOKS="base udev autodetect pata scsi sata mdadm filesystems"
    14. I went ahead and uncommented a few mirrors in the mirrorlist file so I wouldn't have to deal with that later (and maybe it helps on the way).
    15. Also set a root password. Not sure if it is even necessary but maybe some components require it.
    16, Go to configure bootloader and select Grub
    17. When asked "Do you have your system installed on software raid? answer Yes
    18. When asked to edit the menu.lst file don't edit anything, just exit
    19. When asked "Do you want to install grub to the MBR of each harddisk from your boot array? answer Yes
    20. You will get "Error: Missing/Invalid root device:" and "GRUB was NOT successfully installed." Ignore those messages.
    21. Exit the install
    22. remove the USB stick and:
    # reboot
    23. the boot will fail and you will get a grub> prompt type the following commands:
    grub> root (hd0,0)
    grub> setup (hd0)
    grub> reboot
    Thats it!
    Last edited by 99Percent (2011-06-28 18:51:59)

  • Unable to move existing installation to software RAID-1 setup

    I have an existing Arch Linux amd64 installation which I want to move to a RAID-1 setup.
    I followed the following Wiki article:
    Arch Linux Wiki - Installing with Software RAID or LVM
    with necesary changes applied and some supplemental advice from the equivalent Gentoo Wiki article:
    Gentoo Linux Wiki - HOWTO Install on Software RAID
    mainly for the "--assume-clean" command-line switch to mdadm.
    With a Larch live CD I took a tarball backup of each partition.
    Then with cfdisk partitioned the disks.
    And copied their partition tables to their RAID-1 mirrors:
    sfdisk -d /dev/sda | sfdisk /dev/sdb
    Now, I cannot boot Arch on the RAID-1 setup.
    After initramfs is finished, I get a kernel panic as the "/" partition cannot be mounted.
    The mkinitcpio.conf that created my kernel is this:
    MODULES="ahci pata_amd ata_generic sata_nv sata_sil"
    HOOKS="base udev autodetect pata scsi sata usbinput keymap raid lvm2 filesystems"
    My rc.conf is this:
    MODULES=(raid1 powernow-k8 fuse forcedeth ac battery button fan thermal loop)
    My fstab ("/" and "/boot" lines) is this:
    /dev/md0 /boot ext3 noatime 0 1
    /dev/md1 / ext3 noatime 0 1
    And my menu.lst is this:
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/md1 ro swncq=1 md=0,/dev/sda1,/dev/sdb1 md=1,/dev/sda2,/dev/sdb2
    initrd /kernel26.img
    I even tried another shot by passing all ten RAID-1 arrays (md0 to md9) as kernel parameters, but still, no effect.
    Any help would be greatly appreciated.
    PS: I have created a correct mdadm.conf file with:
    mdadm -D --scan >>/etc/mdadm.conf
    Last edited by wantilles (2008-09-08 08:28:20)

    My experience with raid suggests that mdadm setups work after boot-up as "software raid".  The array is assembled and "ID'd" with mdadm --assemble command.
    IMHO In order to utilize mdadm for boot-up, how does the user "assemble" before the elements needed for mdadm --assemble are accessible?
    IMHO My understanding of booting with raid involves the use of dmraid, a "software" raid program which can be adapted to boot use.  It involves changes to the boot sequence to prevent loss of dmraid params during the boot processes such as hardware detect AFAIK.

  • I have some questions regarding setting up a software RAID 0 on a Mac Pro

    I have some questions regarding setting up a software RAID 0 on a Mac pro (early 2009).
    These questions might seem stupid to many of you, but, as my last, in fact my one and only, computer before the Mac Pro was a IICX/4/80 running System 7.5, I am a complete novice regarding this particular matter.
    A few days ago I installed a WD3000HLFS VelociRaptor 300GB in bay 1, and moved the original 640GB HD to bay 2. I now have 2 bootable internal drives, and currently I am using the VR300 as my startup disk. Instead of cloning from the original drive, I have reinstalled the Mac OS, and all my applications & software onto the VR300. Everything is backed up onto a WD SE II 2TB external drive, using Time Machine. The original 640GB has an eDrive partition, which was created some time ago using TechTool Pro 5.
    The system will be used primarily for photo editing, digital imaging, and to produce colour prints up to A2 size. Some of the image files, from scanned imports of film negatives & transparencies, will be 40MB or larger. Next year I hope to buy a high resolution full frame digital SLR, which will also generate large files.
    Currently I am using Apple's bundled iPhoto, Aperture 2, Photoshop Elements 8, Silverfast Ai, ColorMunki Photo, EZcolor and other applications/software. I will also be using Photoshop CS5, when it becomes available, and I will probably change over to Lightroom 3, which is currently in Beta, because I have had problems with Aperture, which, until recent upgrades (HD, RAM & graphics card) to my system, would not even load images for print. All I had was a blank preview page, and a constant, frozen "loading" message - the symbol underneath remained static, instead of revolving!
    It is now possible to print images from within Aperture 2, but I am not happy with the colour fidelity, whereas it is possible to produce excellent, natural colour prints using its "minnow" sibling, iPhoto!
    My intention is to buy another 3 VR300s to form a 4 drive Raid 0 array for optimum performance, and to store the original 640GB drive as an emergency bootable back-up. I would have ordered the additional VR300s already, but for the fact that there appears to have been a run on them, and currently they are out of stock at all, but the more expensive, UK resellers.
    I should be most grateful to receive advice regarding the following questions:
    QUESTION 1:
    I have had a look at the RAID setting up facility in Disk Utility and it states: "To create a RAID set, drag disks or partitions into the list below".
    If I install another 3 VR300s, can I drag all 4 of them into the "list below" box, without any risk of losing everything I have already installed on the existing VR300?
    Or would I have to reinstall the OS, applications and software again?
    I mention this, because one of the applications, Personal accountz, has a label on its CD wallet stating that the Licence Key can only be used once, and I have already used it when I installed it on the existing VR300.
    QUESTION 2:
    I understand that the failure of just one drive will result in all the data in a Raid 0 array being lost.
    Does this mean that I would not be able to boot up from the 4 drive array in that scenario?
    Even so, it would be worth the risk to gain the optimum performance provide by Raid 0 over the other RAID setup options, and, in addition to the SE II, I will probably back up all my image files onto a portable drive as an additional precaution.
    QUESTION 3:
    Is it possible to create an eDrive partition, using TechTool Pro 5, on the VR300 in bay !?
    Or would this not be of any use anyway, in the event of a single drive failure?
    QUESTION 4:
    Would there be a significant increase in performance using a 4 x VR300 drive RAID 0 array, compared to only 2 or 3 drives?
    QUESTION 5:
    If I used a 3 x VR300 RAID 0 array, and installed either a cloned VR300 or the original 640GB HD in bay 4, and I left the Startup Disk in System Preferences unlocked, would the system boot up automatically from the 4th. drive in the event of a single drive failure in the 3 drive RAID 0 array which had been selected for startup?
    Apologies if these seem stupid questions, but I am trying to determine the best option without foregoing optimum performance.

    Well said.
    Steps to set up RAID
    Setting up a RAID array in Mac OS X is part of the installation process. This procedure assumes that you have already installed Mac OS 10.1 and the hard drive subsystem (two hard drives and a PCI controller card, for example) that RAID will be implemented on. Follow these steps:
    1. Open Disk Utility (/Applications/Utilities).
    2. When the disks appear in the pane on the left, select the disks you wish to be in the array and drag them to the disk panel.
    3. Choose Stripe or Mirror from the RAID Scheme pop-up menu.
    4. Name the RAID set.
    5. Choose a volume format. The size of the array will be automatically determined based on what you selected.
    6. Click Create.
    Recovering from a hard drive failure on a mirrored array
    1. Open Disk Utility in (/Applications/Utilities).
    2. Click the RAID tab. If an issue has occurred, a dialog box will appear that describes it.
    3. If an issue with the disk is indicated, click Rebuild.
    4. If Rebuild does not work, shut down the computer and replace the damaged hard disk.
    5. Repeat steps 1 and 2.
    6. Drag the icon of the new disk on top of that of the removed disk.
    7. Click Rebuild.
    http://support.apple.com/kb/HT2559
    Drive A + B = VOLUME ONE
    Drive C + D = VOLUME TWO
    What you put on those volumes is of course up to you and easy to do.
    A system really only needs to be backed up "as needed" like before you add or update or install anything.
    /Users can be backed up hourly, daily, weekly schedule
    Media files as needed.
    Things that hurt performance:
    Page outs
    Spotlight - disable this for boot drive and 'scratch'
    SCRATCH: Temporary space; erased between projects and steps.
    http://en.wikipedia.org/wiki/StandardRAIDlevels
    (normally I'd link to Wikipedia but I can't load right now)
    Disk drives are the slowest component, so tackling that has always made sense. Easy way to make a difference. More RAM only if it will be of value and used. Same with more/faster processors, or graphic card.
    To help understand and configure your 2009 Nehalem Mac Pro:
    http://arstechnica.com/apple/reviews/2009/04/266ghz-8-core-mac-pro-review.ars/1
    http://macperformanceguide.com/
    http://www.macgurus.com/guides/storageaccelguide.php
    http://www.macintouch.com/readerreports/harddrives/index.html
    http://macperformanceguide.com/OptimizingPhotoshop-Configuration.html
    http://kb2.adobe.com/cps/404/kb404440.html

  • Software raid won't boot after updating to "mdadm" in mkinitcpio.conf

    After a power outage I've discovetred the config I was using (with raid in mkinitcpio.conf) no longer works, it's mdadm now - that's fine.  I've updated that and re-run mkinitcpio successfully, however my system is unable to boot from the root filesystem /dev/md2 like so:
    Waiting for 10 seconds for device /dev/md2 ...
    Root device '/dev/md2' doesn't exist. Attempting to create it.
    ERROR: Unable to determine major/minor number of root device '/dev/md2'.
    You are being dropped to a recovery shell
        Type 'exit' to try and continue booting
    /bin/sh: can't access tty; job control turned off
    [ramfs /]#
    As far as I can see from reading various threads and http://wiki.archlinux.org/index.php/Ins … AID_or_LVM I'm doing the right things now (although I'm not using lvm at all, which makes the installation document a little confusing).
    I think I've included all the appropriate bits of config here that should be working.  I assume I've missed something fundamental - any ideas?
    menu.lst:
    # (0) Arch Linux
    title  Arch Linux  [/boot/vmlinuz26]
    root   (hd0,0)
    kernel /vmlinuz26 root=/dev/md2 ro
    initrd /kernel26.img
    mkinitcpio.conf:
    HOOKS="base udev autodetect pata scsi mdadm sata filesystems"
    fstab:
    /dev/md1 /boot ext3 defaults 0 1
    /dev/md2 / ext3 defaults 0 1
    mdadm.conf
    ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=7ae70fa6:9f54ba0a:21
    47a9fe:d45dbc0c
    ARRAY /dev/md2 level=raid1 num-devices=2 metadata=0.90 UUID=20560268:8a089af7:e6
    043406:dbdabe38
    Thanks!

    Hi magec, that's quite helfpul - I've certainly got further.
    Before I was doing this to set up the chroot (which is what is suggested in the wiki article about setting up software raid):
    mdadm -A /dev/md1 /dev/sda1 /dev/sdb1
    mdadm -A /dev/md2 /dev/sda2 /dev/sdb2
    mount /dev/md2 /mnt
    mount /dev/md1 /mnt/boot
    mount -o bind /dev /mnt/dev
    mount -t proc none /mnt/proc
    chroot /mnt /bin/bash
    But based on your suggestion it's working better
    mdadm -A /dev/md1 /dev/sda1 /dev/sdb1
    mdadm -A /dev/md2 /dev/sda2 /dev/sdb2
    mount /dev/md2 /mnt
    mount /dev/md1 /mnt/boot
    mount -t proc none /mnt/proc
    mount -t sysfs none /mnt/sys
    mount -n -t ramfs none /mnt/dev
    cp -Rp /dev/* /mnt/dev
    chroot /mnt /bin/bash
    The boot is now getting further, but now I'm getting:
    md: md2 stopped.
    md: bind<sdb2>
    md: bind<sda2>
    raid1: raid set md2 active with 2 out of 2 mirrors
    md2: detected capacity change from 0 to 32218349568
    mdadm: /dev/md2 has been started with 2 drives.
    md2: Waiting 10 seconds for device /dev/md2 ...
    unknown partition table
    mount: mounting /dev/md2 on /new_root failed: No such device
    ERROR: Failed to mount the real root device.
    Bailing out, you are on your own. Good luck.
    /bin/sh: can't access tty; job contol turned off
    [ramfs /]#
    The bit that really confuses me is this:
    [ramfs /]# cat /proc/mdstat
    Personalities : [raid1]
    md2 : active raid1 sda2[0] sdb2[1]
    31463232 blocks [2/2] [UU]
    md1 : active raid1 sda1[0] sdb1[1]
    208704 blocks [2/2] [UU]
    unused devices: <none>
    [ramfs /]# mount /dev/md2 /new_root
    mount: mounting /dev/md2 on /new_root failed: No such file or directory
    [ramfs /]# ls /dev/md2
    /dev/md2
    [ramfs /]#
    So the array is up, the device node is there but it can't be mounted?  Very strange.
    Last edited by chas (2010-05-02 11:24:09)

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all,
    Anybody please guide me regarding the posted error.
    I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
    I appreciate all types of clarifications...
    Thanks in Advance
    Sajeev George

    Sajeevcmc wrote:
    Hi,
    Thanks for the reply.
    Could you please tell me the rpm full name and where i can download the same?
    Thanks in Advance
    SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
    binutils-2.15.92.0.2-10.EL4
    compat-db-4.1.25-9
    control-center-2.8.0-12
    gcc-3.4.3-9.EL4
    gcc-c++-3.4.3-9.EL4
    glibc-2.3.4-2
    glibc-common-2.3.4-2
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-9.EL4
    libstdc++-devel-3.4.3-9.EL4
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    And from the following link, you can get the same list:
    http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
    And from my installation guide you can easily install Oracle on Linux by following step by step instruction
    [Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Error while installing JDK 1.6 on Linux?

    Hi,
    Could not locate a suitable jar utility.
    Please ensure that you have Java 6 or newer installed on your system
    and accessible in your PATH or by setting JAVA_HOME
    Below is environment variables on Linux. when I try to install JDK 1.6 I'm getting forllowing error.
    do I need to add environment variable before installing JDK ? In windows it will automatically add to path variable while installing. how to fix above problem?
    environment variables on Linux server below.
    HOSTNAME=lx-cphrobi-t49x
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    SSH_CLIENT=10.172.18.240 62878 22
    OLDPWD=/opt/oinstall/software
    SSH_TTY=/dev/pts/0
    USER=hrobi
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or= 01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:* .bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.l zh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31 :*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35 :*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/hrobi
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/centrifydc/bin:/usr/X11R6/bin:/home/hro bi/bin
    INPUTRC=/etc/inputrc
    PWD=/opt/oinstall/software/Java
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/hrobi
    LOGNAME=hrobi
    CVS_RSH=ssh
    SSH_CONNECTION=10.172.18.240 62878 10.179.8.117 22
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    G_BROKEN_FILENAMES=1
    _=/usr/bin/env

    When you installing Java on Linux, installable should not ask for JAVA_HOME as you mentioned "Please ensure that you have Java 6 or newer installed on your system and accessible in your PATH or by setting JAVA_HOME "
    Check this link for more info, it suppose to be as good as Windows
    http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html

  • Adding A New Drive To A Software RAID 5 Array

    Edit 3: Just mounted the partitions and I can delete them because they contain nothing special. Is it safe to expand the 2nd partition of each drive to fill up the left over 22 GB?
    Edit 2: I just deleted all the partitions off of my new drive and created one partition, then added it to the array and it works just fine. My next question is, can I delete all the smaller partitions and expand /dev/sd[x]2 to reclaim all the space (about 70 GB)?
    One of my drives failed and Western Digital sent me a new drive, except it was an external drive instead of an internal drive, so I cracked it open and the label looked different. Turns out it's just refurbished and it's the same model as my other drives (WD Caviar Green 3 TB).
    I've read through the wiki article on Software RAID and created the partitions exactly the same as my other drives, but while creating the main 2.7 TB partition it says that the ending sector is out of range when it isn't. I'm new to all this so I have no idea what to do. From what I've read there normally aren't this many partitions per disk, correct? I also have md124, md125 and md126 for the other partitions. md127 is for the 2.7 TB partitions. I took the array out of my Thecus N4520. I have a 3 TB external drive and a 1TB internal, along with another 500 GB drive. Would I be better off at destroying the RAID set and creating a fresh RAID 5 set, considering I'm losing about 90 GB if I don't need the smaller partitions.
    /dev/sdc
    Disk /dev/sdc: 5860533168 sectors, 2.7 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 00636413-FB4D-408D-BC7F-EBAF880FBE6D
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 5860533134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 43941 sectors (21.5 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 41945088 46139375 2.0 GiB FD00
    2 47187968 5860491263 2.7 TiB FD00 THECUS
    3 46139392 47187951 512.0 MiB FD00
    4 2048 20973559 10.0 GiB FD00 i686-THECUS
    5 20973568 41945071 10.0 GiB FD00
    /dev/sdd
    Disk /dev/sdd: 5860533168 sectors, 2.7 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): C5900FF4-95A1-44BD-8A36-E1150E4FC458
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 5860533134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 43941 sectors (21.5 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 41945088 46139375 2.0 GiB FD00
    2 47187968 5860491263 2.7 TiB FD00 THECUS
    3 46139392 47187951 512.0 MiB FD00
    4 2048 20973559 10.0 GiB FD00 i686-THECUS
    5 20973568 41945071 10.0 GiB FD00
    /dev/sde
    Disk /dev/sde: 5860533168 sectors, 2.7 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 2B5527AC-9D53-4506-B31F-28736A0435BD
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 5860533134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 43941 sectors (21.5 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 41945088 46139375 2.0 GiB FD00
    2 47187968 5860491263 2.7 TiB FD00 THECUS
    3 46139392 47187951 512.0 MiB FD00
    4 2048 20973559 10.0 GiB FD00 i686-THECUS
    5 20973568 41945071 10.0 GiB FD00
    new drive: /dev/sdf
    Disk /dev/sdf: 5860467633 sectors, 2.7 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 93F9EF48-998D-4EF9-B5B7-936D4D3C7030
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 5860467599
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 5813281700 sectors (2.7 TiB)
    Number Start (sector) End (sector) Size Code Name
    1 41945088 46139375 2.0 GiB FD00 Linux RAID
    2 47187968 47187969 1024 bytes FD00 Linux RAID
    3 46139392 47187951 512.0 MiB FD00 Linux RAID
    4 2048 20973559 10.0 GiB FD00 Linux RAID
    5 20973568 41945071 10.0 GiB FD00 Linux RAID
    when I type in 5860491263 as the end sector gdisk does nothing, just wants more input. If I type +2.7T it accepts it, but really it just creates a partition that's 1KB in size!
    I am able to create a 2.7 TB partition with an end sector of 5860467599, this won't screw anything up will it?
    Edit 1: just tried it and got this
    [root@ra /home/bran]# mdadm --add /dev/md127 /dev/sdf2
    mdadm: /dev/sdf2 not large enough to join array
    [root@ra /home/bran]# fdisk -l /dev/sdf
    Disk /dev/sdf: 2.7 TiB, 3000559428096 bytes, 5860467633 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 93F9EF48-998D-4EF9-B5B7-936D4D3C7030
    Device Start End Size Type
    /dev/sdf1 41945088 46139375 2G Linux RAID
    /dev/sdf2 47187968 5860467599 2.7T Linux RAID
    /dev/sdf3 46139392 47187951 512M Linux RAID
    /dev/sdf4 2048 20973559 10G Linux RAID
    /dev/sdf5 20973568 41945071 10G Linux RAID
    Last edited by brando56894 (2014-04-28 00:47:29)

    Sorry I numbered them to show the flow of information, this was also just a place for me to store info as I worked through it. I managed to get it to work by creating a partition that takes up the whole drive and is actually 22 GB larger than all the other drives (since I found out that the had root, swap and home partitions that are no longer needed).
    I should be able to resize the other partitions without a problem, correct? They're EXT4. Should I unmount the raid array and do them individually, remount the array, let it sync and do the next? Or just unmount the array, resize all of them, mount it and let it sync?

  • How to install oracle 11g on oracle linux 6.1.

    Hello everyone here at oracle forum.!
    I'm new on using the linux and i badly need to learn it including the Oracle Database for making PHP website.
    Because of this i downloaded all the packages of Oracle Linux Release 6 Update 1 Media Pack for x86 (32 bit) at E-Delivery.
    Now i was having a hard time figuring out how to install all the 4 ISO images. the only one that worked was was the boot.iso that installed the Oracle Linux 6 without the DB.
    So what would i do to use the 3 updates?
    I burnt them all one by one on different DVD but it wont look for the other packages.
    So please guys bare with me and help me figure out how to use the other 3 packages for i know it has the Oracle Database.
    Oracle Linux Release 6 Update 1 source DVD 1 V26570-01
    Oracle Linux Release 6 Update 1 source DVD 2 V26571-01
    Oracle Linux Release 6 Update 1 Boot iso image for x86 (32 bit) V26573-01

    Oracle Linux does not install any Oracle Database. You don't need the source and boot.iso DVD. You can boot and install the system from the Oracle Linux 6.1 installation DVD. The boot.iso is useful for a network install and the source DVD if you want to compile everything yourself.
    As far as I know, Oracle Database has not been certified for Oracle Linux 6 yet. That does not necessarily mean you cannot install Oracle Database on Oracle Linux 6 yet, but you will run into problems with software requirements, package dependencies and perhaps incompatibilities, i.e. ext4 file system.
    I think your best option is to install Oracle Linux 5 and certainly use Oracle VirtualBox. If you are new to Linux you probably cannot use Linux as your primary OS yet, and VirtualBox will allow you to install and re-install without jeopardizing your primary host OS. You can also download pre-build virtual machines for Virtualbox from http://www.oracle.com/technetwork/community/developer-vm/index.html which might have everything you need installed and ready to use.

  • How to install Oracle client on UBUNTU LInux

    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it and is there any other tool which i can install instead of oracle client?
    Regards,
    RJiv.

    RJiv wrote:
    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it All recent Oracle version support different Linux flavours
    The problem is Oracle usually don't provide direct Oracle Client download except for Windows. You need to download the Server installation file and install the client piece. The download files are rather large.
    and is there any other tool which i can install instead of oracle client?It depends on what you plan to do with Oracle client and why you need it.
    On alternative is instance client, it has direct download for all supported platform.
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html

  • Software RAID issue

    I have just installed 2-200 GB seagate hd's into my machine and set them up as a software raid 0. Also installed is the original 80 GB drive and a Hitachi 160 GB drive. The two new drives functioned long enough for me to copy all of my raw digital home video.
    Now, when I try to boot the grey Apple screen comes up and the machine hangs. When I disconnect the drives, it boots right up.
    I thought maybe my power supply was giving up the ghost until I reconnected them and successfully rebooted with Drive Genius 1.2. I rebuilt the raid set (maintaining all data) and rebooted into OSX successfully. Woohoo!
    But not so fast. Next reboot started the same thing. And now Drive Genius has no effect.
    I really dont wan't to lose the data on these drives. Is there a problem with the software raid in 10.4.7? Any ideas of other things to try? Help?!?!
    Thanks,
    Andy
    G4 1.25DP FW800   Mac OS X (10.4.7)  
    G4 1.25DP FW800   Mac OS X (10.4.7)  

    Possibly a couple things that "aren't quite right" with your setup.
    SoftRAID 3.5 supports mirror for boot drive, but not with stripped.
    The two IDE buses are not identical, making for some slight problems with RAID on the two.
    You really can't RAID if both drives are together in one drive cage on the same IDE bus.
    You need a PCI controller to RAID in MDD. Most people at this point in time opt for Serial ATA drives and controller. If you want a bootable SATA drive...
    http://www.firmtek.com/seritek
    If you must boot from stripped RAID (not always a good idea and may not offer much actually in real world performance, check www.barefeats.com for some tests for one).
    A dedicated boot drive for OS/Apps and use other drives for media, data, scratch, even for /users.
    Two ATA drives on the same bus, have to share the bus, contend for I/O.
    You can create a stripe raid with Disk Utility and boot.
    I assume that you read the SoftRAID QuickStart and Manual which really are helpful. There are a number of sites etc that can go into more about RAID.

  • How to install the driver of the 'SCSI and RAID Host Controller'

    Hi,
    I have two Windows XP(32Bit) installations:
    •Windows XP SP2(32Bit) which is old and it seems as if it is infected by some viruses.
    •I have installed another fresh clean Windows XP(32Bit) SP3. However, I have found that there is no category named with ''SCSI and RAID Host Controller'. However, when checking out the old version of Windows XP, I found  'SCSI and RAID Host Controller'
    is there. (Screen shot below)
    The new Windows XP(32Bit) SP3, there is no 'SCSI and RAID Host Controller'
    My motherboard is:
    My Desktop Computer(Intel P 4, 512MB of RAM, and Graphics Card  with 256MB of RAM.
    ]I am seeing that most computer doesn't has the scsi / raid controller . in the old Windows XP on my computer that SCSI and RAID controller exists, and it it has not  a yellow mark on it.
    When I installed  a new windwos XP 32Bit SP3, no SCSI/RAID in divice manager .
    My computer sound on new Windows XP doesn't work , however, on old Windows XP SP2 works well. I have a buitl-in  sound card. SCSI and RAID controller category in the device manager on the old Windows xp SP2 is realted to sound card,I don't think.
    Thus, What drivers would let the 'SCSI and RAID Host Controller' added in the device manager?
    A man should convert his anger and sadness into strength to continue living in this life.

    If you open the case and shine a light on the motherboard you can usually see both the manufacturers name and the model printed on the pcb somewhere. You should also normally see this information on the first POST screen when you turn on the PC.
    Otherwise Google "775i65G" like I did.
    Here are the driver downloads (assuming it is an Asrock 775i65G R2.0 and not an R3.0)
    http://www.asrock.com/mb/Intel/775i65G%20R2.0/?cat=Download&os=XP
    You should install the inf driver first. Hopefully after you do that you will see your desired listing in Device Manager.
    With regard to the AMR driver and the HDMR driver, you can find some information about these here :
    http://en.wikipedia.org/wiki/Audio/modem_riser
    Unless you actually have something plugged into these risers, it is probably not necessary to install the drivers.
    However, the drivers for the integrated C-Media audio chip and the Realtek Lan chip may prove useful.
    It looks like the motherboard has integrated video but if you are using a graphics card it will not normally be necessary to install the VGA driver.
    You can download both the manual and the installation guide here
    http://www.asrock.com/mb/Intel/775i65G/?cat=Manual
    And if "SCSI and RAID Host Controller" is still not shown in Device Manager, don't worry - because these functions are not supported by your motherboard (again assuming it is an Asrock 775i65G)
    Thanks a lot,
    First of all, when saying that I have multi-operationgs systems, I mean there are two operating systems installed on my PC(SP2, SP3) both are 32Bit. The first Windows SP2(NOT installed by me) has all multimedia audio card installed
    well, and has SCSI and RAID Host Controller shown the device manager. However, only the VGA is not installed on Windows SP2. However, the second one Windows SP3(Installed by me) has VGA not installed, Multimedia audio NOT installed, and there is no SCSI and
    RAID Host Controller in device manager.
    First: Why did the CPUz, specy didn't detect motherboard name, and only detect the model. IF I need to  open the case and shine a light on the motherboard you can usually see both the manufacturers name and the model printed on
    the pcb somewhere, then what benfit would be there from hardware detection software?
    Second: Yes, my motherboard has integrated video, and integrated audio card
    However, this doesn't mean that I don't need to install them since the Vidoe controller is not properly installed (it is a default VGA ) Also, Multimedia audio controller is not functiong at all.
    Finally: if And if "SCSI and RAID Host Controller" is still not shown in Device Manager in Windows XP SP3,  because these functions are not supported by my motherboard, then why is 'SCSI and RAID Host
    Controller' installed/shown in the device manger in Windows XP SP2 on the same PC???
    A man should convert his anger and sadness into strength to continue living in this life.

Maybe you are looking for

  • Unable to load washington post, invalid url

    unable to load Washington Post website. Get invalid URL message

  • Installing on external HD - Possible?

    Hi, I am just starting to learn the Basics of Mac Os x Server, and for now want to install just to mess around and learn the ropes! Is it possible to install it on an firewire External Hard drive similar to OS X? When I tried it told me that it could

  • Add reference to winSCP not working in Production

    Hi, I have basic knowledge in c#, I'm developing a website by using visual studio 2012, one fuction is to sftp file to remote server, I noticed that sftp is not supported by asp.net, I downloaded third party dll file (winSCP), in the visual studio I

  • Updating the infotype 9901

    Hi, I have a req, i will get a file and need to update the data from file into the infotype 9901 with other fields too. can anyone of u provide me with any sample logic. I may need to create a new record,modify the existing record or delete the recor

  • I Can't uninstall pc suite 5.1

    HEEEEELlllPPP I'vr tried the conventional uninstall routes, it starts to use the wizard then it just disapears. when i try it in 'add or remove software' it doesn't have a tab to remove it. I've tried all options on pc suite cleaner 3.6 still nothing