[SOLVED] grub2 dmraid and parttool

Hello,
I want to update from grub-legacy to grub2 and have some troubles to setup
up my grub2 enviroment with dmraid and parttool.
I have installed linux, win xp and win vista on fake a raid device.
On grub legacy I followed the instructions on the wiki as described her  https://wiki.archlinux.org/index.php/In … stall_GRUB
To boot windows xp or vista a hide the windows partitions among each other. With grub-legacy it works. Now the point is how to get this work with grub2.
Currently my grub.cfg for windows looks like following:
menuentry "Windows XP" --class "windows" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
parttool (hd3,1) hidden-
parttool (hd3,2) hidden+
parttool (hd3,1) boot+
search --no-floppy --fs-uuid --set root 9084516E84515834
ntldr /ntldr
menuentry "Windows Vista" --class "windows" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
parttool (dm) hidden+
parttool (hd3,2) hidden-
parttool (hd3,1) boot+
search --no-floppy --fs-uuid --set root 5AFC3ABCFC3A91ED e o
ntldr /bootmgr
Currently my device.map looks like this:
(hd0) /dev/disk/by-id/ata-ST3250620AS_9QE254ZH
(hd1) /dev/disk/by-id/ata-ST3250620AS_5QF5210T
(hd2) /dev/disk/by-id/ata-ST3500410AS_5VM0FTBY
(hd3) /dev/disk/by-id/dm-uuid-DMRAID-isw_eafejhhgaf_Volume0
(hd3,1) /dev/disk/by-id/dm-uuid-DMRAID-isw_eafejhhgaf_Volume0p1
(hd3,2) /dev/disk/by-id/dm-uuid-DMRAID-isw_eafejhhgaf_Volume0p2
When try to start windows it complains with
Error: hd3 cannot get C/H/S values
So parttool seems not to work with this configuration.
Windows just starts - but not correct, so my dmraid just works with grub (linux just starting fine, too).
The only point is how must I configure my device.map file that parttool ist working?
A grub console like in grub-legacy to setup the c/h/s values for the fake raid seems not to exist, or I haven't found it currently...
Cheers framas
Last edited by framas (2012-04-28 09:06:51)

I solved it now by hiding the first disk of my fake raid array. Don't know if this is the "right" solution but it works for me...
device.map:
(fd0) /dev/fd0
(hd0) /dev/disk/by-id/ata-ST3250620AS_9QE254ZH
(hd1) /dev/disk/by-id/ata-ST3250620AS_5QF5210T
grub.cfg:
menuentry "Windows XP" --class "windows" {
insmod ntfs
insmod search_fs_uuid
insmod ntldr
parttool (hd0,1) hidden-
#parttool (hd1,1) hidden-
parttool (hd0,2) hidden+
#parttool (hd1,2) hidden+
search --no-floppy --fs-uuid --set root 9084516E84515834
ntldr /ntldr
menuentry "Windows Vista" --class "windows" {
insmod ntfs
insmod search_fs_uuid
insmod ntldr
parttool (hd0,1) hidden+
#parttool (hd1,1) hidden+
parttool (hd0,2) hidden-
#parttool (hd1,2) hidden-
search --no-floppy --fs-uuid --set root 5AFC3ABCFC3A91ED
ntldr /bootmgr
Last edited by framas (2012-04-28 09:07:24)

Similar Messages

  • (SOMEWHAT SOLVED) grub2 finds and boots windows 7 but NOT arch

    I installed arch on a new system. I have 64-bit Windows 7 Ultimate. I installed arch skipped bootloader, chrooted into system and installed grub2 and installed. My system is btrfs. I do not have a seperate swap or home partition. OS-prober is installed.  I have another system with btrfs and grub2 and all works fine. When I run grub-mkconfig -o /boot/grub/grub.cfg I get this
    Keyboard is not working properly on other computer so I cannot insert code brackets.
    Found linux image: /boot/vmlinuz-linux
    Found initrd image: /boot/initramfs-linux.img
        No volume groups found   (what does this mean)
    Found Windows 7 (loader) on /dev/sda1
    done
    Again boot and root partitions are btrfs. Grub2 is the bootloader and it does support btrfs at least the version in the repos a month ago did. I have feeling this might be the problem but I do not know why. Windows 7 boots successfully by the way. No Arch Linux
    Edit: Backed up boot partition. Made the partition ext4 and cp'd it all back and still no luck. I converted it because ran the grub-mkconfig again and I got everything above but also I got an unknown filesystem error.  Converting it back to btrfs...
    Edit 2: I am writing this from within windows but grub2 now shows Arch in the the menu. (no gui on this install yet) After what feels like 100 grub-installs and grub-mkconfigs it is all working. I still have two questions. For like half a second I see a file not found and I think it is a *.mod in /usr/lib/grub/i386-pc directory. (i have good eyes). What could this be? Secondly, what does no volume groups mean? Marking this somewhat solved.
    Last edited by quasifilmie (2012-03-30 23:59:43)

    I'd just ask checking the grub.cfg file to see if the device id entries for arch in the grub menu are correct.
    In my case, I use ubuntu's grub2 and each time I have to update grub for some reason, it wont get the partition right for the arch entry.
    Last edited by debdj (2012-03-31 15:28:20)

  • [SOLVED] Cloning boot and var partitions to a new drive for booting

    Ok first of all here's my setup:
    fakeraid (dmraid) / and home on an OCZ Revodrive
    boot with GRUB on a flash drive (since fakeraid doesn't support grub)
    var and downloads/media folder on a 500GB WD Caviar drive
    When I originally installed Arch I had the Caviar drive in my home server in a RAID5 array, so that's why I opted to install boot and grub on a flash drive simply for booting.  Now that I have the drive in my desktop I've cloned the flash drive's partitions and MBR using dd:
    #dd if=/dev/sde of=~/MBR.img bs=512 count=1
    #dd if=/dev/sde1 of=~/boot.img
    #dd if=/dev/sdc1 of=~/var.img
    I then backed up my downloads/media partition, then removed the partition table, then used dd to put the img files on the Caviar drive.
    #dd if=~/MBR.img of=/dev/sdc bs=512 count=1
    #dd of=~/boot.img of=/dev/sdc1
    #dd of=~/var.img of=/dev/sdc2
    I also created labels for the filesystems and put those in fstab.
    I'm able to mount both partitions, however I can't boot from the drive.  I get a 'grub hard disk error' (no error number) when I put it as my first drive in the BIOS. 
    I can still use the flash drive as the first hard drive in the BIOS and boot from it, then it mounts the dmraid root partition and boots successfully.  It is also able to mount the var and boot partitions in fstab. 
    Basically the only problem is that the MBR is somehow wrong.  I then tried booting back into an Arch live USB and installing GRUB from the prompt:
    grub
    grub>setup (hd4,0) (in this case the Caviar drive's boot partition was /dev/sde1
    So essentially what I'm asking is how GRUB handles the MBR.  Is it specific to the partition table of the drive in which it resides when it's originally installed?  For instance, since I had an 8GB flash drive with 2 partitions when I installed GRUB, is the backed up MBR no good for a 500GB drive with 3 partitions?
    I have everything backed up so I can start with a fresh /boot and /var if need be....I'm just not sure where to start. 
    Thanks in advance.
    Last edited by DarksideEE7 (2011-02-13 23:25:31)

    Sorry, I forgot to mention that I tried to install GRUB from the GRUB shell in a live Arch USB.  It failed on a few non-critical parts, and succeeded on the last part. I'm going to try again shortly, possibly I did something wrong.  GRUB is able to find the stage files using:
    #grub
    grub>find /grub/stage1
    grub> find /grub/stage1
    (hd0,0)
    (hd5,0)
    grub>
    (hd0,0) is the desired boot drive, while (hd5,0) is the current bootable flash drive with /boot and GRUB installed.
    Here is the output of fdisk -l:
    WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
    Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
    256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Device Boot Start End Blocks Id System
    /dev/sde1 1 3907029167 1953514583+ ee GPT
    Disk /dev/sdb: 60.0 GB, 60022480896 bytes
    255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xedb72db9
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS
    /dev/sdb2 206848 117227519 58510336 7 HPFS/NTFS
    Disk /dev/sdd: 40.0 GB, 40018599936 bytes
    255 heads, 63 sectors/track, 4865 cylinders, total 78161328 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000
    Disk /dev/sdd doesn't contain a valid partition table
    Disk /dev/sdc: 40.0 GB, 40018599936 bytes
    32 heads, 32 sectors/track, 76329 cylinders, total 78161328 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xb8372fcd
    Device Boot Start End Blocks Id System
    /dev/sdc1 32 21484543 10742256 83 Linux
    /dev/sdc2 21484544 156317695 67416576 83 Linux
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8497e059
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 83 Linux
    /dev/sda2 206848 42149887 20971520 83 Linux
    /dev/sda3 42149888 976773167 467311640 83 Linux
    Disk /dev/dm-0: 80.0 GB, 80035053568 bytes
    32 heads, 32 sectors/track, 152654 cylinders, total 156318464 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Disk identifier: 0xb8372fcd
    Device Boot Start End Blocks Id System
    /dev/dm-0p1 32 21484543 10742256 83 Linux
    Partition 1 does not start on physical sector boundary.
    /dev/dm-0p2 21484544 156317695 67416576 83 Linux
    Disk /dev/dm-1: 11.0 GB, 11000070144 bytes
    255 heads, 63 sectors/track, 1337 cylinders, total 21484512 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Alignment offset: 49152 bytes
    Disk identifier: 0x00000000
    Disk /dev/dm-1 doesn't contain a valid partition table
    Disk /dev/dm-2: 69.0 GB, 69034573824 bytes
    255 heads, 63 sectors/track, 8392 cylinders, total 134833152 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 65536 bytes / 131072 bytes
    Disk identifier: 0x00000000
    Disk /dev/dm-2 doesn't contain a valid partition table
    Disk /dev/sdf: 8086 MB, 8086618112 bytes
    249 heads, 62 sectors/track, 1023 cylinders, total 15794176 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x8497e059
    Device Boot Start End Blocks Id System
    /dev/sdf1 * 62 200693 100316 83 Linux
    /dev/sdf2 200694 15794175 7796741 83 Linux
    I'm using dmraid, so just to be clear I've configured the raid using:
    #modprobe dm_mod
    #dmraid -ay
    Then I saw the array stored in /dev/mapper/silXXXXX.  I then created partitions for /boot, /, and home.  At that time I was hoping to get GRUB working with the AUR package grub2-dmraid.  I wasn't able to get it working for some time, so I just went ahead and installed boot and GRUB to a separate USB flash drive.
    Here is the output of df -h:
    Filesystem Size Used Avail Use% Mounted on
    udev 10M 268K 9.8M 3% /dev
    /dev/mapper/sil_bgbgdjaddicbp1
    11G 5.3G 4.3G 56% /
    shm 6.0G 584K 6.0G 1% /dev/shm
    /dev/mapper/sil_bgbgdjaddicbp2
    64G 38G 23G 63% /home
    /dev/sda1 95M 16M 75M 18% /boot
    /dev/sda2 19G 142M 19G 1% /var
    /dev/sda3 439G 148G 269G 36% /home/l33/Torrents
    none 1000M 132K 1000M 1% /tmp
    shm 6.0G 584K 6.0G 1% /dev/shm
    /dev/sde1 1.8T 1.1T 665G 62% /mnt/Green
    and cat /etc/mtab
    proc /proc proc rw,nosuid,nodev,noexec,relatime
    sys /sys sysfs rw,nosuid,nodev,noexec,relatime
    udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=1022975,mode=755
    /dev/mapper/sil_bgbgdjaddicbp1 / ext4 rw,noatime,barrier=1,stripe=32,data=ordered
    devpts /dev/pts devpts rw 0 0
    shm /dev/shm tmpfs rw,nosuid,nodev 0 0
    /dev/mapper/sil_bgbgdjaddicbp2 /home ext4 rw,noatime 0 0
    /dev/sda1 /boot ext2 rw 0 0
    /dev/sda2 /var reiserfs rw,noatime 0 0
    /dev/sda3 /home/l33/Torrents ext4 rw,noatime 0 0
    none /tmp tmpfs rw,nosuid,nodev,noatime,size=1000M,mode=1777 0 0
    shm /dev/shm tmpfs rw,nosuid,nodev,size=6G 0 0
    rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
    nfsd /proc/fs/nfsd nfsd rw,noexec,nosuid,nodev 0 0
    /dev/sde1 /mnt/Green ext4 rw 0 0
    Also I don't have a /proc/mdstat.  That's only for mdadm RAID setups, right?  It's been quite some time since I've used mdadm so I can't remember.
    EDIT:
    So I booted into a live Arch USB and entered the grub shell.  I ran:
    #grub
    grub> root (hd3,0)
    Filesystem type is ext2fs, partition type 0x83
    grub> setup (hd3)
    Checking if "/boot/grub/stage1" exists.....no
    Checking if "/grub/stage1 exists.......yes
    Checking if "/grub/stage2 exists.......yes
    Checking if "/grub/e2fs_stage1_5 exists....yes
    Running "embed /grub/e2fs_stage1_5 (hd3)".....25 sectors are embedded.
    succeeded
    Running "install /grub/stage1 (hd3) (hd3))1+25 p (hd3,0)/grub/stage2 /grub/menu.lst".......succeeded
    Done.
    Last time I recall more errors than this, then it reporting that one was a non-critical error, so I think the problem may be solved.  More to come.
    Last edited by DarksideEE7 (2011-02-13 23:18:44)

  • I have a annual plan, it supposed must be used in two terminals, but i haven´t been able to install any app in a second computer, it always says that the app is only available as a trial download. What can I do to solve this issue, and be able to use my p

    I have a annual plan, it supposed must be used in two terminals, but i haven´t been able to install any app in a second computer, it always says that the app is only available as a trial download. What can I do to solve this issue, and be able to use my paid plan in two computers?

    Hi Susan,
    Please refer to the help document to fix this issue:
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    You may also refer to the thread as below:
    creative cloud software says my free trial has expired, but I have a paid subscription
    Regards,
    Sheena

  • Problem with solver DLL load and Excel 2010

    Since upgrading from Office 2007 to Office 2010 we've started to experience a problem with the solver addin when our own analytics addins is also loaded. I have found a solution, but I think it may highlight a problem with the latest version of the solver
    addin for Excel 2010.
    Firstly, to describe the problem - the solver addin seems to load normally when Excel 2010 starts up, however when a "Solve" is performed we are seeing a "File not found: Solver32.dll" error at the final "Keep Solver Solution" stage. This only happens our
    own analytics addin is loaded. We've been careful to make sure that our own addin does not change the working directory and also that it has been built against the correct Excel 2010 SDK libraries. We do not see this error with any other versions of Excel
    running on the same PC or any other environment.
    After some searching we found other people were having similar problems and after a bit more probing I found a solution that works - but that I'm not very happy with.
    If I copy the Solver32.dll from:
      C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER
        (where it was installed)
    into :
      C:\Windows\SysWOW64 
        (where Windows 7 keeps its 32 bit system DLLs)
    then the problem goes away.
    This seems to indicate that somehow Office 2010 has a problem that causes it to search in the wrong folder for the Solver32.dll when another addin is loaded in between the original Solver32.XLAM at start up and the use of the Solver in the sheet (which eventually
    requires this DLL to be loaded). Oddly, this only happens after a solution is found and "Keep Solver Solution" is selected - and I'm not sure why it's not looking for Solver32.dll any earlier.
    This is not a problem with any earlier versions of Excel and I suspect is a bug in the Office14/LIBRARY/SOLVER implementation. Is there any way to get this followed up?
    Thanks,
    Andy

    I'm facing the same issue. With an Excel VSTO add-in we're building. When the add-in is enabled the assembly solver32.dll can't be found. With our add-in disabled the DLL is resolved as (Sysinternals Process Monitor trace):
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\system\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER\SOLVER32.DLL
    and with our add-in enabled the following locations are tried, but solver32.dll won't be found:
    excel.exe CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    excel.exe CreateFile
    C:\ArcGIS\______path to our add-in install location_____________\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\system\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Program Files\Common Files\Microsoft Shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\wbem\Solver32.dll
    etc...

  • HT3910 I face problems with the Nvidia 8800 GS on my iMac 24'' 3.06Ghz intel core duo. OS 10.06.08. What can I do to solve the problem and if you recommend upgrade to mountain Lion

    I  face problems with the Nvidia 8800 GS on my iMac 24'' 3.06Ghz intel core duo. OS 10.06.08. What can I do to solve the problem and if you recommend upgrade to mountain Lion

    If you want to sync it to the iPad from that Mac, you need to upgrade it to at least 10.5.8.
    If you want to copy the music to another Mac, you don't. Move the iTunes folder of the item in the Finder's sidebar over as you would any other folder. If you put it somewhere other than the Music folder, launch iTunes with the Option key held down and point it to that location.
    (61713)

  • HT201401 I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the sam

    I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the same
    kindly reply and fix this for me
    reply to my email,tq

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • [SOLVED] Arch64, Opera and plugins library problem

    I have Arch64 with Opera 64-bit as default browser. I have succesfully installed 32-bit flashplugin and it works nicely. The only problem is that fonts cannot be read from the flash player context menu and Open File dialog opened from flash player. The problem is that flashplugin tries to load 64-bit GTK from /usr/lib/gtk-2.0/2.10.0/ and it fails. 32-bit version is installed and it's located in /opt/lib32/usr/lib/gtk-2.0/2.10.0/.
    Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so: wrong ELF class: ELFCLASS64
    Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so: wrong ELF class: ELFCLASS64
    Also I have library loading problem with totem-plugin. It cannot find libxul.so and libxpcom.so, but both library files are located in /usr/lib/xulrunner-1.9.0.1/. The plugin loads fine if I create links to both files in /usr/lib/. But that doesn't seem like right solution to me.
    $ ldd libtotem-mully-plugin.so
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f94e19d9000)
    libtotem-plparser-mini.so.10 => /usr/lib/libtotem-plparser-mini.so.10 (0x00007f94e17d6000)
    libxul.so => not found
    libxpcom.so => not found
    libplds4.so => /usr/lib/libplds4.so (0x00007f94e15d2000)
    What would be a most elegant way of solving these two library loading problems?
    I think that symbolic links and moving files are not the most elegant way to solve the problem. Maybe some environment variable or some configuration setting would solve the problem (LDPATH comes to mind, but it seems that it doesn't work).
    EDIT: I wasn't sure in which section to post this question, so feel free to move it if necessary.
    Last edited by SnapShot (2008-09-12 02:50:01)

    I have solved my problem and I will post my solution because it can be usefull to others.
    First the problem with flashplugin and GTK library path. Opera uses operapluginwrapper scirpt to detect if the plugin is 32-bit or 64-bit and after detection it uses operapluiginwrapper-ia32-linux for 32-bit or operapluginwrapper-native for 64-bit plugins. operapluiginwrapper-ia32-linux loads the 32-bit flashplugin in my case which requires GTK, but it incorectly tries to load it form /usr/lib/gtk-2.0/ where 64-bit version of GTK resides.
    The solution is to set the GTK_PATH environment variable to point to /opt/lib32/usr/lib/gtk-2.0/ where 32-bit version resides. But if you set it globaly it will result in problems with other 64-bit applications. So the correct solution is to add following lines on the bottom of the operapluginwrapper script above the exec line:
    case "$wrapper" in
    *ia32*)
    export GTK_PATH="/opt/lib32/usr/lib/gtk-2.0"
    export PANGO_RC_FILE="/opt/lib32/config/pango/pangorc"
    esac
    In this way the 32-bit paths will be active only for operapluginwrapper-ia32-linux process.
    I have solved the other problem with totem-plugin requesting libxul.so and libxpcom.so, but the solution idoesn't matter because, although totem-plugin loads coreclty it doesn't work in opera. I have installed mplayer-plugin which works as it should. Also gecko-mediaplayer works correctly with opera, I have tested them both. Install one of the two plugins that work, and you will be fine.

  • I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    Most of the people on these forums, including myself, are fellow users - you aren't talking to iTunes Support here.
    Have you contacted iTunes Support as was suggested on your duplicate posts :
    https://discussions.apple.com/message/22178793#22178793
    https://discussions.apple.com/message/22178411#22178411

  • [SOLVED]Grub2 installation fails

    Hello everyone !
    I just switched from Ubuntu to Arch Linux and I have some trouble.
    I can't seem to install grub2, I got a 64GB SSD with GPT and no EFI bios :
    sudo pacman -S grub2
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): grub2-common-1:1.99-4 grub2-bios-1:1.99-4
    Total Download Size: 0.00 MB
    Total Installed Size: 8.20 MB
    Proceed with installation? [Y/n] Y
    (2/2) checking package integrity [######################] 100%
    (2/2) checking for file conflicts [######################] 100%
    (1/2) installing grub2-common [######################] 100%
    ( The total download size must be 0.00 MB because I tried several times so it was already downloaded )
    And then it hangs forever. It does the same thing when I try to install grub2-common alone. What should i do ?
    Thanks in advance
    Last edited by Nolhian (2011-08-23 08:11:00)

    Hello thanks for your answer !
    Unfortunately the cpu is not hanging since I'm running xfce and doing the install in a terminal and I can still do other stuff. I already tried to remove grub2 and separately grub2-bios and grub2-common. Grub is also not installed because when I installed arch linux it failed for unknown reason to install grub on my /dev/sdb, each time i tried, telling me there was some sort of error. And I checked with pacman -Rs grub.
    At the moment I'm still forced to put my other hard drive with ubuntu on it in order to have his grub launch arch linux. When I only put the disk with arch linux on it, it hangs at boot, well just after the bios finishes loading it hangs without outputting anything ( because of the failing of grub install while installing arch ? ). Well I'm really lost

  • I upgraded Safari in my Mac (10.6.8 Leopard) but the new version does not work with my system so that I now have not a working browser. How can I solve the problem and/or install back my previous Safari version?

    I have upgraded Safari in my Mac, but the new Safari does not work with my system. So I find myself without any working browser. How can I solve this problem and/or install my previous Safari version?

    Reinstall Safari 5.1.10 for OS X 10.6.8: http://support.apple.com/kb/dl1569. Might do the trick.
    But, frankly, I don't think that simply reinstalling the old Safari will work because of all the peripheral, under the hood changes that happen when you upgrade from one version of Safari to another. Reinstalling 5.1.10 may be insufficient to turn back the clock. (This is the moment where a Time Machine or another form of full backup would save your bacon.)
    While you're getting a copy of Safari 5.1.10, get a copy of Firefox (https://www.mozilla.org/en-US/firefox/desktop/), too, so that you have an alternate browser to use as you're sorting matters.

  • Solving for diastolic and systolic blood pressure

    Hi everyone,
    I am in desperate need of help undering labview
    I created a VI where you can read pressure vs. voltage but I need to solve for systolic and diastolic pressure
    I am using a pressor sensor
    I need help understanding how to find the x values (time) and then find the corresponding y values (pressure)
    I have attached a picture of my VI and what is going into the filter is just the signal from the DAQ assistant
    also ps I am so confused about this live reading, is it possible for me analyze an array (the graph data) afterwards
    Attachments:
    20140421_145343.jpg ‏2484 KB
    20140421_152544.jpg ‏1292 KB

    Hi julka41,
    If you already have the best fit line, doing the subtraction should not be very difficult. I'm guessing that x represents time, so you can calculate the y value for each point in time that you need to subtract. You should be able to obtain the time information out of the dynamic data type from the DAQ Assistant and piece it back together. Please see this help document for more information on working with dynamic data. If you don't have the best fit line, you'll need to isolate the portion of the signal of interest and use one of the curve fitting VIs in LabVIEW to obtain the best fit line.
    Best Regards,
    Matthew B.
    Applications Engineer
    National Instruments

  • [solved] Opera,firefox and wget extremely slow (dial-up style)

    Hi there,
    this is the first time i've tried Arch Linux (64bit), so bare with me please if i've got something stupidly wrong.
    The Problem: Both Opera and Firefox are both extremly slow when opening websites. It "feels" like some kind of DNS problem, because the initial time before anything loads is quite long, but after that it goes quite quickly (though still a bit sluggish).
    But here's the catch: Ping and loading websites in links work both perfectly fast.
    For example accessing google.com in firefox: 40 seconds until page is loaded. In links about 1 second.
    Wget seems to suffer from the same problem:
    wget google.com
    --2008-12-22 03:29:23-- http://google.com/
    Resolving google.com...
    It just takes a lot of time.
    Can anyone help me with this?
    Last edited by Deathcrow (2008-12-22 12:48:26)

    Ok, i had a hunch:
    http://wiki.archlinux.org/index.php/IPv … the_Module
    Adding the line to modprobe.conf solved the Opera and Firefox issues.
    The behaviour of wget stays the same. Its still very very slow.
    Programs that seem to be affected:
    -wget
    - ssh
    - openntpd
    Edit: Alright, the remaining issues were real network issues on my side. They are fixed now.
    Last edited by Deathcrow (2008-12-22 12:49:03)

  • [SOLVED] Splitting grub2 package as grub2-bios and grub2-efi

    Hi all,
             I currently maintain the grub2-efi-bzr http://aur.archlinux.org/packages.php?ID=40290 and grub2-bios-bzr http://aur.archlinux.org/packages.php?ID=41055 AUR packages. I proposed a split PKGBUILD to tpowa and pressh for grub2 package based on requests at https://bugs.archlinux.org/task/19838 and https://bugs.archlinux.org/task/20419 . The PKGBUILD creates 4 packages grub2-common, grub2-bios, grub2-efi-x86_64, grub2-efi-i386.
    I need your impressions and suggestions on improving the PKGBUILD, especially in avoiding the use of multilib toolchain. Thanks in advance.
    grub2-bios for Archlinux i686 and x86_64 (multilib needed in x86_64) - compiled as any in Arch64
    grub2-bios for Archlinux i686 and x86_64 (multilib needed in x86_64) - compiled as any in Arch64
    grub2-efi-x86_64 for Archlinux i686 and x86_64 (no need for multilib in x86_64, not possible to compile in i686) - compiled as any in Arch64
    I currently use x86_64 Archlinux with gcc-multilib from the official repo. I do not have i686 linux (either Arch or any other distro) installed. My system compiles both grub2-efi-x86_64 and grub2-efi-i386 using the below PKGBUILD. I use only grub2-efi-x86_64 (or x86_64-EFI) in my system.
    _grub2_rev=3040
    _grub2_lua_ver=19
    _grub2_gpxe_ver=12
    _grub2_ntldr_ver=13
    _grub2_915_ver=6
    _USE_MULTILIB=1
    pkgname=('grub2-common' 'grub2-bios' 'grub2-efi-i386')
    pkgbase="grub2"
    pkgver="1.99beta0_r${_grub2_rev}"
    pkgrel=1
    url="http://www.gnu.org/software/grub/"
    arch=('i686' 'x86_64')
    license=('GPL3')
    optdepends=()
    makedepends=('bdf-unifont' 'python2' 'xz' 'autogen' 'texinfo' 'help2man' 'gettext')
    options=(strip docs zipman !emptydirs)
    groups=('grub2')
    conflicts=()
    provides=()
    # source=("ftp://alpha.gnu.org/gnu/grub/grub-${pkgver}.tar.gz"
    source=("http://dl.dropbox.com/u/9710721/grub2_sources/grub2_r${_grub2_rev}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz"
    "http://dl.dropbox.com/u/9710721/grub2_sources/grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz"
    'grub2.default'
    'grub.cfg.example'
    '20_memtest86+'
    '05_archtheme')
    noextract=("grub2_extras_lua_r${_grub2_lua_ver}.tar.xz"
    "grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz"
    "grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz"
    "grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz")
    sha256sums=('50e17683b972c0f5aab9b252af6c800bdc6068aab3654059046a435a3c5eccb6'
    '4d092a8780342a0f7fb5f5f92dc3b123fb5dd583ba137357630c56d416ed3114'
    '8ce1b6b89ef0e3545736477d4c4418524e32c7fb9ba40c67dcebfb84b98cde66'
    '554e9d65805ac61ca9a8c7cecdf6e7d28375dc28b3984140faef0e929e1ebd5b'
    'f0bd90bbbad4b07ec2053d4056f7c5252e95e97477af4206df59ec2d72d88ce0'
    '9dc7834514deabba3eb3ed19d0c7d73e3ab0114b7cd8a2eb6b17e8b7a6328143'
    '8128da77d8e8c86077fde561ba107756ece744ad54a16161c637ce73f836a84a'
    'ba0f871ee93760d14d7f19709bb875af4a863a758776a23519ca7100a63da295'
    '6628b70b857c024297af38cf519bfe7d518a122030ab5d0958677a60ddff6cdd')
    # DESTARCH="i686"
    DESTARCH="x86_64"
    if [ "${CARCH}" = 'x86_64' ] && [ "${_USE_MULTILIB}" = '1' ]
    then
    makedepends=(${makedepends[@]} 'gcc-multilib' 'gcc-libs-multilib' 'lib32-glibc' 'binutils-multilib' 'libtool-multilib')
    _EFIEMU="--enable-efiemu"
    _CFLAGS=""
    _HOST="x86_64"
    if [ "${DESTARCH}" = 'i686' ]
    then
    _CFLAGS="-m32"
    _HOST="i686"
    fi
    elif [ "${CARCH}" = 'x86_64' ] && [ "${_USE_MULTILIB}" = '0' ]
    then
    echo "This package can be built only in a i686 system or in a x86_64 system using gcc-multilib. Exiting."
    exit 1
    fi
    if [ "${CARCH}" = 'i686' ]
    then
    _EFIEMU="--disable-efiemu"
    if [ "${DESTARCH}" = 'x86_64' ]
    then
    _CFLAGS="-m32 -static"
    _HOST="i686"
    fi
    fi
    build_grub2-common_and_bios() {
    rm -rf ${srcdir}/grub2_bios_${DESTARCH} || true
    cp -r ${srcdir}/grub2 ${srcdir}/grub2_bios_${DESTARCH}
    cd ${srcdir}/grub2_bios_${DESTARCH}
    mkdir ${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    cd ${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    bsdtar xf ${srcdir}/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_ntldr-img_r${_grub2_ntldr_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_915resolution_r${_grub2_915_ver}.tar.xz
    cd ${srcdir}/grub2_bios_${DESTARCH}
    export GRUB_CONTRIB=${srcdir}/grub2_bios_${DESTARCH}/grub2-extras/
    ## Archlinux changed default /usr/bin/python3, need to use /usr/bin/python2 instead
    cp ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh ${srcdir}/grub2_bios_${DESTARCH}/autogen_unmodified.sh
    sed -i 's|python|python2|' ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh
    ${srcdir}/grub2_bios_${DESTARCH}/autogen.sh
    echo
    mkdir ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    CFLAGS="${_CFLAGS}" ${srcdir}/grub2_bios_${DESTARCH}/configure --with-platform=pc \
    --host=${_HOST} \
    --program-transform-name=s,grub,grub2, \
    --enable-mm-debug \
    ${_EFIEMU} \
    --enable-grub-mkfont \
    --prefix=/usr \
    --bindir=/bin \
    --sbindir=/sbin \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --sysconfdir=/etc
    echo
    CFLAGS="${_CFLAGS}" make
    echo
    ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-mkfont --output=${srcdir}/unifont.pf2 /usr/share/fonts/misc/unifont.bdf || true
    ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-mkfont --ascii-bitmaps --output=${srcdir}/ascii.pf2 /usr/share/fonts/misc/unifont.bdf || true
    build_grub2-efi-i386() {
    mkdir ${srcdir}/grub2_efi/BUILD_EFI_i386
    cd ${srcdir}/grub2_efi/BUILD_EFI_i386
    CFLAGS="${_CFLAGS}" ${srcdir}/grub2_efi/configure --with-platform=efi \
    --target=i386 \
    --host=${_HOST} \
    --program-transform-name=s,grub,grub2, \
    --enable-mm-debug \
    --disable-efiemu \
    --prefix=/usr \
    --bindir=/bin \
    --sbindir=/sbin \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --sysconfdir=/etc
    echo
    CFLAGS="${_CFLAGS}" make
    echo
    build_grub2-efi() {
    rm -rf ${srcdir}/grub2_efi || true
    cp -r ${srcdir}/grub2 ${srcdir}/grub2_efi
    rm -rf ${srcdir}/grub2
    cd ${srcdir}/grub2_efi
    mkdir ${srcdir}/grub2_efi/grub2-extras/
    cd ${srcdir}/grub2_efi/grub2-extras/
    bsdtar xf ${srcdir}/grub2_extras_lua_r${_grub2_lua_ver}.tar.xz
    bsdtar xf ${srcdir}/grub2_extras_gpxe_r${_grub2_gpxe_ver}.tar.xz
    cd ${srcdir}/grub2_efi
    export GRUB_CONTRIB=${srcdir}/grub2_efi/grub2-extras/
    ## Archlinux changed default /usr/bin/python3, need to use /usr/bin/python2 instead
    cp ${srcdir}/grub2_efi/autogen.sh ${srcdir}/grub2_efi/autogen_unmodified.sh
    sed -i 's|python|python2|' ${srcdir}/grub2_efi/autogen.sh
    ${srcdir}/grub2_efi/autogen.sh
    echo
    build_grub2-efi-i386
    echo
    build() {
    echo
    build_grub2-common_and_bios #
    echo
    build_grub2-efi #
    echo
    package_grub2-common() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - Files common for all platforms"
    install="grub2-common.install"
    depends=('sh' 'xz' 'freetype2' 'mtools' 'dosfstools')
    conflicts=('grub2')
    backup=('etc/default/grub' 'etc/grub.d/40_custom')
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    make DESTDIR=${pkgdir} install
    ## install grub2-extras ntldr-img's grubinst as grub2-grubinst
    install ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS/grub-core/grubinst ${pkgdir}/sbin/grub2-grubinst || true
    ## remove platform specific files
    rm -rf ${pkgdir}/usr/lib/grub2/
    rm -rf ${pkgdir}/usr/share/grub2/
    ## remove some problamatic files - may work properly in future
    rm -rf ${pkgdir}/etc/bash_completion.d/
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_bios-install
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_efi_x86_64-install
    cp ${pkgdir}/sbin/grub2-install ${pkgdir}/sbin/grub2_efi_i386-install
    sed -i "s|^\(target_cpu\)=.*|\1=i386|; \
    s|^\(platform\)=.*|\1=pc|" \
    ${pkgdir}/sbin/grub2_bios-install
    sed -i "s|^\(target_cpu\)=.*|\1=x86_64|; \
    s|^\(platform\)=.*|\1=efi|" \
    ${pkgdir}/sbin/grub2_efi_x86_64-install
    sed -i "s|^\(target_cpu\)=.*|\1=i386|; \
    s|^\(platform\)=.*|\1=efi|" \
    ${pkgdir}/sbin/grub2_efi_i386-install
    ## install the /etc/grub.d/ files
    install ${startdir}/05_archtheme ${pkgdir}/etc/grub.d/05_archtheme
    install ${startdir}/20_memtest86+ ${pkgdir}/etc/grub.d/20_memtest86+
    ## install the unifont files
    install ${srcdir}/unifont.pf2 ${pkgdir}/etc/grub.d/unifont.pf2 || true
    install ${srcdir}/ascii.pf2 ${pkgdir}/etc/grub.d/ascii.pf2 || true
    ## install /etc/default/grub
    install -Dm644 ${srcdir}/grub2.default ${pkgdir}/etc/default/grub
    ## install example grub2 config file
    install -Dm755 ${srcdir}/grub.cfg.example ${pkgdir}/etc/grub.d/grub.cfg.example
    ## rename grub.info to grub2.info
    mv ${pkgdir}/usr/share/info/grub.info ${pkgdir}/usr/share/info/grub2.info || true
    export CARCH="${DESTARCH}"
    package_grub2-bios() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - Built for PC BIOS"
    arch=('any')
    depends=(grub2-common=${pkgver})
    replaces=('grub2')
    install="grub2-bios.install"
    cd ${srcdir}/grub2_bios_${DESTARCH}/BUILD_BIOS
    make DESTDIR=${pkgdir} install
    ## remove non platform-specific files
    rm -rf ${pkgdir}/bin/
    rm -rf ${pkgdir}/sbin/
    rm -rf ${pkgdir}/etc/
    rm -rf ${pkgdir}/usr/share/info/
    rm -rf ${pkgdir}/usr/share/man/
    rm -rf ${pkgdir}/usr/lib/grub/
    package_grub2-efi-i386() {
    pkgdesc="The GNU GRand Unified Bootloader version 2 - i386 UEFI version"
    arch=('any')
    depends=("grub2-common=${pkgver}" 'efibootmgr-git')
    replaces=('grub2-efi-x86')
    install="grub2-efi.install"
    cd ${srcdir}/grub2_efi/BUILD_EFI_i386
    make DESTDIR=${pkgdir} install
    ## remove non platform-specific files
    rm -rf ${pkgdir}/bin/
    rm -rf ${pkgdir}/sbin/
    rm -rf ${pkgdir}/etc/
    rm -rf ${pkgdir}/usr/share/info/
    rm -rf ${pkgdir}/usr/share/man/
    rm -rf ${pkgdir}/usr/lib/grub/
    sed -i "s|^\(_EFI_ARCH\)=.*|\1=i386|" ${startdir}/grub2-efi.install
    Last edited by skodabenz (2011-01-30 19:36:25)

    The package is now in testing repo and will soon be moved to extra repo. Solved by splitting the PKGBUILDs and through direct interaction with grub2 maintainer using irc.

  • [solved] SSD Vertex 2 + GPT + Grub2 = Confusion and failed install.

    I just got a new 60gb Vertex 2 for my media center.  I spent all day reading up on SSDs and have failed to get the install to work.
    From what I've read GPT is recommended.  GPT requires grub2 (or syslinux) and requires a 1mb partition to boot from bios.
    I booted into a working system and used gdisk to format it as follows:
    sda1 - ef02/bios boot 1mb
    sda2 - swap 4gb (so I can use suspend)
    sda3 - / 15gb
    sda4 - /var 8gb
    sda5 - /home 29gb
    /tmp is mounted to ram in fstab.
    I then rebooted using my arch install usb.  I skipped the "format disk" part and went straight to mountpoints.  I created my mountpoints accordingly (/, /home are ext4, /var is reiserfs) but ignored the first partition (bios boot).  Also, I'm using labels instead of UUID.
    Packages installed fine and I made the few minor tweaks to my configs.  I skipped the bootloader install and installed grub2 according to the wiki.  It hung on installing grub2-common for over 20 minutes.  I ctrl+c it.  Try it again and the install completes almost instantly. 
    I try to modprobe dm-mod like the wiki says, but it fails telling me that some module shit doesn't exist.
    I reboot and get to a hanging cursor.  That's it.
    Other thoughts - I never marked a partition as "bootable" how do I do that when using gdisk?  Mebbe that's the problem?  (Maybe it's the beer...hmmm)
    Thanks for any help you guys have to offer.  I'm off to bed but will be playing with this shit in the morning.
    Last edited by ctarwater (2011-07-02 22:04:54)

    Ok, original problem solved.
    Was unable to modprobe needed modules because I had to reboot first.  Which means I had to chroot in and the install Grub2 as outlined in the wiki.
    Now  I just need to figure out the damn config file so it'll boot...but that's a new topic.  I'm off to see if I can figure out how to stop getting an "unable to determine major/minor" error.  I'm sure I'll be posting a new thread in a few hours .

Maybe you are looking for

  • Time machine backup of connected external hard drive

    Morning all, I've read through various posts regarding my question but most appear to be slightly vague for my understanding. I have a 3TB TM with a 500GB external mac formatted hard drive connected via USB. This hard drive contains music and a coupl

  • X201 - Incomplete Win7x64 Shutdown drains battery

    Does anyone else have any issues with their x201 where the computer *appears to execute a full shutdown* (screen goes black, power light goes off, etc. but when you go to turn the machine on later, the battery is drained?  Its happened to me a couple

  • Mail not opening

    hi guys, just posted with a prob on safari, i have just realised that my mail (standard software) is also playing up. please help!!! thanx

  • How do you find out temperature on MacBook

    I noticed a lot of users have referred to the temperature of their MacBook. How do you find out this information? Is it under System Preferences?

  • Query of query for two dates

    I am trying to query the database for a given date and the next nearest older date within 28 days. This is what I have tried but it isn't assigning anything to DD1 and DD2. i have tried a number od other things but i am stumped. <cfquery name="getdat