[SOLVED] mkarchiso: ERROR: failed to detect root filesystem

hi guys!
i am now trying to build my own live archlinux distribution with archiso and with the command "mkarchiso"
at the first step in installing the base when it installs linux and execute "mkinitcpio" it shows me this error:
( 73/111) installing linux [#####################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
i continue the process with that error and in the "run" step i did this command
# mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
[root@fuhrer livecd]# mkarchiso -w work/x86_64/ -r mkinitcpio -p linux run
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64/
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio
==> Starting dry run: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Dry run complete, use -g IMAGE to generate a real image
and the big problem shows when i build the iso file and "dd" it to USB disk, when i choose to boot the live archlinux it tell me
ERROR: failed to detect root filesystem
and that you cannot log to tty
any suggestions?
Last edited by fuhrer (2013-07-22 17:05:07)

First run it, without any modification to learn how it works. Check if works. Modify as you need. Check if works...
Do not worry about the mkinitcpio error, because such initramfs images should not be used for boot live medium. You can see that profiles uses own mkinitcpio.conf with at least archiso hook
Running mkarchiso directly is not the right way, at least if you do not know how things works.
[root@exequiel tmp]# cp -r /usr/share/archiso/configs/baseline .
[root@exequiel tmp]# cd baseline
[root@exequiel baseline]# ./build.sh
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: init
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: /etc/pacman.conf
[mkarchiso] INFO: Installing packages to 'work/root-image/'...
:: Synchronizing package databases...
core 103.0 KiB 12.6M/s 00:00 [############################################################################] 100%
extra 1439.7 KiB 11.2M/s 00:00 [############################################################################] 100%
community 1990.1 KiB 11.2M/s 00:00 [############################################################################] 100%
multilib 107.3 KiB 11.6M/s 00:00 [############################################################################] 100%
:: There are 51 members in group base:
:: Repository core
1) bash 2) bzip2 3) coreutils 4) cronie 5) cryptsetup 6) device-mapper 7) dhcpcd 8) diffutils 9) e2fsprogs 10) file 11) filesystem 12) findutils 13) gawk 14) gcc-libs 15) gettext 16) glibc
17) grep 18) gzip 19) heirloom-mailx 20) inetutils 21) iproute2 22) iputils 23) jfsutils 24) less 25) licenses 26) linux 27) logrotate 28) lvm2 29) man-db 30) man-pages 31) mdadm 32) nano
33) netctl 34) pacman 35) pciutils 36) pcmciautils 37) perl 38) procps-ng 39) psmisc 40) reiserfsprogs 41) sed 42) shadow 43) sysfsutils 44) systemd-sysvcompat 45) tar 46) texinfo 47) usbutils
48) util-linux 49) vi 50) which 51) xfsprogs
Enter a selection (default=all):
resolving dependencies...
looking for inter-conflicts...
Packages (111):
Name New Version Net Change
core/acl 2.2.52-1 0.39 MiB
core/archlinux-keyring 20130525-2 0.49 MiB
core/attr 2.4.47-1 0.19 MiB
core/ca-certificates 20130610-1 0.25 MiB
core/cracklib 2.8.22-3 1.20 MiB
core/curl 7.31.0-1 1.73 MiB
core/db 5.3.21-1 15.30 MiB
core/dbus 1.6.12-1 1.63 MiB
core/dirmngr 1.1.1-1 0.49 MiB
core/expat 2.1.0-2 0.61 MiB
core/gdbm 1.10-1 0.37 MiB
core/glib2 2.36.3-2 11.66 MiB
core/gmp 5.1.2-1 2.07 MiB
core/gnupg 2.0.20-2 7.14 MiB
core/gpgme 1.4.2-1 0.68 MiB
core/groff 1.22.2-3 8.94 MiB
core/hwids 20130607-1 1.28 MiB
core/iana-etc 2.30-3 3.44 MiB
core/iptables 1.4.19.1-1 1.38 MiB
core/kbd 1.15.5-4 2.83 MiB
core/keyutils 1.5.5-5 0.18 MiB
core/kmod 14-1 0.45 MiB
core/krb5 1.11.3-1 3.86 MiB
core/libarchive 3.1.2-1 3.19 MiB
core/libassuan 2.1.1-1 0.17 MiB
core/libcap 2.22-5 0.13 MiB
core/libffi 3.0.13-3 0.10 MiB
core/libgcrypt 1.5.2-1 0.68 MiB
core/libgpg-error 1.12-1 0.33 MiB
core/libgssglue 0.4-1 0.19 MiB
core/libksba 1.3.0-1 0.30 MiB
core/libldap 2.4.35-4 2.15 MiB
core/libpipeline 1.2.4-1 0.08 MiB
core/libsasl 2.1.26-4 0.54 MiB
core/libssh2 1.4.3-1 1.19 MiB
core/libtirpc 0.2.3-1 0.68 MiB
core/libusbx 1.0.15-1 0.15 MiB
core/linux-api-headers 3.8.4-1 4.58 MiB
core/linux-firmware 20130610-1 51.25 MiB
core/lzo2 2.06-1 0.61 MiB
core/mkinitcpio 0.14.0-1 0.16 MiB
core/mkinitcpio-busybox 1.20.2-1 0.34 MiB
core/mpfr 3.1.2-1 1.50 MiB
core/ncurses 5.9-5 9.75 MiB
core/openresolv 3.5.5-1 0.04 MiB
core/openssl 1.0.1.e-3 11.38 MiB
core/pacman-mirrorlist 20130626-1 0.02 MiB
core/pam 1.1.6-4 3.41 MiB
core/pambase 20130113-1 0.04 MiB
core/pcre 8.33-1 4.83 MiB
core/pinentry 0.8.3-1 0.33 MiB
core/popt 1.16-6 0.43 MiB
core/pth 2.0.7-4 0.21 MiB
core/readline 6.2.004-1 1.20 MiB
core/run-parts 4.3.4-1 0.11 MiB
core/systemd 204-3 14.59 MiB
core/sysvinit-tools 2.88-11 0.07 MiB
core/tzdata 2013d-1 1.84 MiB
core/xz 5.0.5-1 0.90 MiB
core/zlib 1.2.8-1 0.30 MiB
core/bash 4.2.045-4 3.51 MiB
core/bzip2 1.0.6-4 0.25 MiB
core/coreutils 8.21-2 13.27 MiB
core/cronie 1.4.9-5 0.15 MiB
core/cryptsetup 1.6.1-2 0.71 MiB
core/device-mapper 2.02.98-4 0.52 MiB
core/dhcpcd 5.6.8-3 0.16 MiB
core/diffutils 3.3-1 0.43 MiB
core/e2fsprogs 1.42.8-1 3.16 MiB
core/file 5.14-1 2.71 MiB
core/filesystem 2013.05-2 0.01 MiB
core/findutils 4.4.2-5 1.70 MiB
core/gawk 4.1.0-1 2.11 MiB
core/gcc-libs 4.8.1-1 3.41 MiB
core/gettext 0.18.3-1 11.10 MiB
core/glibc 2.17-6 35.24 MiB
core/grep 2.14-2 1.33 MiB
core/gzip 1.6-1 0.18 MiB
core/heirloom-mailx 12.5-3 0.46 MiB
core/inetutils 1.9.1-6 0.97 MiB
core/iproute2 3.9.0-2 1.37 MiB
core/iputils 20121221-2 0.21 MiB
core/jfsutils 1.1.15-4 0.98 MiB
core/less 458-1 0.22 MiB
core/licenses 20130203-1 0.53 MiB
core/linux 3.9.9-1 63.98 MiB
core/logrotate 3.8.5-1 0.07 MiB
core/lvm2 2.02.98-4 3.10 MiB
core/man-db 2.6.5-1 1.26 MiB
core/man-pages 3.52-1 4.63 MiB
core/mdadm 3.2.6-4 1.18 MiB
core/nano 2.2.6-2 1.49 MiB
core/netctl 1.1-1 0.16 MiB
core/pacman 4.1.2-1 4.04 MiB
core/pciutils 3.2.0-3 0.34 MiB
core/pcmciautils 018-7 0.05 MiB
core/perl 5.18.0-1 47.64 MiB
core/procps-ng 3.3.8-2 0.59 MiB
core/psmisc 22.20-1 0.73 MiB
core/reiserfsprogs 3.6.23-1 0.95 MiB
core/sed 4.2.2-3 0.76 MiB
core/shadow 4.1.5.1-6 3.88 MiB
core/sysfsutils 2.1.0-8 0.17 MiB
core/systemd-sysvcompat 204-3 0.03 MiB
core/tar 1.26-4 2.33 MiB
core/texinfo 5.1-1 8.62 MiB
core/usbutils 007-1 0.17 MiB
core/util-linux 2.23.1-2 8.92 MiB
core/vi 1:050325-3 0.33 MiB
core/which 2.20-6 0.06 MiB
core/xfsprogs 3.1.11-1 3.29 MiB
Total Installed Size: 427.79 MiB
:: Proceed with installation? [Y/n]
(111/111) checking keys in keyring [############################################################################] 100%
(111/111) checking package integrity [############################################################################] 100%
(111/111) loading package files [############################################################################] 100%
(111/111) checking for file conflicts [############################################################################] 100%
(111/111) checking available disk space [############################################################################] 100%
( 1/111) installing linux-api-headers [############################################################################] 100%
( 2/111) installing tzdata [############################################################################] 100%
( 3/111) installing iana-etc [############################################################################] 100%
( 4/111) installing filesystem [############################################################################] 100%
warning: directory permissions differ on /tmp/baseline/work/root-image/run/
filesystem: 1777 package: 755
( 5/111) installing glibc [############################################################################] 100%
( 6/111) installing ncurses [############################################################################] 100%
( 7/111) installing readline [############################################################################] 100%
( 8/111) installing bash [############################################################################] 100%
( 9/111) installing bzip2 [############################################################################] 100%
( 10/111) installing gcc-libs [############################################################################] 100%
( 11/111) installing db [############################################################################] 100%
( 12/111) installing zlib [############################################################################] 100%
( 13/111) installing cracklib [############################################################################] 100%
( 14/111) installing libgssglue [############################################################################] 100%
( 15/111) installing libtirpc [############################################################################] 100%
( 16/111) installing pambase [############################################################################] 100%
( 17/111) installing pam [############################################################################] 100%
( 18/111) installing attr [############################################################################] 100%
( 19/111) installing acl [############################################################################] 100%
( 20/111) installing gmp [############################################################################] 100%
( 21/111) installing libcap [############################################################################] 100%
( 22/111) installing coreutils [############################################################################] 100%
( 23/111) installing run-parts [############################################################################] 100%
( 24/111) installing cronie [############################################################################] 100%
Optional dependencies for cronie
pm-utils: defer anacron on battery power
smtp-server: send job output via email
smtp-forwarder: forward job output to email server
( 25/111) installing expat [############################################################################] 100%
( 26/111) installing dbus [############################################################################] 100%
Optional dependencies for dbus
libx11: dbus-launch support
( 27/111) installing pcre [############################################################################] 100%
( 28/111) installing libffi [############################################################################] 100%
( 29/111) installing glib2 [############################################################################] 100%
Optional dependencies for glib2
python2: for gdbus-codegen and gtester-report
elfutils: gresource inspection tool
( 30/111) installing kbd [############################################################################] 100%
( 31/111) installing kmod [############################################################################] 100%
( 32/111) installing hwids [############################################################################] 100%
( 33/111) installing libgpg-error [############################################################################] 100%
( 34/111) installing libgcrypt [############################################################################] 100%
( 35/111) installing shadow [############################################################################] 100%
( 36/111) installing util-linux [############################################################################] 100%
( 37/111) installing xz [############################################################################] 100%
( 38/111) installing systemd [############################################################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
cryptsetup: required for encrypted block devices [pending]
libmicrohttpd: systemd-journal-gatewayd
quota-tools: kernel-level quota management
python: systemd library bindings
systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
( 39/111) installing device-mapper [############################################################################] 100%
( 40/111) installing popt [############################################################################] 100%
( 41/111) installing cryptsetup [############################################################################] 100%
( 42/111) installing dhcpcd [############################################################################] 100%
( 43/111) installing diffutils [############################################################################] 100%
( 44/111) installing e2fsprogs [############################################################################] 100%
( 45/111) installing file [############################################################################] 100%
( 46/111) installing findutils [############################################################################] 100%
( 47/111) installing mpfr [############################################################################] 100%
( 48/111) installing gawk [############################################################################] 100%
( 49/111) installing gettext [############################################################################] 100%
Optional dependencies for gettext
cvs: for autopoint tool
( 50/111) installing grep [############################################################################] 100%
( 51/111) installing less [############################################################################] 100%
( 52/111) installing gzip [############################################################################] 100%
( 53/111) installing gdbm [############################################################################] 100%
( 54/111) installing perl [############################################################################] 100%
( 55/111) installing openssl [############################################################################] 100%
Optional dependencies for openssl
ca-certificates [pending]
( 56/111) installing libsasl [############################################################################] 100%
( 57/111) installing libldap [############################################################################] 100%
( 58/111) installing keyutils [############################################################################] 100%
( 59/111) installing krb5 [############################################################################] 100%
( 60/111) installing heirloom-mailx [############################################################################] 100%
Optional dependencies for heirloom-mailx
smtp-forwarder: for sending mail
( 61/111) installing inetutils [############################################################################] 100%
( 62/111) installing iptables [############################################################################] 100%
( 63/111) installing iproute2 [############################################################################] 100%
Optional dependencies for iproute2
linux-atm: ATM support
( 64/111) installing sysfsutils [############################################################################] 100%
( 65/111) installing iputils [############################################################################] 100%
Optional dependencies for iputils
xinetd: for tftpd
( 66/111) installing jfsutils [############################################################################] 100%
( 67/111) installing licenses [############################################################################] 100%
( 68/111) installing linux-firmware [############################################################################] 100%
( 69/111) installing mkinitcpio-busybox [############################################################################] 100%
( 70/111) installing lzo2 [############################################################################] 100%
( 71/111) installing libarchive [############################################################################] 100%
( 72/111) installing mkinitcpio [############################################################################] 100%
Optional dependencies for mkinitcpio
xz: Use lzma or xz compression for the initramfs image [pending]
bzip2: Use bzip2 compression for the initramfs image [pending]
lzop: Use lzo compression for the initramfs image
mkinitcpio-nfs-utils: Support for root filesystem on NFS
( 73/111) installing linux [############################################################################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
==> ERROR: failed to detect root filesystem
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
Optional dependencies for linux
crda: to set the correct wireless channels of your country
( 74/111) installing logrotate [############################################################################] 100%
Optional dependencies for logrotate
cron: scheduled log rotation
( 75/111) installing lvm2 [############################################################################] 100%
( 76/111) installing groff [############################################################################] 100%
Optional dependencies for groff
netpbm: for use together with man -H command interaction in browsers
psutils: for use together with man -H command interaction in browsers
libxaw: for gxditview
( 77/111) installing libpipeline [############################################################################] 100%
( 78/111) installing man-db [############################################################################] 100%
it's recommended to create an initial
database running as root:
"/usr/bin/mandb --quiet"
Optional dependencies for man-db
gzip [pending]
( 79/111) installing man-pages [############################################################################] 100%
( 80/111) installing mdadm [############################################################################] 100%
( 81/111) installing nano [############################################################################] 100%
( 82/111) installing openresolv [############################################################################] 100%
( 83/111) installing netctl [############################################################################] 100%
Optional dependencies for netctl
dialog: for the menu based wifi assistant
dhclient: for DHCP support (or dhcpcd)
dhcpcd: for DHCP support (or dhclient) [pending]
wpa_supplicant: for wireless networking support
ifplugd: for automatic wired connections through netctl-ifplugd
wpa_actiond: for automatic wireless connections through netctl-auto
ifenslave: for bond connections
bridge-utils: for bridge connections
ppp: for pppoe connections
( 84/111) installing sed [############################################################################] 100%
( 85/111) installing ca-certificates [############################################################################] 100%
( 86/111) installing libssh2 [############################################################################] 100%
( 87/111) installing curl [############################################################################] 100%
( 88/111) installing pth [############################################################################] 100%
( 89/111) installing libksba [############################################################################] 100%
( 90/111) installing libassuan [############################################################################] 100%
( 91/111) installing pinentry [############################################################################] 100%
Optional dependencies for pinentry
gtk2: for gtk2 backend
qt4: for qt4 backend
( 92/111) installing dirmngr [############################################################################] 100%
( 93/111) installing gnupg [############################################################################] 100%
Optional dependencies for gnupg
curl: gpg2keys_curl [pending]
libldap: gpg2keys_ldap [pending]
libusb-compat: scdaemon
( 94/111) installing gpgme [############################################################################] 100%
( 95/111) installing pacman-mirrorlist [############################################################################] 100%
( 96/111) installing archlinux-keyring [############################################################################] 100%
( 97/111) installing pacman [############################################################################] 100%
>>> Run `pacman-key --init; pacman-key --populate archlinux`
>>> to import the data required by pacman for package verification.
>>> See: https://www.archlinux.org/news/having-pacman-verify-packages
Optional dependencies for pacman
fakeroot: for makepkg usage as normal user
( 98/111) installing pciutils [############################################################################] 100%
( 99/111) installing pcmciautils [############################################################################] 100%
(100/111) installing procps-ng [############################################################################] 100%
(101/111) installing psmisc [############################################################################] 100%
(102/111) installing reiserfsprogs [############################################################################] 100%
(103/111) installing sysvinit-tools [############################################################################] 100%
(104/111) installing systemd-sysvcompat [############################################################################] 100%
(105/111) installing tar [############################################################################] 100%
(106/111) installing texinfo [############################################################################] 100%
(107/111) installing libusbx [############################################################################] 100%
(108/111) installing usbutils [############################################################################] 100%
Optional dependencies for usbutils
python2: for lsusb.py usage
coreutils: for lsusb.py usage [pending]
(109/111) installing vi [############################################################################] 100%
Optional dependencies for vi
heirloom-mailx: used by the preserve command for notification [pending]
(110/111) installing which [############################################################################] 100%
(111/111) installing xfsprogs [############################################################################] 100%
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Installing packages to 'work/root-image/'...
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for inter-conflicts...
Packages (1):
Name New Version Net Change
core/syslinux 4.06-2 3.35 MiB
Total Installed Size: 3.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [############################################################################] 100%
(1/1) checking package integrity [############################################################################] 100%
(1/1) loading package files [############################################################################] 100%
(1/1) checking for file conflicts [############################################################################] 100%
(1/1) checking available disk space [############################################################################] 100%
(1/1) installing syslinux [############################################################################] 100%
==> If you want to use syslinux as your bootloader
==> edit /boot/syslinux/syslinux.cfg and run
==> # /usr/bin/syslinux-install_update -i -a -m
==> to install it.
Optional dependencies for syslinux
perl-passwd-md5: For md5pass
perl-digest-sha1: For sha1pass
mtools: For mkdiskimage and syslinux support
gptfdisk: For GPT support
util-linux: For isohybrid [installed]
[mkarchiso] INFO: Packages installed successfully!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img
==> Starting build: 3.9.9-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [archiso]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/archiso.img
==> Image generation successful
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: prepare
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Cleaning up what we can on root-image...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Target 'work/iso/arch/x86_64/root-image.fs.sfs' does not exist, making it from 'work/root-image'
[mkarchiso] INFO: Creating ext4 image of 1025 MiB...
mke2fs 1.42.8 (20-Jun-2013)
Discarding device blocks: done
warning: 256 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
65664 inodes, 262144 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
8208 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Mounting 'work/root-image.fs' on 'work/mnt/root-image'
[mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 2 MiB (1%) | Avail: 1007 MiB (99%)
[mkarchiso] INFO: Copying 'work/root-image/' to 'work/mnt/root-image/'...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Total: 1008 MiB (100%) | Used: 552 MiB (55%) | Avail: 457 MiB (45%)
[mkarchiso] INFO: Unmounting 'work/mnt/root-image'
[mkarchiso] INFO: Creating SquashFS image for 'work/root-image.fs', This may take some time...
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on work/root-image.fs.sfs, block size 131072.
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 193188.71 Kbytes (188.66 Mbytes)
18.41% of uncompressed filesystem size (1049632.29 Kbytes)
Inode table size 10918 bytes (10.66 Kbytes)
33.19% of uncompressed inode table size (32898 bytes)
Directory table size 31 bytes (0.03 Kbytes)
88.57% of uncompressed directory table size (35 bytes)
Number of duplicate files found 0
Number of inodes 2
Number of files 1
Number of fragments 0
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 1
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
[mkarchiso] INFO: Image creation done in 01:46 minutes
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: checksum
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Target 'work/iso/arch/checksum.i686.md5' does not exist, making it from 'work/iso/arch'
[mkarchiso] INFO: Creating checksum file for self-test (i686)...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Target 'work/iso/arch/checksum.x86_64.md5' does not exist, making it from 'work/iso/arch'
[mkarchiso] INFO: Creating checksum file for self-test (x86_64)...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: iso
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Image name: archlinux-2013.07.21-x86_64.iso
[mkarchiso] INFO: Disk label: ARCH_201307
[mkarchiso] INFO: Disk publisher: Arch Linux <http://www.archlinux.org>
[mkarchiso] INFO: Disk application: Arch Linux Live/Rescue CD
[mkarchiso] INFO: Target 'out/archlinux-2013.07.21-x86_64.iso' does not exist, making it from 'work/iso'
[mkarchiso] INFO: Creating ISO image...
xorriso 1.3.0 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:out/archlinux-2013.07.21-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4155m free
Added to ISO image: directory '/'='/tmp/baseline/work/iso'
xorriso : UPDATE : 16 files added in 1 seconds
xorriso : UPDATE : 16 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/tmp/baseline/work/iso/isolinux/isohdpfx.bin'
libisofs: NOTE : Aligned image size to cylinder size by 177 blocks
xorriso : UPDATE : 16.90% done
xorriso : UPDATE : 82.85% done
ISO image produced: 105472 sectors
Written to medium : 105472 sectors at LBA 0
Writing to 'stdio:out/archlinux-2013.07.21-x86_64.iso' completed successfully.
[mkarchiso] INFO: Done! | 206M out/archlinux-2013.07.21-x86_64.iso
Booting:
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
:: running hook [archiso]
:: Mounting '/dev/disk/by-label/ARCH_201307' to '/run/archiso/bootmnt'
:: Device '/dev/disk/by-label/ARCH_201307' mounted successfully.
:: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=75%...
:: Mounting '/dev/loop0' to '/run/archiso/sfs/root-image'
:: Device '/dev/loop0' mounted successfully.
:: Creating '/run/archiso/cowspace/persistent_ARCH_201307/x86_64/root-image.cow' as non-persistent.
:: Mounting '/dev/mapper/arch_root-image' to '/new_root/'
:: Device '/dev/mapper/arch_root-image' mounted successfully.
:: running cleanup hook [udev]
Welcome to Arch Linux!
Expecting device dev-ttyS0.device...
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on LVM2 metadata daemon socket.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Listening on Journal Socket.
Mounting POSIX Message Queue File System...
Starting Setup Virtual Console...
Starting Create static device nodes in /dev...
Mounting Huge Pages File System...
Starting Apply Kernel Variables...
Mounting Debug File System...
Mounting Configuration File System...
Starting udev Coldplug all Devices...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Swap.
Mounting Temporary Directory...
Starting Remount Root and Kernel File Systems...
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Setup Virtual Console.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted Debug File System.
[ OK ] Started Create static device nodes in /dev.
[ OK ] Mounted Configuration File System.
[ OK ] Mounted Temporary Directory.
Starting udev Kernel Device Manager...
Starting Load Random Seed...
[ OK ] Started Load Random Seed.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Recreate Volatile Files and Directories...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Recreate Volatile Files and Directories.
Starting Update UTMP about System Reboot/Shutdown...
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started Update UTMP about System Reboot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Permit User Sessions...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting Login Service...
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
[ OK ] Started Login Service.
[ OK ] Found device /dev/ttyS0.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Arch Linux 3.9.9-1-ARCH (ttyS0)
localhost login:

Similar Messages

  • Error: FAILED hr detected (hr = 0x80010102)\n / unable to update ListItem...

    Hello
    I'm trying to update a ListItems with a asp.net webhandler (ashx).
    From an Sharepoint application Page I call the handler to update the item (jquery ajax-call). 
    In the same time there might be other calls from the page in parallel (reading other items, ...).
    I get the SPWeb from SPContext.
    Sometimes the error
    FAILED hr detected (hr = 0x80010102)\n
    ErrorCode: -21474178
    occurs when updating a list item. 
    The same error sometings occurs too when asking for a List (Web.Lists[ListName]. When accessing the  List a second time there is no error anymore.
    Is this  multithreading problem, is there a way to avoid this?
    Thanks for your help
    Mike

    Hi,
    If you just want to operate the list items, we can use REST service or Client Object Model to achieve it in SharePoint  2013.
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj163201.aspx#BasicOps_SPListItemCRUD
    Working with lists and list items with REST
    http://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • [SOLVED] Pacman error: failed retrieving file : No address record

    I just installed Arch on a x86 laptop using the cd as the package source. I wanted to do a net install, but when I attempted to (regardless of the mirror) I got many responses from pacman in tty7 of "No address record". This happened despite having a network connection and being able to ping any site from the cli.
    After installing, I am still having the same problem. The laptop is plugged in via ethernet, and I can ping any site I want, but a call to pacman -Syyu just returns numerous errors such as
    error: failed retrieving file 'core.db' from mirror.rit.edu : No address record
    And just as a test, I was getting replies when pinging mirror.rit.edu.
    Last edited by process91 (2011-11-18 18:21:17)

    Try the following steps:
    1 - Set the VirtualBox Networking option to NAT
    2 -  Start the arch machine in the VirtualBox
    3 -  Edit /etc/rc.conf as a dynamic IP:
    HOSTNAME="arch"
    interface=eth0
    address=
    netmask=
    broadcast=
    gateway=
    4 - Run dhcpcd
    5 -  Try to ping a couple of sites, or your router
    If you still can't ping or anything, I suggest you start a new thread specifically about your problem. Include the output from "ipconfig -a". You're not going to get much help from posting in a thread marked "[SOLVED]".
    Last edited by process91 (2012-01-18 07:21:14)

  • [solved]pacman error: failed to prepare transaction

    [iblicf@myarch ~]$ sudo pacman -S inkscape
    resolving dependencies...
    error: could not open file /var/lib/pacman/sync/extra//openoffice-sv-2.3.1-1/depends: No such file or directory
    error: cannot resolve "pyxml", a dependency of "inkscape"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: inkscape: requires pyxml
    [iblicf@myarch ~]$ sudo pacman -S abiword
    resolving dependencies...
    error: could not open file /var/lib/pacman/sync/extra//openoffice-sv-2.3.1-1/depends: No such file or directory
    error: cannot resolve "wv>=1.2.4", a dependency of "abiword"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: abiword: requires wv>=1.2.4
    what's wrong with it  ? plz help
    Last edited by iblicf (2008-03-05 03:54:10)

    pacman -Syy  ,yeah , that works ... thanks
    Last edited by iblicf (2008-03-05 03:55:08)

  • CentOS based linux VM running on Hyper-v : Checking root filesystem fails when kernel switches having old PV(para virtualised driver based on 2.6.32 linux kernel) to new PV(which is equivalent to linux integration component 3.4)

    hi all,
    I am running a CentOS base VM on top of Hyper-V server. I upgraded PV drivers of Hyper-V in linux kernel 2.6.32 in order to support
    Windows Server 2012, then i am hitting below issue on Windows Server 2008 when kernel switches from old PV(which is 2.6.32 based) to new PV(which is equivalent to linux integration component 3.4).i
    am hitting following filesystem check error messages :
    Setting hostname hostname:
    Checking root filesystem
    fsck.ext3/dev/hda2:
    The superblock could not be read or does not describe correct ext2 filesystem. If the device is valid and it really contains an ext2
    filesystem(and not swap or ufs or something else),then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    : No such file or directory while trying to open /dev/hda2
    *** An error occurred during the filesystem check.
    *** Dropping you to a shell; the system will reboot
    *** When you leave the shell.
    Also, when I go to the repair filesystem mode. I found out the strange behaviour when i ran those command :
    (Repair filesytem) 1 # mount
    /dev/hda2 on / type ext3 (rw)
    proc on /proc type proc (rw)
    (Repair filesystem) 1# cat /etc/mtab
    /dev/hda2 /ext3 rw 0 0
    proc /proc proc rw 0 0
    (Repair filesystem) 1# df
    Filesystem 1K-blocks used Available Use% Mountedon
    /dev/hda2 4%
    I think for all above command there should be /dev/sda2 instead of /dev/hda2.
    Also my fstab , and fdisk -l looks like ok for me.
    (Repair filesystem) 1# cat /etc/fstab
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    LABEL=swap-xvda3 swap swap defults 0 0
    (Repair filesystem) 1# fdisk -l
    Device Boot Start End Block Id System
    /dev/sda1 * 1 49 98535 83 Linux
    Partition 1 does not end with cylinder boundary.
    /dev/sda2 49 19197 39062500 83 Linux
    Partition 2 does not end with cylinder boundary.
    /dev/sda3 ......
    Partition 3 does not ......
    /dev/sda4 ......
    Partition 4 does not end ....
    (Repair filesystem) 1# e2label /dev/sda1
    /boot
    (Repair filesystem) 1# e2label /dev/sda2
    (Repair fielsystem) 1# ls /dev/sd*
    /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4
    (Repair filesyatem) 1# ls /dev/hd*
    ls: /dev/hd*: No such file or directory
    Kindly suggest any configuration of windows server or kernel configs missing or how to resolve this issues
    Many many thanks for your reply.
    thanks & Regards,
    Ujjwal

    i am not able to understand duplicate UUID and from where it is picking /dev/hda* ?
    ~
    VVM:>>
    VVM:>> Output of dmesg | grep ata contain substring "Hyper-V" ?
    VVM:>>
    it doesn't contain "Hyper-V" or ata related message and the output doesn't change with boot parameter reserve=0x1f0, 0x8
    ~~
    ~~~~
    ==
     output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8)
    ==
     see later ( in "good situation" example  )
    ~~
    ===
    Disable legacy ATA driver by adding the following to kernel command line in /boot/grub/menu.lst:
    reserve=0x1f0, 0x8
    . (This option reserves this I/O region and prevents ata_piix from loading).
    ==
     See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8) :
    ~~
    [ 0.176027] 
    libata version 3.00 loaded.
    [ 0.713319] 
    ata_piix 0000:00:07.1: version 2.13
    [ 0.713397] 
    ata_piix 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
    [ 0.713404] 
    ata_piix: probe of 0000:00:07.1 failed with error -22
    [ 0.713474] 
    pata_acpi 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
    [ 0.713479] 
    pata_acpi: probe of 0000:00:07.1 failed with error -22
    ~~
      As result: 1) IDE disk handled by hv_storvsc , but 2) no CD-ROM device
    ==
    ~ # blkid
    /dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
    ==
    ~~
    VVM>>
    VVM>>Q1: Output of blkid contain duplicate UUID ?
    VVM>>
    -> blkid contains duplicate UUID, below are the output.
    ~~
     This situation is classic problem "
    use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but not for the DVD-ROM / CD-ROM device handling)
    ~~
     For compare, see example "good situation": 
     See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( without boot parameter reserve=0x1f0, 0x8) :
    ~~~~
    ~ # dmesg |grep ata
    [ 0.167224] libata version 3.00 loaded.
    [ 0.703109] ata_piix 0000:00:07.1: version 2.13
    [ 0.703267] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set
    [ 0.703339] ata_piix 0000:00:07.1: setting latency timer to 64
    [ 0.704968] scsi0 : ata_piix
    [ 0.705713] scsi1 : ata_piix
    [ 0.706191] atal: PATA max UDMA/33 cmd 0xlf0 ctl 0x3f6 bmdma 0xffa0 irq 14
    [ 0.706194] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
    [ 0.868844] atal.00: host indicates ignore ATA devices, ignored
    [ 0.869142] ata2.00: ATAPI: Virtual CD, , max MWDMA2
    [ 0.871736] ata2.00: configured for MWDMA2
    ~~~~
    ===
    ~ # uname -a
    Linux ubuntu 3.7.0-7-generic #15-Ubuntu SUP Sat Dec 15 14:13:08 UTC 2012 x86_64 GNU/Linux
    ~ # lsmod
    hv_netvsc 22769 0
    hv_storvsc 17496 3
    hv_utils 13569 0
    hv_vmbus 34432 3 hv_netvsc,hv_storvsc,hv_utils
    ~ # blkid
    /dev/sr0: LABEL=”CDROM" TYPE="iso9660”
    /dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
    ===
     ( only CD-ROM and 1( one) IDE disk connected to ATA)
    ~~
    regarding ata_piix.c patch . . .
    As far as i understand this patch , it ignore ATA devices on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
    ~~
     Yes:
    ignore ATA-HDD ( but not ignore ATA CD-ROM )  on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
    ~
     this patches need be backported:
      cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
    and its prerequisite
      db63a4c8115a libata: add a host flag to ignore detected ATA devices
    ~
    ~~
    P.S.
     Are You do this:
    ==
    As temporary solution, increase on 1-2 Gb size all .vhd connected to IDE bus
    ( but not increase size of partitions inside disks)
    ==
    ? fsck write message a-la: "no error in file system" ?
    2013-01-24 Answer by Ujjwal Kumar: As a temporary solution looks ok for me, but [ VVM: need true solution ]
    P.P.S.
    To Ujjwal Kumar :
     My e-mail:
    ZZZZZZZZZZZZZZZ
    please send e-mail to me,  in reply I send to You patches to ata_piix ( and *.c before and after patches) , etc.
    } on 2013-01-14 -- DoNe

  • [SOLVED]dual boot-Failed to mount real root device

    Hello,
    Here is my drives partition info:
    /dev/sda1       2,949,122,048 3,907,028,991   957,906,944   7 NTFS / exFAT / HPFS
    /dev/sda2               2,048   901,117,951   901,115,904  83 Linux
    /dev/sda3    *    901,117,952 1,925,115,903 1,023,997,952   f W95 Extended (LBA)
    /dev/sda5         901,120,000   901,439,487       319,488  83 Linux
    /dev/sda6         901,441,536   905,648,127     4,206,592  82 Linux swap / Solaris
    /dev/sda7         905,650,176 1,925,115,903 1,019,465,728  83 Linux
    /dev/sda4       1,925,115,904 2,949,122,047 1,024,006,144   7 NTFS / exFAT / HPFS
    /dev/sdb1               2,048     2,099,199     2,097,152  83 Linux
    /dev/sdb2           2,099,200    53,299,199    51,200,000  83 Linux
    /dev/sdb3          53,299,200    73,779,199    20,480,000  83 Linux
    /dev/sdb4          73,779,200   224,673,791   150,894,592   7 NTFS / exFAT / HPFS
    I installed Opensuse 12.1 on /dev/sda5. It is booting with Grub, working with no problems. The computer boots directly to Grub menu.
    THEN, I installed Arch linux (last release) on both sda and sdb following these mounting points:
    /dev/sdb1 mounted as /boot  Ext2
    /dev/sdb2 mounted as /   BTRFS
    /dev/sdb3 mounted as /usr  BTRFS
    /dev/sda2 mounted as /home  BTRFS
    Intstallation went smooth until the end. Installed the bootloader.
    Now, I am trying to configure GRUB to boot Arch.
    Here is what I added on /boot/grub/menu.lst, in sda5 under Opensuse:
    title Arch Linux  [/boot/vmlinuz-linux]
        root (hd1,0)
        kernel /vmlinuz-linux root=/dev/sdb1 ro
        initrd /initramfs-linux.img
    In Opensuse, i can check that vmlinux and grub/menu.lst are indeed in /dev/sdb1
    My /etc/fstab is on /dev/sdb2
    =============================== sdb2/etc/fstab: ==========
    # /etc/fstab: static file system information
    # <file system>    <dir>    <type>    <options>    <dump>    <pass>
    tmpfs        /tmp    tmpfs    nodev,nosuid    0    0
    /dev/sda2 /home btrfs defaults 0 1
    /dev/sdb1 /boot ext2 defaults 0 1
    /dev/sdb2 / btrfs defaults 0 1
    /dev/sdb3 /usr btrfs defaults 0 1
    With this parameters, i got an message error when booting Arch:
    Mounting /dev/sdb1 on /new_root failed: no such device.
    Error : failed to mount the real root device.
    So, at busybox prompt, I tried this command line :
    ramfs # mount -t ext2 /dev/sdb1
    Got an error : Can't read /etc/fstab
    I tried too to give a uuid adress to sdb1 in my menu.lst file, but it didn't change anything, so I am sure partition number is correct.
    It seems to me in fact that GRUB can't find fstab.
    Two questions :
    -Would it be better in fact to use only 1 GRUB file for both systems? If yes, shall I keep only the grub config from Opensuse?
    -What do I wrong with Arch booting? Why can't I boot Arch?
    EDIT :1- just realised there is no BOOT flag in my partiton table on /dev/sdb.
                2- root is on /dev/sdb2, not sdb1.
    1-I toggled my first partition bootable using fdisk
    2-changed root to point to /dev/sdb2
    Now booting into Arch login
    Last edited by gabx (2011-11-22 22:33:09)

    It was a very simple problem. I used the wrong uuid for my /
    Correct entry in 40_custom is:
    #!/bin/sh
    exec tail -n +3 $0
    # 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.
    menuentry "Arch Linux uuid" {
    insmod part_msdos
    insmod ext2
    search --fs-uuid --no-floppy --set=root 8516fa60-0d45-4f33-b269-817c5290f6cc
    linux /vmlinuz26 root=/dev/disk/by-uuid/9f32e668-2548-4ed4-a10b-3fbea66a6d95 ro vga=775
    initrd /kernel26.img
    Now the boot is working great. Next thing was that my /home and swap was not detected.
    That was simply because /etc/fstab was still using /dev/sda etc naming. changing  that to uuid solved that part as well.
    To use uuid all the way and of cause the correct one solved everything
    /Christer
    Last edited by agkbill (2011-07-15 16:00:30)

  • Windows Update Client failed to detect with error 0xc8000247 after using Lenovo System Update 5

    My Windows 7, SP1 was running fine, until I installed few updates on 10/15 using Lenovo System Update 5 then Windows Update stopped working, shows as RED:
    {CE3119AD-35EF-41CF-9C21-C7698FEB8393}    2013-10-14 21:53:00:256-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Software Synchronization    Windows Update Client successfully detected 4 updates.
    {EB17A01A-EB6E-49FF-9EA2-AA0DD063B4B1}    2013-10-15 04:15:54:069-0700    1    162    101    {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3}    201    0    AutomaticUpdates    Success    Content Download    Download succeeded.
    {77DAE88F-2795-4258-8BBF-8D27E53662CF}    2013-10-15 12:10:38:196-0700    1    193    102    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Content Install    Restart Required: To complete the installation of the following updates, the computer must be restarted. Until this computer has been restarted, Windows cannot search for or download new updates:  - Security Update for Windows 7 for x64-based Systems (KB2862330)
    {1398F777-3AEF-4D1D-BE4C-407EC4AEAD4C}    2013-10-15 12:15:25:676-0700    1    183    101    {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3}    201    0    AutomaticUpdates    Success    Content Install    Installation Successful: Windows successfully installed the following update: Security Update for Windows 7 for x64-based Systems (KB2862330)
    {A220898A-E5FE-4FE7-8413-2B0C7B4013D0}    2013-10-15 12:15:25:766-0700    1    202    102    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Content Install    Reboot completed.
    {A5400FF2-33ED-4A47-8409-13E5DFE16A6D}    2013-10-15 19:29:31:486-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {43C533EE-775D-445E-A652-06648B72DE65}    2013-10-15 19:29:49:702-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {D6AAAFFB-7F18-4A7E-B39D-1BA09CDC5E6D}    2013-10-15 19:30:05:744-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Software Synchronization    Windows Update Client successfully detected 3 updates.
    {4E73B1C1-5BA2-415D-AB34-92F7AB3DB418}    2013-10-15 19:30:08:753-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {51248882-41AC-4E59-B813-87AD326310AD}    2013-10-15 20:00:05:044-0700    1    183    101    {DBD3B4E9-0357-47DA-8317-D0CF2163BFE6}    501    0    wusa    Success    Content Install    Installation Successful: Windows successfully installed the following update: Hotfix for Windows (KB2661796)
    {FB2B8E5E-442C-4E76-B23D-6A41B4324C9D}    2013-10-16 00:11:39:832-0700    1    148    101    {00000000-0000-0000-0000-000000000000}    0    c8000247    AutomaticUpdates    Failure    Software Synchronization    Windows Update Client failed to detect with error 0xc8000247.
    Lenovo Thinkpad W500, Intel (R), Windows 7, SP1, latest updates as of Oct 15
    (1) Checked Setting,  set to automatic update whenever, even changed to never update, rebooted the OS and changed back to automatic update and rebooted the OS.
    (2) Stopped Windows Update Services, renamed SoftwareDistribution folder and started the window update services and rebooted.
    (3) Ran MS FIXIT
    (4) Ran System File checker Scan (sfc /scannow)
    (5) Ran CHKDSK /F
    (6) Installed "Intel Rapid Storage Technology" drivers from Lenovo site
    (7) Ran Update for Windows 7 for x64-based Systems (KB971033)
    None of the above possible recommended solutions were able to fix the issue yet and now I am getting a message your Window is Not Genuine!
    Any help or guidance is appreciated.
    Solved!
    Go to Solution.

    The Lenovo System Update installed the "Intel Matrix Storage Manager driver 8.9.2.1002" right before the Windows Upgrade got broken. So in the Device Manager under IDE ATA/ATAPI Controllers, I choose Intel ICH9M-E/M SATA AHCI Controller, on the Driver Tab, I choose the option "Roll Back Driver" and after rolling back the driver and restarting the OS, now Windows Update is working like a Champ!
    The End!

  • [SOLVED]Failed to find root device after linux (3.6) upgrade on raid 1

    on a test machine pacman -Syu offers linux-3.6.2-1.
    After a successfull update the system won't boot anymore with the following error:
    [ 0.000000] tsc: Fast TSC calibration failed
    :: running early hook [udev]
    :: running hook [udev]
    :: triggering uevents...
    Waiting 10 seconds for device /dev/md1 ...
    ERROR: device '/dev/md1' not found. Skipping fsck.
    ERROR: Unable to find root device '/dev/md1.
    and the machine gets thrown to a recovery shell
    /boot/syslinux/syslinux.cfg entry:
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/md1 ro md=0,/dev/sdb2,/dev/sdc2 md=1,/dev/sdb3,/dev/sdc3 md=2,/dev/sdb4,/dev/sdc4
    INITRD ../initramfs-linux.img
    any ideas?
    Last edited by whoop (2012-10-16 22:51:05)

    If I upgrade to linux 3.6 with this line:
    HOOKS="base udev autodetect pata scsi sata mdadm filesystems usbinput fsck"
    in /etc/mkinitcpio.conf, the system is able to boot.
    if I upfate to linux 3.6 with this line:
    HOOKS="base udev autodetect pata scsi sata mdadm_udev filesystems usbinput fsck"
    in /etc/mkinitcpio.conf the system is not able to boot.
    I gathered that the mdadm_udev hook was preferred but it seems to cause problems in this case.
    After I successfully upgrade (having "mdadm" in /mkinitcpio.conf) I can change "mdadm" to "mdadm_udev" and
    the system will still boot fine.
    Does somebody know what gives?
    Last edited by whoop (2012-10-16 00:13:07)

  • Kinit mounts root filesystem as read only [HELP][solved]

    hello
    I've being messing around with my mkinitcpio trying to optimize my boot speed, i removed some of the hooks at the beginning i couldn't boot, but then now i can boot but the root filesystem mounts as read only, i tried everything my fstab looks fine, / exists with defaults i tried to mount it referencing by it's uuid or by it's name and i get the same results, it mounts the filesystem as root only all the time no mather what i do.
    There is not logs since i started playing with mkinitcpio, or anything i searched everywhere in this forum and around the internet, and i can't find any solution that would work, i restored all the hooks and modules on mkinitcpio and the result it's still the same. i also changed the menu.lst in grub to vga=773 but that's about it.
    Can anyone help with this please i can't seem to boot properly.
    Regards
    Last edited by ricardoduarte (2008-09-14 16:16:25)

    Hello
    Basically what happens it's that it loads all the uDev events then the loopback, it mounts the root read only, then when it checks filesystems it says
    /dev/sda4: clean, 205184/481440 files, 1139604/1920356 blocks [fail]
    ************FILESYSTEM CHECK FAILED****************
    * Please repair manually and reboot. Note that the root *
    * file system is currently mounted read-only. To remount *
    * it read-write: mount -n -o remount,rw / *
    * When you exit the maintenance shell the will *
    * reboot automatically. *
    Now what bugs me its that i can do that mount -n -o remount,rw / with no problems and when i do
    e2fsck -f /dev/sda4
    it doesn't return any errors just says that 0.9 non continuous.
    none of this makes sense to me!! thats why i though that the problem could be coming from mkinitcpio or something
    any ideas
    Thanks for your help, btw thanks for the quick reply
    Regards
    Last edited by ricardoduarte (2008-09-14 15:48:49)

  • [SOLVED] jruby upgrade fails: /dev/fd error

    Hi, when I try to upgrade jruby (pacaur -y jruby) I get the following error:
    /dev/fd/63: line 18: syntax error: unexpected end of file
    AUR Targets  (1): jruby
    Proceed with installation? [Y/n]
    error: failed to commit transaction (conflicting files)
    jruby: /opt/jruby/lib/ruby/gems/shared/cache/rake-10.0.3.gem exists in filesystem # a bunch of these for various files
    Errors occurred, no packages were upgraded.
    ==> WARNING: Failed to install built package(s).
    :: jruby cleaned
    I ran pacman -Sc to clean out old packages, since the / filesystem was 97% full.  Still got the same error.
    as root, ls -l /dev/fd/* gives:
    ls: cannot access /dev/fd/255: No such file or directory
    ls: cannot access /dev/fd/3: No such file or directory
    lrwx------ 1 root root 64 Feb 23 13:42 /dev/fd/0 -> /dev/pts/3
    lrwx------ 1 root root 64 Feb 23 13:42 /dev/fd/1 -> /dev/pts/3
    lrwx------ 1 root root 64 Feb 23 13:42 /dev/fd/2 -> /dev/pts/3
    Any idea what's going on here?
    Last edited by bebopson (2013-02-24 15:26:20)

    This looks like a pacaur bug, due to the weird looking PKGBUILD. I guess the pacaur maintainer will have a look at it as soon as possible.
    In the meantime, use makepkg (pacaur -de jruby && cd /tmp/pacaur-blabla/jruby && makepkg -si)
    Edit: pacaur-git should now be working as expected.
    Last edited by Spyhawk (2013-02-23 19:07:08)

  • [SOLVED]pacman upgrade: error# failed to prepare transaction

    Whenever I am trying to install some packages using pacman, I get a message to upgrade pacman. When I say 'yes', I get an error message.
    ##code_begin##
    [root@arch matrix]# pacman -S libreoffice
    :: The following packages should be upgraded first :
        pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    warning: dependency cycle detected:
    warning: udev will be installed before its util-linux dependency
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.7.0-3
    [root@arch matrix]#
    ##code_end##
    This started after adding a new mirror and performing "pacman -Syu" (I was trying to install firefox in arch, which didn't go through even with different mirrors).
    What should I do now to upgrade pacman?
    Last edited by matrix13 (2012-04-11 14:48:24)

    Anyone else, looking at this, look at https://bbs.archlinux.org/viewtopic.php … 3#p1086153 which suggests the above method could break pacman (but I don't understand why yet).

  • Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}"

    Hi Experts,
    We have installed UISKPI01 in SAP NetWeaver Gateway System for Fiori Analytical Apps (KPI modeler is necessary to model the KPI) but while trying to create and Save the Group, we are Getting an error in KPI Modeler as "{"customMessage":"failed to detect the sap language of the current session language","status":500}". Similarly, when we are trying to edit the existing KPI template and assigning the Variants and Evaluations, we are facing the same error as failed to detect the sap language of the current session language","status":500.
    Any idea on above error?
    Thanking you,
    ~ Mahendra

    Hello Mahendra,
    Check if you have entries in the T002 table of SAP_SSB schema.
    If not follow the steps mentioned in the admin guide of SAP Smart business to populate data.
    This should resolve this issue.
    Note: My assumption is that, you are accessing the KPI modeler in English Language.
    Thanks,
    Debasish

  • [solved]dnsutils 9.4.2-1 Error "failed to prepare transaction"

    [root@arch-01 jada]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: dnsutils: forcing upgrade to version 9.4.2-1
    resolving dependencies... done.
    error: failed to prepare transaction (could not satisfy dependencies)
    :: bind requires dnsutils=9.4.1_P1
    [root@arch-01 jada]#
    [root@arch-01 jada]# pacman -Sf dnsutils
    warning: dnsutils: forcing upgrade to version 9.4.2-1
    resolving dependencies... done.
    error: failed to prepare transaction (could not satisfy dependencies)
    :: bind requires dnsutils=9.4.1_P1
    [root@arch-01 jada]#
    what I have to do now?
    Last edited by JaDa (2007-12-24 04:11:39)

    [root@arch-01 jada]# pacman -Sy
    :: Synchronizing package databases...
    core is up to date
    extra 309.6K 277.1K/s 00:00:01 [#####################] 100%
    community is up to date
    local database is up to date
    [root@arch-01 jada]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: bind: forcing upgrade to version 9.4.2-1
    warning: dnsutils: forcing upgrade to version 9.4.2-1
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: dnsutils-9.4.2-1 bind-9.4.2-1
    Total Package Size: 3.73 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    dnsutils 1908.5K 330.7K/s 00:00:06 [#####################] 100%
    :: Retrieving packages from extra...
    bind 1914.1K 505.4K/s 00:00:04 [#####################] 100%
    checking package integrity... done.
    cleaning up... done.
    (2/2) checking for file conflicts [#####################] 100%
    (1/2) upgrading dnsutils [#####################] 100%
    (2/2) upgrading bind [#####################] 100%
    [root@arch-01 jada]#

  • [SOLVED] ERROR: Unable to find root device '/dev/sda3'

    Earlier I updated the kernel to my arch system and found this error while trying to boot. I hate to post this because there are so many topics like it, but I've been looking for hours for a solution to this problem and can't find one.
    Here is the output:
    Booting 'Arch Linux'
    root (hd0,1)
    Filesystem type is ext2fs, partition type 0x83
    kernet /vmlinuz-linux root=/dev/sda3 ro
    [Linux-bzImage, setup=0x4200, size=0x2ff2d0]
    initrd /initrd @ 0xfd17000, 0x2c878c bytes]
    Probing EDD (edd=off to disable)... ok
    Decompressing Linux... Parsing ELF... done.
    Booting the kernel.
    :: Starting udevd...
    done.
    Waiting 10 seconds for device /dev/sda3 ...
    ERROR: device '/dev/sda3' not found. skipping fsck.
    ERROR: Unable to find root device '/dev/sda3'.
    You are being dropped to a recovery shell
    type 'exit' to try and continue booting
    sh: can't access tty; job control turned off
    My partition layout is like this:
    swap: /dev/sda1
    boot: /dev/sda2
    root: /dev/sda3
    extended: /dev/sda4
    home: /dev/sda5
    I have two hard drives, but i'm sure /dev/sda is the one with my OS.
    Here are some things I've tried:
    This was at the very bottom of the pacman wiki
    # mkdir /mnt/arch
    # mount /dev/sdaX /mnt/arch (your root partition)
    # cd /mnt/arch
    # mount -t proc proc proc/
    # mount -t sysfs sys sys/
    # mount -o bind /dev dev/
    # mount /dev/sdaX boot/ (your /boot partition) #This step is not needed if you do not have a separate boot partition
    # chroot .
    # pacman -Syu udev mkinitcpio
    # mkinitcpio -p linux
    I've also tried performing the above, downgrading the kernel, updating my mirrorlist, reinstalling the kernel, and rebooting as mentioned here.
    I've alsa tried a few other things that I've read, but can no longer remember.
    Any help would be greatly appreciated! Thanks.
    Last edited by colton7909 (2012-05-25 02:09:36)

    Thank colton
    Same problem here, but on a mac book (not mine eyh )
    So, for those how have the problem (or need a live usb for mac or uefi systems),
    1) with a 32bits system
    - download gparted live cd
    - use it for the step 3
    2) with a 64bits system:
    - you need the gparted live cd too: mount it and copy the EFI directory somewhere; then umount it;
    - download a 64bits system (system rescue cd, as colton said is enough, follow the instructions for installation on their website first);
    - mount you live usb, install the 64bits system;
    - copy EFI system on the key
    - edit the grub.cfg in EFI/boot/ , add the following before the other entries:
    menuentry "System Rescue" {
    set gfxpayload=keep
    linux /syslinux/altker64 nomodeset efi
    initrd /syslinux/initram.igz
    3) repairing...
    - boot the broken computer with the live usb
    - mount the partition on which your system is (e.g. /dev/sda1 on /mnt)
    - chroot it, init the system as needed (mount /dev, /proc, etc. the easier way is using init scripts)
    % chroot /mnt /bin/bash
    % /etc/rc.sysinit
    % mkinitcpio -p linux

  • Root filesystem errors, Arch mounts it as RO, unusable system

    I dunno why, but since a little why Arch stopped working because it just stops the initscripts where it checks for filesystems.
    I'm getting at the beginning of initscripts this:
    "Using static /dev filesystem"
    Then it goes into maintenance mode after the Filesystem Check, asking for my root password, with the root filesystem mounted read-only, then it asks me to fsck it and change the superblock, however I can't do this because /dev/sda1 (my root FS) doesn't exists.
    What should I do?
    Thanks in advance

    1. when you start it will say filesystem check error and ask if you want to fix it type in your root password and press enter
    2. type mount -o -n remount,rw / and press enter
    3. type pacman -S initscripts and press enter
    4. type cp /etc/rc.local.shutdown.pacsave /etc/rc.local.shutdown press enter
    5. type cp /etc/rc.local.pacsave /etc/rc.local press enter
    6. type cp /etc/rc.conf.pacsave /etc/rc.conf press enter
    7. type cp /etc/inittab.pacsave /etc/inittab
    8. type reboot and press enter and you should be able to boot into your filesystem
    if you pacman tells you that it cant find initscripts then download the package from here:
    ftp://ftp.archlinux.org/testing/os/i686 … pkg.tar.gz
    and put it on a usb drive and mount it from inside another linux for example a ubuntu live cd
    then mount your arch root aswell and copy the initscripts-2008.02-1-i686.pkg.tar.gz to mountpoint/root/
    then go back and go from step 3 but with pacman -U initscripts-2008.02-1-i686.pkg.tar.gz
    Last edited by INCSlayer (2008-03-01 07:25:15)

Maybe you are looking for