[Solved]Install: Sabretooth 990FX, ZFS & dm-crypt as root. UEFI probs?
This is my first install using UEFI, so I'm not exactly sure what to expect, but I can gather that this isn't it.
The "Installing Archlinux on ZFS" page: https://wiki.archlinux.org/index.php/In … nux_on_ZFS
suggests using rEFInd as the bootloader, but I'm having terrible trouble getting the darn thing to take. One go round, GRUB came up from a previous install (great, I forgot to wipe that! Time to start over...) And the next, the UEFI menu doesn't seem to find rEFInd. Or the efivars just aren't available, even after I know I booted through UEFI...
Any help *there* would be greatly appreciated. I've been scrubbing the docs for days, booted the arch install disc repeatedly from the motherboard in UEFI-mode, only to find one problem after another with bootloaders. Do I have one of those cursed mobos where the spec will not correctly handle UEFI booting?
Does rEFInd have a way to detect that the rootFS is encrypted? Would simply passing the same arguments in refind.conf that I would in... Grub(?) do the same?
I came over from Funtoo where a separate program (bliss-initramfs) handled the initramfs, which took care of allowing me to unlock and mount my rootfs. So I really have no idea of what much of anything else is capable of anymore! That seemed to be sorta the only working solution at the time on that distro.
Does mkinitcpio effectively allow me to unlock an encrypted rootfs, then mount what's inside, even if it is a ZFS?
I'm terribly turned around, and I've been trying to scrub the docs for days, but simply find there's too many directions to turn about what's going on.
Last edited by Zazzman (2013-08-22 05:07:03)
Thanks for the warning!
I intend to try to use Arch to mimic a source-based distro, where possible: funtoo wouldn't mesh well with gentoo's "layman" supplimentary repositories (such as for steam, octave, or R) and gentoo wouldn't present a workable solution for actually booting into a ZFS filesystem.
So, if I recompile the kernel every time, external modules included (and reinstall non-source modules, and zfs out of the AUR), I believe I'll be okay.
Worst comes to absolute worst, there is that install disc where I can boot in for an emergency, and clean up the eventual mess.
Dangit, the bootloader is having issues. it doesn't wanna load my zpool, even after I open up the luks partition "vault".
Similar Messages
-
Sol10 u8 installed on a ZFS Root File System have different swap needs?
Does Sol10 u8 installed on a ZFS Root File System have different swap needs/processes?
Information:
I've installed Solaris 10 (10/09 s10s_u8wos_08a SPARC, Assembled 16 September 2009) on a half dozen servers and every one of them no longer mount swap at boot.
The install program commented out the old swap entry and created this one:
# grep swap /etc/vfstab
swap - /tmp tmpfs - yes -
Everything works like a champ. I didn't discover the issue until I tried to install some patches and the install failed. It didn't fail because of lack of swap - it refused to run because it found "No swap devices configured".
Here are the symptoms:
# swap -s
total: 183216k bytes allocated + 23832k reserved = 207048k used, 13600032k available
# swap -l
No swap devices configured
# mount | grep swap
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=5ac0001 on Mon Apr 19 08:06:45 2010
/tmp on swap read/write/setuid/devices/xattr/dev=5ac0002 on Mon Apr 19 08:07:40 2010
/var/run on swap read/write/setuid/devices/xattr/dev=5ac0003 on Mon Apr 19 08:07:40 2010
#Hi Nitabills,
I assume that you create a zfs entry for swap with the commande zfs create -V $size
did you launch the command :
swap -a /dev/zvol/dsdk/$ZPOOL/swap
Try this entry below in the vfstab :
/dev/zvol/dsdk/$ZPOOL/swap - - swap - no - -
[SOLVED] Installing Drupal
Hi you all,
I want to install drupal on my PC in order to create a website on my PC and then to show it before pushing it on the server.
I installed drupal with pacman/pacaur with mariadb, php and some related modules and apache.
I followed the instruction on the wiki and nothing happened.
I followed this guide in Italian [1] and now if I go to localhost/drupal this error is printed out:
«Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Wed Feb 6 10:12:04 2013
Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.1c DAV/2 PHP/5.4.11 »
What should I have to do?
- MM
[1] http://www.finex.org/drupal-7-su-archlinux.html
Last edited by Airon90 (2013-12-19 14:11:01)So I try to give chown
[airon@aironpc ~]$ ls -l /usr/share/webapps/{,drupal}
/usr/share/webapps/:
totale 12
drwxrwxrwx 8 root root 4096 18 gen 17.05 drupal
drwxr-xr-x 13 root root 4096 5 dic 11.58 mediawiki
drwxr-xr-x 8 root root 4096 30 gen 09.43 phpMyAdmin
/usr/share/webapps/drupal:
totale 236
-rw-rw-rw- 1 root root 6553 18 gen 17.05 authorize.php
-rw-rw-rw- 1 root root 74911 18 gen 17.05 CHANGELOG.txt
-rw-rw-rw- 1 root root 1481 18 gen 17.05 COPYRIGHT.txt
-rw-rw-rw- 1 root root 720 18 gen 17.05 cron.php
drwxrwxrwx 4 root root 4096 18 gen 17.05 includes
-rw-rw-rw- 1 root root 529 18 gen 17.05 index.php
-rw-rw-rw- 1 root root 1451 18 gen 17.05 INSTALL.mysql.txt
-rw-rw-rw- 1 root root 1874 18 gen 17.05 INSTALL.pgsql.txt
-rw-rw-rw- 1 root root 688 18 gen 17.05 install.php
-rw-rw-rw- 1 root root 1298 18 gen 17.05 INSTALL.sqlite.txt
-rw-rw-rw- 1 root root 17861 18 gen 17.05 INSTALL.txt
-rw-rw-rw- 1 root root 18092 18 gen 17.05 LICENSE.txt
-rw-rw-rw- 1 root root 8191 18 gen 17.05 MAINTAINERS.txt
drwxrwxrwx 4 root root 4096 18 gen 17.05 misc
drwxrwxrwx 42 root root 4096 18 gen 17.05 modules
drwxrwxrwx 5 root root 4096 18 gen 17.05 profiles
-rw-rw-rw- 1 root root 5376 18 gen 17.05 README.txt
-rw-rw-rw- 1 root root 1561 18 gen 17.05 robots.txt
drwxrwxrwx 2 root root 4096 18 gen 17.05 scripts
lrwxrwxrwx 1 root root 21 18 gen 17.05 sites -> /var/lib/drupal/sites
drwxrwxrwx 7 root root 4096 18 gen 17.05 themes
-rw-rw-rw- 1 root root 19416 18 gen 17.05 update.php
-rw-rw-rw- 1 root root 9642 18 gen 17.05 UPGRADE.txt
-rw-rw-rw- 1 root root 2051 18 gen 17.05 web.config
-rw-rw-rw- 1 root root 417 18 gen 17.05 xmlrpc.php -
RAC 10.2.0.1 install on AIX 5.3 fails on root.sh
I am getting the following message when running root.sh during CRS 10.2.0.1 install on AIX 5.3 ML04:
./root.sh
WARNING: directory '/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
exec(): 0509-036 Cannot load program /oracle/product/10.2.0/crs/bin/ocrconfig.bin because of the following errors:
0509-150 Dependent module /oracle/product/10.2.0/crs/lib/libttsh10.a(shr_ttsh10.o) could not be loaded.
0509-152 Member shr_ttsh10.o is not found in archive
Failed to upgrade Oracle Cluster Registry configuration
Does anyone have any ideas? Your help is greatly appreciated.Check the README and Metalink
also does the file actually exist libttsh10
Also check the gen in Inventry/logs to see if it genned OK -
[SOLVED] Installing on ZFS root: "ZFS: cannot find bootfs" on boot.
I have been experimenting with ZFS filesystems on external HDDs for some time now to get more comfortable with using ZFS in the hopes of one day reinstalling my system on a ZFS root.
Today, I tried installing a system on an USB external HDD, as my first attempt to install on ZFS (I wanted to try in a safe, disposable environment before I try this on my main system).
My partition configuration (from gdisk):
Command (? for help): p
Disk /dev/sdb: 3907024896 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2FAE5B61-CCEF-4E1E-A81F-97C8406A07BB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907024862
Partitions will be aligned on 8-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 34 2047 1007.0 KiB EF02 BIOS boot partition
2 2048 264191 128.0 MiB 8300 Linux filesystem
3 264192 3902828543 1.8 TiB BF00 Solaris root
4 3902828544 3907024862 2.0 GiB 8300 Linux filesystem
Partition #1 is for grub, obviously. Partition #2 is an ext2 partition that I mount on /boot in the new system. Partition #3 is where I make my ZFS pool.
Partition #4 is an ext4 filesystem containing another minimal Arch system for recovery and setup purposes. GRUB is installed on the other system on partition #4, not in the new ZFS system.
I let grub-mkconfig generate a config file from the system on partition #4 to boot that. Then, I manually edited the generated grub.cfg file to add this menu entry for my ZFS system:
menuentry 'ZFS BOOT' --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux zfs=bootfs zfs_force=1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
My ZFS configuration:
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
External2TB 1.81T 6.06G 1.81T 0% 1.00x ONLINE -
# zpool status :(
pool: External2TB
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
External2TB ONLINE 0 0 0
usb-WD_Elements_1048_575836314135334C32383131-0:0-part3 ONLINE 0 0 0
errors: No known data errors
# zpool get bootfs
NAME PROPERTY VALUE SOURCE
External2TB bootfs External2TB/ArchSystemMain local
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
External2TB 14.6G 1.77T 30K none
External2TB/ArchSystemMain 293M 1.77T 293M /
External2TB/PacmanCache 5.77G 1.77T 5.77G /var/cache/pacman/pkg
External2TB/Swap 8.50G 1.78T 20K -
The reason for the above configuration is that after I get this system to work, I want to install a second system in the same zpool on a different dataset, and have them share a pacman cache.
GRUB "boots" successfully, in that it loads the kernel and the initramfs as expected from the 2nd GPT partition. The problem is that the kernel does not load the ZFS:
ERROR: device '' not found. Skipping fsck.
ZFS: Cannot find bootfs.
ERROR: Failed to mount the real root device.
Bailing out, you are on your own. Good luck.
and I am left in busybox in the initramfs.
What am I doing wrong?
Also, here is my /etc/fstab in the new system:
# External2TB/ArchSystemMain
#External2TB/ArchSystemMain / zfs rw,relatime,xattr 0 0
# External2TB/PacmanCache
#External2TB/PacmanCache /var/cache/pacman/pkg zfs rw,relatime,xattr 0 0
UUID=8b7639e2-c858-4ff6-b1d4-7db9a393578f /boot ext4 rw,relatime 0 2
UUID=7a37363e-9adf-4b4c-adfc-621402456c55 none swap defaults 0 0
I also tried to boot using "zfs=External2TB/ArchSystemMain" in the kernel options, since that was the more logical way to approach my intention of having multiple systems on different datasets. It would allow me to simply create separate grub menu entries for each, with different boot datasets in the kernel parameters. I also tried setting the mount points to "legacy" and uncommenting the zfs entries in my fstab above. That didn't work either and produced the same results, and that was why I decided to try to use "bootfs" (and maybe have a script for switching between the systems by changing the ZFS bootfs and mountpoints before reboot, reusing the same grub menuentry).
Thanks in advance for any help.
Last edited by tajjada (2013-12-30 20:03:09)Sounds like a zpool.cache issue. I'm guessing your zpool.cache inside your arch-chroot is not up to date. So on boot the ZFS hook cannot find the bootfs. At least, that's what I assume the issue is, because of this line:
ERROR: device '' not found. Skipping fsck.
If your zpool.cache was populated, it would spit out something other than an empty string.
Some assumptions:
- You're using the ZFS packages provided by demizer (repository or AUR).
- You're using the Arch Live ISO or some version of it.
On cursory glance your configuration looks good. But verify anyway. Here are the steps you should follow to make sure your zpool.cache is correct and up to date:
Outside arch-chroot:
- Import pools (not using '-R') and verify the mountpoints.
- Make a copy of the /etc/zfs/zpool.cache before you export any pools. Again, make a copy of the /etc/zfs/zpool.cache before you export any pools. The reason for this is once you export a pool the /etc/zfs/zpool.cache gets updated and removes any reference to the exported pool. This is likely the cause of your issue, as you would have an empty zpool.cache.
- Import the pool containing your root filesystem using the '-R' flag, and mount /boot within.
- Make sure to copy your updated zpool.cache to your arch-chroot environment.
Inside arch-chroot:
- Make sure your bootloader is configured properly (i.e. read 'mkinitcpio -H zfs').
- Use the 'udev' hook and not the 'systemd' one in your mkinitcpio.conf. The zfs-utils package does not have a ported hook (as of 0.6.2_3.12.6-1).
- Update your initramfs.
Outside arch-chroot:
- Unmount filesystems.
- Export pools.
- Reboot.
Inside new system:
- Make sure to update the hostid then rebuild your initramfs. Then you can drop the 'zfs_force=1'.
Good luck. I enjoy root on ZFS myself. However, I wouldn't recommend swap on ZFS. Despite what the ZoL tracker says, I still ran into deadlocks on occasion (as of a month ago). However, I cannot say definitely the cause of the issue; but it resolved when I moved swap off ZFS to a dedicated partition.
Last edited by NVS (2013-12-29 14:56:44) -
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. -
[SOLVED] Installing VLC from Extras doesn't work.
Hey guys,
During installation I enabled the pacman repository mirror for my country. Which is hosted by Kangaroot.net
Just now I tried to install VLC media player. Oddly enough pacman couldn't find a couple of dependency packages on the Kangaroot mirror.
To fix this I went into /etc/pacman.d/mirrorlist and enabled all the mirrors from Germany. I figured that would fix it.
Seems that the German mirrors are missing the same packages though. This is pacman's output:
error: failed retrieving file 'libdvbpsi-0.2.1-1-i686.pkg.tar.xz' from mir.archlinux.fr : Not Found
error: failed retrieving file 'ffmpeg-20111108-1-i686.pkg.tar.xz' from archlinux.polymorf.fr : Not Found
error: failed retrieving file 'libupnp-1.6.13-1-i686.pkg.tar.xz' from archlinux.polymorf.fr : Not Found
error: failed retrieving file 'vlc-1.1.12-3-i686.pkg.tar.xz' from mir.archlinux.fr : Not Found
When you look up "Archlinux" on the videolan.org website it claims VLC ought to be available in the Extras repository.
What am I missing?
Last edited by 20k (2011-11-26 21:26:44)Am I right in understanding that because pacman's database was not properly updated it couldn't find the same packages on other mirrors either?
Yes. Your database was out of date, therefore pacman was looking for things which would no longer exist on any up to date mirror.
EDIT: If your problem is solved, please edit your thread title to reflect this
Last edited by b4data (2011-11-23 18:09:41) -
[SOLVED]Installing Catalyst
Hello,
When I try to install catalyst-utils from the AUR, after I get to choose if I want to remove libgl I get the following errors:
error: failed to prepare transaction (could not satisfy dependencies)
:: ati-dri: requires libgl=7.11
:: intel-dri: requires libgl=7.11
:: mach64-dri: requires libgl=7.11
:: mga-dri: requires libgl=7.11
:: r128-dri: requires libgl=7.11
:: savage-dri: requires libgl=7.11
:: sis-dri: requires libgl=7.11
:: tdfx-dri: requires libgl=7.11
The same thing happens when I try to install Catalyst from the unoffical repos.
Could anyone please help me solve this?
Thanks in advance.
Last edited by Raippi (2011-08-16 11:13:32)Raippi wrote:
I have solved the problem
Please close the thread.
Please edit your first post and add '[solved]' to the thread's title. -
[solved] Installing pygame
Hi,
Im having a problem while installing pygame from the repositories.
It seems that sdl_ttf-2.0.9-2-i686.pkg.tar.gz cannot be found in several mirrors.
However, I downloaded the tar file and did ./configure and make, but
now I dont know where to put the directory to continue with the installation of
the pygame library.
Could someone help me with this?
Last edited by FerBenzaa (2010-08-09 17:29:40)FerBenzaa wrote:
cool, found it.
I dont know why I read LOCALE instead of LOCATE.
Now it is corrected and running
Thanks for the help
You're welcome.
A couple of friendly reminders:
- keep your system updated
- you can grab a package by hand if the mirrors are acting up, no need to compile
- we have a list of good (up to date) mirrors https://www.archlinux.de/?page=MirrorStatus
Please mark the thread as solved. -
[SOLVED]Install Scribes after Archlinux's python3 update from october
I would like to install scribes with the latest updates, but since Archlinux switched to Python3 by default (in october), I am unable to do so.
Before the update, i ran without problem:
bzr branch lp:scribes
cd scribes
sh autogen.sh
make
sudo make install
But now I can't pass autogen.sh :
checking what language compliance flags to pass to the C++ compiler...
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 3.1
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python3.1/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages
configure: error: Error: Dependency check failed
In conf.log there is:
configure:6227: ./conftest
File "depcheck.py", line 10
print "Checking for D-Bus (Python Bindings)... yes"
^
SyntaxError: invalid syntax
So I run 2to3 on the depcheck.py file in the folder:
2to3 -w depcheck.py
And I get:
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 3.1
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python3.1/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages
Error: Python bindings for D-Bus was not found.
configure: error: Error: Dependency check failed
In depcheck.py, the error is launched when:
# Check for D-Bus Python Bindings.
try:
import dbus
if dbus.version < (0, 70, 0): raise AssertionError
print("Checking for D-Bus (Python Bindings)... yes")
except ImportError:
print("Error: Python bindings for D-Bus was not found.")
raise SystemExit
except AssertionError:
print("Error: Version 0.70 or better of dbus-python needed.")
raise SystemExit
It turns out I can't access dbus module from python3:
$ python
Python 3.1.3 (r313:86834, Dec 1 2010, 12:35:23)
[GCC 4.5.1 20101125 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named dbus
>>>
$ python2
Python 2.7.1 (r271:86832, Dec 2 2010, 03:10:07)
[GCC 4.5.1 20101125 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>>
But anyway, scribes is written with python2 syntax in mind, so let's use it :
$ export PYTHONPATH=/usr/lib/python2.7
I now re-run ./autogen.sh :
checking what language compliance flags to pass to the C++ compiler...
checking for a Python interpreter with version >= 2.5... ./configure: line 6015: 17533 Aborted ( $am_cv_pathless_PYTHON -c "$prog" ) 1>&5 2>&5
python2
checking for python2... /usr/bin/python2
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
configure: error: Error: Dependency check failed
In conf.log, there is now:
configure:6191: result: ${exec_prefix}/lib/python2.7/site-packages
configure:6227: gcc -o conftest -g -O2 conftest.c >&5
configure:6227: $? = 0
configure:6227: ./conftest
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
configure:6227: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "scribes"
But with the PYTHONPATH set, I can't even start the python interpreter (python2 still works fine):
$ python
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
Aborted
I can still start scribes without compiling it, but then on the console, the same error appears:
$ python2 scribes.in
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/usr/lib/python2.7/encodings/utf_8.py", line 9, in <module>
Without PYTHONPATH set, I can also run scribes (with python2), but it gives me an error in the console. I also tried o run 2to3 on every python file in the project and correcting the syntax to be conform to http://diveintopython3.org/porting-code … -2to3.html (but that's not really what I'm supposed to do, is it?), and I got the same error as the one below ("No module named gobject") when trying to build with autogen.sh:
$ export PYTHONPATH=
$ python2 scribes.in
Traceback (most recent call last):
File "/home/wan/scribes_d/scribes_721/SCRIBES/SaveSystem/ExternalProcess/ScribesSaveProcess.py", line 7, in <module>
from gobject import MainLoop, threads_init
ImportError: No module named gobject
I am out of ideas to try to correct the problem. Can anyone help me please?
Last edited by wan (2010-12-09 01:26:14)I knew there was an old (and not up-to-date) package in community, but I didn't know that I could get the PKGBUILD.
That teached me the -G argument for yaourt!
To solve the problem, the previous script helped a lot:
$ sed -i 's/python depcheck.py/python2 depcheck.py/' configure.ac
... on some other files as well.
I submitted the now up-to-date PKGBUILD to the AUR here: http://aur.archlinux.org/packages.php?ID=44275
Thanks for your suggestions! -
[SOLVED] install package from aur via yaourt
Hi,
i installed yaourt and tried to install from the aur.
it keeps asking me to continue bulding and then restart building. it just wont install any packages.
for none-aur packages it works fine btw.
any help?
alex
Last edited by alext (2011-10-11 23:13:53)me too and it didnt.
[xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
1 aur/ntfs-config 1.0.1-7 (200)
Enable/disable NTFS write support with a simple click
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
==> Downloading ntfs-config PKGBUILD from AUR...
x PKGBUILD
x python-2.7.patch
Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
Can you check if:
sudo mkdir /etc/hal/fdi
sudo touch /etc/hal/fdi/policy
solves the problem?
Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
Updated with the solution to the mentioned problem.
Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
Please, add perl-xml-parser as makedep :)
Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
Done. Thank you :)
First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
ntfs-config 1.0.1-7
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> ntfs-config dependencies:
- python2 (already installed)
- pygtk (already installed)
- udev (already installed)
- ntfs-3g (already installed)
- perl-xml-parser (already installed)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'core' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'extra' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community-testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'multilib' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
==> Continue building ntfs-config ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for ntfs-config:
Password:
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
error: target not found: recognized.
==> Restart building ntfs-config ? [y/N]
==> ------------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> ntfs-config dependencies:
- python2 (already installed)
- pygtk (already installed)
- udev (already installed)
- ntfs-3g (already installed)
- perl-xml-parser (already installed)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'core' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'extra' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community-testing' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'community' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
- warning: (building from AUR)
- config (building from AUR)
- file (package found)
- /etc/pacman.d/mirrorlist, (building from AUR)
- line (building from AUR)
- 82: (building from AUR)
- directive (building from AUR)
- 'Germany' (building from AUR)
- in (building from AUR)
- section (building from AUR)
- 'multilib' (building from AUR)
- not (building from AUR)
- recognized. (building from AUR)
==> Continue building ntfs-config ? [Y/n]
==> -------------------------------------
==>
==> Building and installing package
==> Install or build missing dependencies for ntfs-config:
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
error: target not found: recognized.
==> Restart building ntfs-config ? [y/N]
==> ------------------------------------
==>
==> WARNING: Following packages have not been installed:
ntfs-config
Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
Last edited by alext (2011-10-11 22:16:58) -
[Solved] Install package python-evdev from AUR
I belive this is the correct section to post this but I have a problem installing the package python-evdev where I get the error ( Unsupported package: Potentially dangerous ! )
after trying to install with yaourt and pip install python-evdev results in bash: pip: command not found even after checking that extra/python-setuptools 1:5.2-1 is installed
and extra/python2-setuptools 1:5.2-1 is installed.
I realize there are other modules for hooking x server events but this one I have already written 200 lines of code for and is key to my application working. I was able to install
and utilize this module in ubuntu but cannot seem to get it installed in archlinux. Any guidance would be apreciated.
Last edited by meschael (2014-06-25 00:34:58)I asumed pip came with setup tools, so following ids1024's lead I did a pacman -S python-pip which solved the command not found issue. I downloaded and untar'ed the package from AUR and issued a makepkg -s from within the extracted folder. There seems to be an issue with the licence which I can now see has to do with the person who make the package
I did not realize the dynamics of how AUR works because I am new to arch, so I appologize if I bothered anyone.
[Update] I have abondoned the idea of getting pythons evdev module installed as I have located a python3-xlib module which seems to have installed correctly, incidently I was unable to locate a xlib ported to python3 in my other distro, but found it in AUR here so this should work, will have to adapt my code but not the end of the world. Else if (Xlib != WORKING): work directly with /dev/input/eventn using root
Last edited by meschael (2014-06-25 00:34:03) -
[SOLVED] Installed Win 7, now Arch won't boot
Edit: To save anyone reading this all the way, the problem turned out to be a badly edited fstab. Sigh.
PROBLEM:
Grub loads, then loads the kernel, but the boot hangs a few seconds later with no real error messages.
BACKGROUND:
1) I needed to boot a native Windows 7 partition on my 128GB laptop SSD.
2) So, I used gparted in an Ubuntu Live USB to resize my existing Arch partition and create an NTFS partition for Win 7:
sda > sda1=Arch > sda2=ntfs > sda3=linux swap
Arch still booted fine after this (sda1).
3) I then installed windows 7 (BIOS install) onto the second partition (sda2). I don't know where or if it puts some system reserved partition - but I can't see anything in gparted.
4) chrooted from an Arch Live USB, reinstalled GRUB, including mkconfig step
5) *If* I recall, Arch then booted OK.
6) Booted into Windows and applied all updates, set windows to use UTC clock and updated my laptops BIOS. Reboot.
7) Win 7 boots fine from the grub menu from (hd0,2)
8) Arch starts booting, loads the kernel, then hangs after the kernel has loaded, but before gdm appears. With the following on screen:
[2.104597] INFO @wl_cfg80211_attach : Registered CFG80211 phy
I have tried chrooting and reinstalling linux and linux-headers and grub. But so far to no avail.
[SOLVED with face palm]
I installed syslinux using chroot, as it displays more startup messages. The boot was hanging at [a disk task is starting] or words to that effect. It was my USB stick, which I'd foolishly added to fstab with the "auto" option. Editing that out of fstab - and it's all good.
I'll leave this here in case anyone else does something this dumb.
Last edited by sultanoswing (2013-10-30 08:09:03)fettouhi wrote:
Thanks for the clarification about the DAEMONS list. My DAEMONS list is:
DAEMONS=(!hwclock ntpd syslog-ng !network netfs crond @alsa dbus networkmanager ufw cupsd avahi-daemon samba)
when I try to enable alsa and dbus I get this
[root@andre ~]# systemctl enable alsa-store.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.
[root@andre ~]# systemctl enable alsa-restore.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.
[root@andre ~]# systemctl enable dbus.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.
Is LVM handled automatically by systemd? The reason I ask is because I have the USELVM= set to YES in rc.conf.
I made the permanent transition to systemd and did not start alsa at all - sound works fine - so I never bothered with the alsa-store/alsa-restore service files at all - it just works! Also dbus gets handled by default in systemd so you don't need any starting of dbus service at all... it just works. -
[SOLVED] install arch VM with pacstrap
Dear all,
I am installing a Arch VM on my Arch host. The host is up-to-date, well configured (at least I think) in a vanilla manner (no suspicious hacks).
# pacstrap -i -c -d /dahlia base base-devel
is installing all packages but gives me this error many times:
/usr/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
error: command failed to execute correctly
Googling this error returns lot of topics but I couldn't find a clear answer. I do not want to start with a semi-broken arch VM, so I want to solve this issue before going further.
Thank you
Last edited by gabx (2014-02-10 13:22:42)# pacstrap -i -c -d /dahlia base base-devel readline lib32-ncurses ncurses acl attr gettext
did the trick -
[SOLVED] install xorg on Virtualbox's ArchLinux
I'm trying to install xorg on the ArchLinux.(which in a virtualbox's box)
But, when I run 'xinit'.
It display vboxvideo does not exist.
When I use 'lsmod|grep vboxvideo'. It exist.
After search full directory, I found:
/usr/lib/xorg/modules/dri/vboxvideo_dri.so
and
/lib/modules/3.0-ARCH/misc/vboxvideo.so
[SOLVED solution]
mkdir -p /usr/lib/xorg/modules/drivers
rerun the virtualbox addition
Last edited by dlin (2011-08-13 01:04:50)You need a VirtualBox Guest installation for your guest system to get the needed video driver run at your guest system.
Look at this how to do the installation on an Arch system:
https://wiki.archlinux.org/index.php/Ar … lBox_Guest
Alternatively, you can install the drivers with VirtualBox itself. There is a Menu entry 'Install Guest Additions...' under 'Devices'.
After calling the menu item there is a iso image installed wich you can mount in your guest system:
# mount /dev/sr0 /mnt
or something similar
On the CD there is a bash script /mnt/VboxLinuxAdditions.run which you can run to compile the device drivers.
To do this, you need gcc and linux headers installed on your guest system.
For using the compiled drivers, use the wiki article which I have linked above.
This Way has the disadvantage that you need to do the compilation again after every kernel update.
Maybe you are looking for
-
IPhoto is not behaving as it should!
It's really slow to load. iCloud sharing doesn't seem to work properly although I followed the help instructions meticulously. When I click "share" it takes ages to load and "iCloud" is grayed out and the only option given is email. It won't let me s
-
Skype using High levels of RAM over time
So recently i've noticed that Skype has been using increased levels of RAM over time. Before i think 7.1 it sat at a steady 170k or lower but since the recent update, it seems to scale all the way up to nearly using 80% of my RAM after being on for
-
Mobile Me, Entourage and Hotmail??!?
Forgive me if this has been answered, but I've got Entourage on my MacBook and I have my hotmail acct. downloaded through that, now I've got my iPhone and MobileMe and I don't know how to sync my mail through that...I do have the free version of hotm
-
I have OS 10.3.9, my server is Comcast.net. and I use MAIL as my primary address. Suddenly I am unable to SEND e-mails. I get message stating "not our customer". When I contacted Comcast they inform me that it appears I have a Corrupt File and should
-
Reduce image in flash without dropping quality
Hi, I'm going to import a image in to flash and reduce the size to a half, But it's not looks good when I reduce the size of a image in flash, So I heard that there is a actionscript class for avoid it, Someone please tell me where I can find it Than