[SOLVED]Grub fails to open dm-crypt+LUKS volume on boot(Waiting 10s..)

I know there are quite a few solved posts like these but it's usually because of "mkinitcpio -p linux" not being regenerated.
My problem is after boot Grub says:
running hook [udev]
running hook [encrypt]
Waiting 10 seconds for device /dev/disk/by-uuid/d1d0825c-25d1-4cbe-811f-725d9ef8d034>...
ERROR: device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034'.
Here are all the files that I think would be needed for this:
/etc/fstab
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
#/dev/mapper/cryptroot / ext4 rw,realtime,data=ordered 0 1
UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 / ext4 rw,relatime,data=ordered 0 1
#/dev/sda5 /boot ext4 rw,relatime,data=ordered 0 2
UUID=d04b37b1-4dfb-451c-b582-b9d95ca8fe22 /boot ext4 rw,relatime,data=ordered 0 2
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 97.6G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 300M 0 part
├─sda6 8:6 0 50G 0 part
│ └─cryptroot 254:1 0 50G 0 crypt /
├─sda7 8:7 0 1G 0 part
└─sda8 8:8 0 149.1G 0 part
sdb 8:16 1 29.3G 0 disk
├─sdb1 8:17 1 558M 0 part
└─sdb2 8:18 1 31M 0 part
sdc 8:32 1 15G 0 disk
└─sdc1 8:33 1 15G 0 part /mnt/usb
sr0 11:0 1 1024M 0 rom
loop0 7:0 0 240.9M 1 loop
loop1 7:1 0 1.5G 1 loop
└─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
loop2 7:2 0 1.5G 0 loop
└─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
blkid
/dev/sda1: LABEL="System Reserved" UUID="3A481C2D481BE703" TYPE="ntfs" PARTUUID="850a6169-01"
/dev/sda2: UUID="EE3443C234438D11" TYPE="ntfs" PARTUUID="850a6169-02"
/dev/sda5: UUID="d04b37b1-4dfb-451c-b582-b9d95ca8fe22" TYPE="ext4" PARTUUID="850a6169-05"
/dev/sda6: UUID="691c218e-658f-47ff-8296-6b266b2c06c9" TYPE="crypto_LUKS" PARTUUID="850a6169-06"
/dev/sdb1: UUID="2014-07-03-18-41-56-00" LABEL="ARCH_201407" TYPE="iso9660" PTUUID="6039e1c4" PTTYPE="dos" PARTUUID="6039e1c4-01"
/dev/sdb2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="3B47-A69A" TYPE="vfat" PARTUUID="6039e1c4-02"
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/loop2: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/mapper/arch_root-image: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/mapper/cryptroot: UUID="d1d0825c-25d1-4cbe-811f-725d9ef8d034" TYPE="ext4"
/dev/sdc1: UUID="86D3-3C7E" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/sda7: PARTUUID="850a6169-07"
/dev/sda8: PARTUUID="850a6169-08"
/etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
/boot/grub/grub.cfg
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Things I tried:
Replace this line in grub.cfg with
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034:cryptroot quiet
Do mkinitcpio -p linux but the hook ecrypt is there, so I assume it's a grub issue.
In
/etc/default/grub
replace GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot" with actual UUID, etc.
Grub config was made with
grub-mkconfig -o /boot/grub/grub.cfg
Grub was installed with
grub-install --target=i386-pc --recheck /dev/sda
Last edited by shape (2014-07-21 15:23:05)

Welcome to the forum :-)
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like this
It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Similar Messages

  • [SOLVED] Evince failed to open any PDF documents after upgrade

    I have a x86 version Archlinux on a 32-bit intel platform. After recent upgrade, the Evince package was updated to 2.32.0-3, which fails to open any PDF documents. It gives a notification says "Unable to open document: File type PDF document (application/pdf) is not supported".
    No other package was installed/removed. It just stop working after the upgrade.
    Looking forward for any suggestions/solutions. Thanks in advance~~
    Last edited by d7wang (2010-10-09 10:32:40)

    Thank you so much.
    The problem is solved as soon as I replaced the modified freetype2 from AUR with the official package. There seems to be something incompatible with the upgraded system.

  • [SOLVED] systemd: Failed to open private dbus connection

    Below is a snapshot from journalctl -b:
    systemd[1]: Starting user-1000.slice.
    systemd[1]: Created slice user-1000.slice.
    systemd[1]: Starting User Manager for 1000...
    systemd[1]: Starting Session 1 of user me.
    systemd[1]: Started Session 1 of user me.
    systemd-logind[195]: New session 1 of user me.
    systemd[261]: pam_unix(systemd-user:session): session opened for user me by (uid=0)
    systemd[261]: Failed to open private dbus connection: Failed to connect to socet /run/usr/1000/dbususer_bus_socket: No such file or directory
    systemd[261]: Mounted /sys/kernel/config.
    systemd[261]: Stopped target Bluetooth.
    systemd[261]: Stopped target Sound Card.
    systemd[261] Starting Default.
    systemd[261]: Reached target Default.
    systemd[261]: Startup finished in 135ms.
    systemd[1]: Started User Manager for 1000.
    login[199]: LOGIN ON tty1 BY me
    It's a fresh Arch Linux install and I didn't even had a time yet to tinker with systemd so it's unlikely that I've messed things up. I suspect that it might be the cause of the following problem:
    $ systemctl status --user
    Failed to issue method call: Process /bin/false exited with status 1
    For reference, systemd version:
    $ systemctl --version
    systemd 207
    +PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
    Any ideas how can I solve the private dbus connection problem?
    Last edited by vox23 (2013-09-25 17:02:22)

    65kid wrote:do you actually experience any problems?
    I thought that it might be related to:
    $ systemctl status --user
    Failed to issue method call: Process /bin/false exited with status 1
    however when I followed wiki and created:
    $cat /etc/systemd/system/[email protected]/environment.conf
    [Service]
    Environment=DISPLAY=:0
    Environment=XDG_RUNTIME_DIR=/run/user/%I
    Environment=SHELL=%s
    then /bin/false error went away. I still have some problems with systemd managing my user session but unrelated to the above. Marking as solved.

  • [Solved] VirtualBox Failed to open a session

    Hi everyone,
    I've installed virtualbox, qt and virtualbox-additions
    I've also added the following to /etc/rc.conf
    MODULES=(vboxdrv vboxguest vboxsf vboxvideo)
    I've also added my username to  vboxusers
    When I start a session in virtualbox i get the following error message-------------
    Failed to open a session for the virtual machine "Linux VM" ---- Linux VM is the name of the Virtual Machine
    VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED).
    Result Code: NS_ERROR_FAILURE (0x80004005)
    Component: Console
    Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
    Any ideas why the VT-x features would be locked or unavailable?
    I've tried 3 different iso images but every time I get the same error.
    Thanks in Advance I'm certain I must have missed a step at https://wiki.archlinux.org/index.php/VirtualBox
    However I've rebuilt several times and started from scratch at least 3 times. each time I get the message above
    Last edited by joe4ska (2011-10-20 03:43:09)

    DSpider solved my problem. I had Enabled VT-x/AMD-V which caused the conflict.
    Once I unchecked the box everything worked perfectly.
    http://dl.dropbox.com/u/28308548/hardwa … zation.png
    hcjl, I'm probably using it as a Guest. I actually don't know the difference between Host and Guest. I'm very new to virtualbox
    Thanks for the help guys.
    Last edited by joe4ska (2011-10-20 03:44:19)

  • [SOLVED] Tomboy fails to open in OpenBox

    Tomboy failed to open in OpenBox with the following error:
    Unhandled Exception: System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
    The solution I found was to append dbus-launch to the tomboy command.
    Example:
    $dbus-launch tomboy
    I would be interested in other solutions.

    Thanks for the reply falconindy,
    I just double checked, and moved the encrypt hook earlier in the sequence. Now my HOOKS line looks like this:
    Hooks="base encrypt udev autodetect modconf block filesystems keyboard fsck shutdown"
    The boot sequence now says:
    :: running early hook [udev]
    :: running hook [encrypt]
    Waiting 10 seconds for device /dev/sda2 ...
    :: running hook [udev]
    :: triggering uevents...
    Waiting 10 seconds for device /dev/mapper/cryptroot ...
    ERROR: device '/dev/mapper/cryptroot' not found. Skipping fsck.
    I am able to open /dev/sda2 using cryptsetup from the prompt I get dumped to.
    So it seems the encrypt hook gets run but I don't get prompted?
    Does any of that make sense?

  • [solved] What's wrong with dm-crypt/luks recently?several attempts now

    Hello,
    I run a full encrypted LVM on LUKS system, so I'm prompted for a password immediately after GRUB. That went fine long time, but starting with about linux 4.0.1, I have to enter my (long!) password several times until it finally works. It takes up to about 10 times before it is recognized. And no, I haven't forgot the passphrase and I am able to type. And my keyboard works, I'm using it right now to type this.
    For now, I added a shorter key as a second password, with that it only takes about 2 or 3 attempts, but still, there seems to be something wrong. (And having a shorter password can't be the solution....)
    As I haven't any typing feedback, I can't tell what's going wrong.
    Do you have an idea how to debug this? Any sort of keyboard feedback would be appreciated. I wouldn't mind seeing the things I typed on my display, I'm alone when entering it.
    Thanks.
    Last edited by Carl Karl (2015-05-20 20:00:58)

    Hm, that's strange: Now I had 5 reboots and only one failed attempt, even with the long passphrase!
    (In german we call this „Vorführ-Effekt“, something like "show effect": the problem doesn't appear if you try to show it...)
    But in that one failed attempt the message was:
    No key available with this passphrase.
    You can generate this message by tying a wrong passphrase any time obviously... ;-)
    But OK, if it stays that way, that would be good enough. (Maybe my problem was fixed with the today released linux 4.0.3?) However, having more feedback while typing than just void would be nice...
    Last edited by Carl Karl (2015-05-20 19:50:42)

  • [Solved] GRUB fails to Recall previous entry; GRUB_SAVEDEFAULT="true"

    I have used this for years even pre-archlinux.  Recently it has stopped working.
    From my /etc/default/grub
    GRUB_DEFAULT=saved
    GRUB_SAVEDEFAULT="true"
    From pacman -Qii grub
    Version : 1:2.02.beta2-1
    Architecture : x86_64
    Build Date : Sun 05 Jan 2014 11:07:40 AM PST
    Install Date : Fri 10 Jan 2014 09:00:39 AM PST
    /etc/default/grub has not changed except for add/remove GRUB_DISABLE_SUBMENU=y for the bug FS#38234
    Am I the only one experiencing this?
    Last edited by keepitsimpleengineer (2014-02-27 23:38:38)

    keepitsimpleengineer wrote:So I will change the load_env and save_env in grub.cfg to force the default grubenv and see what happens.
    After changing /boot/grub/grub.cfg so that load_env is replaced with load_env -f /boot/grub/grubenv and all save_env are changed to save_env -f /boot/grub/grubenv there is no change in behavior.
    root@kise-005 grub# pwd
    /boot/grub
    root@kise-005 grub# ls -lat
    total 398
    drwxr-xr-x 6 root root 1024 Feb 8 12:48 .
    -rw------- 1 root root 58093 Feb 8 12:48 grub.cfg
    -rw------- 1 root root 57983 Feb 8 08:54 grub.cfg.without
    -rw------- 1 root root 57983 Feb 8 08:54 grub.cfg~
    -rw------- 1 root root 58971 Feb 8 08:53 grub.cfg.with
    drwxr-xr-x 7 root root 1024 Jan 31 09:34 ..
    -rw------- 1 root root 53749 Dec 27 12:47 grub.conf
    drwxr-xr-x 2 root root 7168 Sep 7 22:53 i386-pc
    drwxr-xr-x 2 root root 1024 Sep 7 22:53 locale
    -rw-r--r-- 1 root root 4087 Aug 5 2013 grub.cfg.pacnew
    -rw------- 1 root root 45366 Jun 23 2013 grub.cfg.example
    -rw------- 1 root root 47614 May 30 2013 grub.cfg.pacsave
    drwxr-xr-x 2 root root 1024 Jul 20 2012 fonts
    -rw-r--r-- 1 root root 1024 Jul 20 2012 grubenv
    drwxr-xr-x 3 root root 1024 Jul 20 2012 themes
    --ljohnson{13:00:44}grub]$ grub-editenv grubenv list
    saved_entry=osprober-chain-545A36C35A36A1A2
    Well, I can live with this but I'm curious as to what is  happening.
    modified grub.cfg at http://pastebin.com/VdsupFfn
    /ect/default/grub at http://pastebin.com/tqmHKNvv
    Last edited by keepitsimpleengineer (2014-02-08 21:38:50)

  • [SOLVED] Grub failing to install on UEFI

    I am trying to do a fresh install on my desktop and am running into issues when installing grub. 
    My setup is: 3x500GB drives (sda1 is a 1GB partition for /boot/efi, sd[bc]1 raid 1 for swap, sd[abc]2 raid 5 with LVM for /, /home, and /tmp). ASUS m5a97 LE R2.0 motherboard.
    I am currently chroot into /mnt, where my / LVM is mounted, I have dm_mod loaded, and I was following the instructions here.
    I get an error from grub toward the end saying "Path  `/boot/grub' is not readable by GRUB on boot. Installation is impossile. Aborting."  (there's a LOT of output before that because of --debug. 
    I tried looking around, and I saw some people say that they had success with a fresh install when upgrading, but that doesn't really apply to me as this is already a fresh install.
    Does anyone have any ideas what could be causing this? Thanks in advance!
    David
    Last edited by slackcub (2013-07-28 08:17:30)

    slackcub wrote:Alright I figured I may as well update this.  I fell a little silly, but I do know at first the DVD was booting in UEFI mode, but apparently at some point that stopped, and that was what was causing all my issues.  I am now up and running and all good. Thanks for the help everyone!
    I find it a very good idea to keep something as /boot/EFI/boot/bootx64.efi (or \EFI\BOOT\BOOTX64.efi relative to the root of the ESP).  That is the "default" efi application.  It is what is run if you have your machine set to boot in UEFI mode and you choose the disk to boot from (rather than a firmware entry like those created by efibootmgr).  It was put into the spec so that one could boot a removable medium, like a USB flash drive or cdrom, with UEFI. Obviously, a removable whatever is not going to have a firmware entry for it, so there needed to be some kind of standardization on how to make those work.  From there, apparently that idea carried over to the internal devices as well, and now a vast majority of UEFI firmwares use this for all disks, not just removable ones.
    Nowadays, I keep gummiboot there.  But when I first started using UEFI, I kept the UEFI Shell v2 there since it that is probably the most versatile thing that could be used as a fallback.  But as long as you have somethign there, in the event that you lose all your firmware entries, this might save your ass.  In my Phoenix bios, the exit and save changes, you would use F10, while a total reset of the bios to defaults is F9... yeah, I reset my bios by accident once.  Having the UEFI Shell in that spot made my life quite a bit easier.

  • [SOLVED] GRUB Failing on Fresh Install

    I'm trying to do a fresh install on a computer with an existing 20GB windows installation. I have done this for years with no problem, but now grub-mkconfig is returning errors (here's a photo - http://imgur.com/8Az66wx), and if I go ahead with grub-install afterwards, I find that there's no Windows boot option and trying to boot Linux also yields errors (see this photo - http://imgur.com/umfMznr). I've tried twice now with the same results. Any ideas what's going on? Thanks.
    Last edited by tony5429 (2013-12-14 00:41:59)

    Actually I did search a bit and found a lot of discussion about the error in cases where people were trying to use an LVM, and situations which returned errors but still allowed them to boot. My case is a bit different as I'm just using standard hard drive partitions, and Linux is not booting.

  • [SOLVED]xfburn fails to open

    This is my first time installing xfburn and im getting the following when launching it:
    archuser@archws ~ % xfburn <12:19>
    ** Message: No existing settings file, using default settings
    ** Message: Using Thunar-VFS 1.1.0
    (xfburn:28944): thunar-vfs-WARNING **: Failed to connect to the HAL daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    libhal.c 3479 : LibHalContext *ctx is NULL
    I'm not using any desktop environments, but I am using thunar with pekwm. Anyone has any clue what this error means and how to fix it. Thanks.
    Last edited by aluser (2011-02-12 21:32:32)

    Are the hal and dbus daemons started in rc.conf? ( I think hal will automatically start dbus if it is not already started, but I specify both in my rc.conf to be sure)  If they aren't, start them.
    Also, how are you launching pekwm?  If you just have exec pekwm in your .xinitrc then you might try changing it to:
    exec ck-launch-session pekwm

  • Saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

    saving from Safari as PDF results in an icon with 0 byte volume that fails to open as it is "damaged" Why and how to solve?

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print PDF's displayed in Safari, you may be able to print by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar may appear under the cursor. Click the printer icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and check the box marked
    Allow Plug-ins
    Then click
    Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others — I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • [SOLVED] systemd --user: "Failed to open private bus connection:"

    EDIT: The solution was to set DBUS_SESSION_BUS_ADDRESS, as suggested by gtmanfred in irc.  By putting the following before executing systemd --user, the error vanished:
    export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/dbus/user_bus_socket
    ===================
    Original problem:
    Everything on my box appears to be working ok, but I'm getting this error consistently in tty1 and at the top of journalctl (as user) whenever I start systemd --user:
    systemd[3975]: Failed to open private bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    I roughly have my system setup per this wiki section https://wiki.archlinux.org/index.php/Sy … ur_Session.  I start systemd --user via a small script in my .bash_profile. Here are my relevant dbus{.service,socket} files, from the package user-session-units mentioned in the wiki:  (Edit: xorg is started through xorg-launch-helper, also from that wiki page)  Edit2: I'm not using autologin.  I noticed that under the autologin section of that page, DBUS_SESSION_BUS_ADDRESS is set to some path.  In my setup that isn't set anywhere, so I may try to copy that later but I don't have time to play with it right now.  Will post back later.
    =====/usr/lib/systemd/user/dbus.service=====
    [Unit]
    Description=D-Bus System Message Bus
    Requires=dbus.socket
    [Service]
    ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation
    ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
    =====/usr/lib/systemd/user/dbus.socket=====
    [Unit]
    Description=D-Bus System Message Bus Socket
    [Socket]
    ListenStream=%t/dbus/user_bus_socket
    And the output of sudo systemctl status dbus:
    dbus.service - D-Bus System Message Bus
    Loaded: loaded (/usr/lib/systemd/system/dbus.service; static)
    Active: active (running) since Tue 2013-02-05 14:50:30 EST; 22min ago
    Main PID: 369 (dbus-daemon)
    CGroup: name=systemd:/system/dbus.service
    └─369 /usr/bin/dbus-daemon --system --address=systemd: --no...
    Feb 05 14:50:30 sellers-laptop systemd[1]: Starting D-Bus System Message Bus...
    Feb 05 14:50:30 sellers-laptop systemd[1]: Started D-Bus System Message Bus.
    Feb 05 14:51:18 sellers-laptop dbus-daemon[369]: dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Feb 05 14:51:18 sellers-laptop dbus[369]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Feb 05 14:51:18 sellers-laptop dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
    Feb 05 14:51:18 sellers-laptop dbus-daemon[369]: dbus[369]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.Avahi.service' for details.
    I'm not sure what the error even means or how to go about debugging it.  Any suggestions would be appreciated.
    Last edited by Feynman (2013-02-05 22:07:23)

    NVM...didn't notice it was already solved.
    Last edited by the sad clown (2013-02-05 22:33:10)

  • [solved] Cannot complete install, grub fails to boot the new install

    I'm using the 2009.08 USB image.
    I've tried this 2 weeks ago, tried it again today, same result. (I'm on Win7 meanwhile).
    I'm installing arch, everything goes fine.
    I've tried 2 setups:
    a)
    100GB ext4 /
    12GB swap
    (no separate /boot, should work)
    b)
    100MB ext3 /boot
    100GB ext4 /
    12GB swap
    Neither a) or b) will boot.
    When the newly installed grub boots, I get a error saying:
    filesystem type unknown, partition type 0x7
    I get this for the ext3, ext4, and windows partitions.
    I get it for both a) and b) setups.
    I have doublechecked the menu.lst file. I've even created another entry setting root=/dev/sdb1 (as opposed to the default /dev/disks/by-uuid/..).
    I should mention, I have two disks, the first (sda) is currently with a Win7 installation, the 2nd (sdb) is the one I'm trying to install Arch again (and failing).
    After the reboot, I've tried booting into the livecd again and manually trying to mount /dev/sdb1 /mnt, it works.
    Why isn't my grub boothing from ext{3,4}?
    Last edited by Frantic (2009-11-05 18:35:15)

    Rede wrote:
    I was getting that error but after re-installing grub and making some changes to the menu.lst file it was fixed.
    I was able to at one stage boot into arch but it gave problems with the root. Now it just seems to freeze while trying to load grub.
    I am currently trying yet another install of grub. I have been noticing though that my menu.lst file has been rolling back or not updating when I chroot back into my install after changing it earlier.
    Try mounting your /boot partition under /mnt/boot.

  • [Solved] Openbox-Message: Failed to open the display from the ....

    ArchLinuxForums_Suck wrote:
    Hey, I'm new to Arch and I've been working on setting it up on my Laptop and so far I haven't had very many problems save one.  I can't get any of the available Window Managers.  Whenever I try running them I get a message like:
    "wmii: fatal: Can't open display," or "Error: Couldn't connect to XServer" (Fluxbox), or "twm: unable to open display" or "dwm: cannot open display" or "Openbox-Message: Failed to open display from the DISPLAY environment variable,".  What am I supposed to do?  I've checked to see if it was a problem with my installation of Openbox by reinstalling that and installing several other window managers, and I've checked to see if it was a problem with me not having the right kernel modules loaded, but after I ran "hwdetect --load-modules," which is supposed to load all detectable modules, but even after that I still get the same messages.  Any ideas, I've tried just about everything that I know\have thought about, so yeah... any ideas? 
    ngoonee wrote:You'd need to provide us with details on your system. For example, what GPU are you using? hwdetect can be hit-and-miss sometimes.
    karol wrote:How exactly are you trying to run them? Are you trying to run them as root? Are you using .xinitrc? If so, post it.
    Boxes wrote:Uh... I try running them by typing: "openbox" or "twm" or "wmii" or "xinit openbox-session", and when I run "xinit" by itself, I get this:  ". . . (EE) Failed to load module 'glx' (module does not exist, 0), (EE) Failed to load module 'intel' (module dose not exist, 0), (EE) Failed to load module 'vesa' (module does not exist, 0), (EE) Failed to load module 'fbdev' (module does not exist, 0), (EE) No drives available."  Oh, and nGone I'm running an Intel Mobile 4 Chipset.  I don't have a GPU.  I just have an Intel Graphics Controller.
    Boxes wrote:Okay, well I got "xinit openbox" to work by searching for the "intel," "vesa," "fbdev," and "glx" packages via pacman and installing them.  I still can't run openbox without xinit, and I tried running "xinit wmii," but it didn't seem to work, although it did run, but I couldn't do anything.  It looked exactly the same was as "xinit openbox" did right after I installed "vesa," which was the first package I downloaded and installed via pacman.
    tomk wrote:
    You need to read a bit more about how X works - you can't run any window manager unless there's a X session for it to run on. That's why xinit works. Set up your ~/.xinitrc correctly and use startx.
    xinit wmii ran a wmii session, but I guess you didn't configure it at all - that's why you couldn't do anything. Again, more reading required.

    Oh, I see.  So an X-session is something that's required.  Oh, okay.

  • [SOLVED] Failed to open VDPAU backend libvdpau_r600.so

    vainfo gives:
    $ vainfo
    libva info: VA-API version 0.37.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/dri/r600_drv_video.so
    libva info: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit
    lspci |grep VGA gives:
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV770 [Radeon HD 4870]
    Opening VLC (freshly installed) I get:
    [user@arch]$ vlc
    VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
    [0000000000d29118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Qt at-spi: error getting the accessibility dbus address: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
    Connected to accessibility bus at: "unix:abstract=/tmp/dbus-ZAvZeuCuKM,guid=c563a095d40bf6bb99af494255561953"
    Registered DEC: true
    Registered event listener change listener: true
    Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
    Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
    Playing video files still work, somehow. But starting vlc takes minutes when it should take a few seconds tops.
    I'm using xf86-video-ati (1:7.5.0-2) since proprietary drivers no longer support 4k-series.
    libvdpau 1.1-1 & libvdpau-va-gl 0.3.4-1 are installed.
    Found at the wiki
    grep -i vdpau ~/.local/share/xorg/Xorg.0.log
    would help identify which driver is in use... but getting result "No such file or directory".
    My guess is I need to export VDPAU_DRIVER, but what value do I set? Do I need LIBVA_DRIVER_NAME=vdpau too?
    Thank you in advance, any advice appriciated.
    Last edited by am2del (2015-05-16 04:28:41)

    Gusar wrote:
    Don't do that. Don't use wrappers, they often cause more resource usage than software decoding. Especially with VLC, which doesn't actually have good VAAPI support - it copies decoded frames back to system memory using an inefficient method.
    Use native VDPAU, by installing mesa-vdpau, that's the package that contains libvdpau_r600.so. Then configure VLC to use VDPAU for both decoding and output, that way you'll get zero-copy playback.
    BTW, even for using VAAPI, you should *not* use libva-vdpau-driver, you should instead use libva-mesa-driver and do
    ln -s /usr/lib/dri/gallium_drv_video.so /usr/lib/dri/r600_drv_video.so
    But, like I said, VLC's VDPAU support is better than its VAAPI support. mpv has great support for both.
    Sorry for the slow response, been rather busy lately.
    Great advice, done some days of testing on each and MESA clearly gives better overall results for my configuration. Thanks a lot Gusar.

Maybe you are looking for

  • Moving iTunes Media folder to second internal drive fails

    The whole story is: I never really used the iTunes media folder system. All my music is on extrenal drive and I was only importing it into iTunes manually to keep my own folder system, for example once a week Ive created a folder with a date of creat

  • Popup message handling in ABAP web dynpro

    Hi, I need to show on popup in my web dynpro application, when any thing updated on the view and press the exit button from that view. I need to handle accordingly if message is "want to exit" if "yes" then close the applicatio if no then reset the v

  • Communication with other applications

    We are currently using software written in HP-Basic, now we want to add some functionallity to our programs but would like to use Labview as our new developement tool. The problem is that we want to communicate with our new programs from HP-Basic, ho

  • Remote Monitoring

    Hi, I want to remote monitor my PXI system using a PC (PC will not have LabVIEW/LabVIEW RTE installed) through the web. I just tried the windows Remote Desktop and the web publishing tool by enabling web server in web server configuration. But for th

  • Meta Data Documents

    Hi,      I can access a document attached to a query or web template by using the format: <A href="/SAP/BW/DOC/META/FLDMETA/ZWT_PUR_100E" target=_blank > Executive Dashboard Overview</A> Is there any way to look at (get a list of) all of the document