[SOLVED] chroot to LVM filesystem with Arch Installer CD

Just a while ago, I was trying to disable KMS on my computer, as when I booted, for some reason the computer wouldn't connect to the monitor and display a picture until udev started loading modules.
I started by adding the line radeon.modeset=0 to menu.lst's kernel option line, but this only made the problem worse as the computer would then never connect to the monitor.
I couldn't blindly fix this as it would involve guessing when the login prompt was up, typing in my password, opening the editor, and finding the line in menu.lst to edit it.
So I booted up the Arch Install CD, and thought I would try the Change Root method detailed in the wiki, but realised that I didn't know how to mount the LVM filesystem, because root was contained there.
The volume group I had was absent from /dev/mapper and /dev, and the only reference I seemed to be able to find was /dev/sda2, which was listed as 'Linux LVM' under fdisk -l. I tried loading the dm-mod module with modprobe then mounting sda2, but it didn't work.
Fortunately, I had my /boot partition on a separate partition (i.e. sda1) as recommended by the wiki, so I could mount it and fix the problem anyway.
However, I need to fix this problem with KMS somehow in the future, which may require editing files outside of /boot and it may need me to know how to mount the LVM filesystem and chroot to it, so how do I do that with the Arch Installer?
Last edited by louis058 (2012-04-14 10:24:13)

jasonwryan wrote:
vgchange --available y $volgroupname
man vgchange wrote:       -a, --available [e|l]{y|n}
Controls the availability of the logical volumes in the volume group for input/output.  In other words, 
makes  the  logical  volumes known/unknown to the kernel.
Wow, thank you. I did look at 'man lvm', but I guess I wasn't looking hard enough. I'll go test it out right away.

Similar Messages

  • Prob with arch installation

    i'm trying to install arch on ancient computer (p3 )
    the prob is that the installation stuck in the part of the partitions
    i choosed the first option "Auto-Prepare" (i dont need the data on the hd)
    then i see message "formating..."(i dont remmber exactly the message)
    and that it, i wait almost 1 hour and  it's still "formating"
    maybe my hd is damage?

    If that is not too frustrating, you may try manual format with cfdisk - it's not that bad. Also you may just remove all partitions with cfdisk (you can do it in advance in another virtual terminal etc alt+ F2), write the changes and then use auto prepare. This hang, however, is quite not normal.
    It's good also to mention which install cd image do you use (like version..).

  • [SOLVED]Unable to boot eMac with Arch PPC

    Hi everyone,
    I just got into Arch and I realized there was a PPC port, so I decided to see if I could replace Ubuntu on my eMac (USB 2.0) with it.  Unfortunately, I am unable to boot, getting stuck with the loading of the second-stage bootstrap.  What should I be looking for in order to diagnose and conceivably remedy this issue?
    I get the flashing folder with an alternating Mac face and question mark.
    EDIT: Please see the link to the archlinuxppc-user mailing list for the resolution to my issue.    I hope it helps someone else.
    Last edited by bkadoctaj (2010-05-12 07:37:38)

    Hi DaNiMoTh,
    Thanks for the reply.  Well, I have just made a post at the mailing list page, so hopefully it will be approved by the moderators soon.  The situation has somewhat changed as I have attempted to reinstall Arch PPC on the eMac since then.  Now I am immediately taken to the second-stage yaboot screen at boot and I have no access to OpenFirmware.  When I use the Live CD to mount the / and /home partitions of /dev/hda, all I see in / is /home and /lost+found, while in /home all I see is /lost+found.  It appears that Arch PPC never actually installed, and I have no idea why.  I guess the files in /mnt were never copied to /.  I'm so confused by all this, but I really desire to understand what is happening and how I can get this computer up and running.  If you have any thoughts at all, please don't hesitate to share.  I'm completely willing to do some reading, but I have not seen reports of a similar situation yet.
    By the way, my eMac is 32-bit.
    Thanks,
    bkadoctaj
    EDIT: I'm not sure how I can get a log for any of this, especially since it appears the install never completed, even though nothing during the install process suggested that was the case.
    EDIT 2: Forget this thread...  The discussion has been continued over at http://groups.google.com/group/archlinu … f4b89ad2ad
    Thank you for the assistance. 
    Last edited by bkadoctaj (2010-05-11 21:45:57)

  • [SOLVED] What enabled ip_forward in my arch installation?

    Hi,
    I know the default is to have ip_forward = 0 in the kernel but somehow my system have ip_forward enabled. I couldn't figure out which application enabled it!
    % grep -r ip_forward /etc/sysctl.d || sysctl net.ipv4.ip_forward
    net.ipv4.ip_forward = 1
    Last edited by munzirtaha (2014-03-02 18:28:09)

    munzirtaha wrote:I did a systemctl disable NetworkManager and rebooted and still ip_forward = 1. It's something else. There should be a way to track which application set which value in /proc, ain't it?
    Yes. It does not have to go through sysctl. But you could replace the sysctl with a script that echo's the parent pid and then looks it up with ps or top.
    I would have no idea how to do that if it were to change it through /proc...

  • Anyone with Arch on Dell Mini 9 (Inspiron 910) ?

    As subj ask
    thanks !

    Thanks buttons. Arch installation on Dell Inspiron Mini 9 completed. Here it goes
    fs : ext4 worked fine but when Ieft on battery over night  for Syu caused most of the config and executables to disappear. reinstalled with ext3 with 4
           partitions. (root/boot/usr/home). ext3 with noatime,commit=15 option. Added 512 MB swap latter (swap in file). /var/log and /tmp in tmpfs
    sound: alsa fails at times without any reason and leaving no sign even with option in modeprobe.conf.  oss works fine.
                           for the alsa to work the google search provided the following solutions.
                           blacklist snd-pcsp. put the options mentioned in this thread and alias snd-card-0 snd-hda-intel in modprobe.conf
    WM/DE : metacity / GNOME with slim login manager.
                 : Problem faced: without any DE/WM mounting swap / var / tmp directories on 16 GB SDHC card works. but with DE/GNOME GNOME fails on
                   gconf-sanity-check-2 exited (status 256) error message. (all xml files in .gconf are tho' with right permissions). gdm issues error something
                   related to missing /var/log/gdm directory and hence switched to slim. (/var/log in temfs)
    Power saving: suspend works. even with 512 MB swap files hibernation is not working as expected.
    Networking : conventional method (network daemon) works fine for Ethernet (r8169 driver). wireless network connection yet to be tested. (wireless connection tested and working fine)
                            side note: netcfg miserably fails. network connection dropped without leaving any message.
                                 correction: The problem is not with netcfg as eth0 and eth1 are getting swaped. The
                                                  solution is to put the modules in rc.conf or creating udv rule.
    Total Installation size: aprox: 3.3 GB
    Others: bluetooth is yet to tested. web cam works as mentioned in this thread.
                              bluetooth is working fine.kernel pulls the modules but not enabled.
                              To enable use this aircraftmanger
                               Side note: for the aircraft manger to work portio needs to be installed and is in aur.
           Hope this will help the Dell mini 9 users with Arch installation.
    Last edited by kgas (2009-05-21 13:11:23)

  • [SOLVED] Luks with /arch/setup installation , fails at boot

    Hi all,
    So I tried to install arch on virtualbox with encrypted partitions (root /, /home/ and swap), but it fails at boot.
    /dev/sda1 is /boot
    /dev/sda2 is swap
    /dev/sda3 is /
    /dev/sda4 is /home
    The root partition seems to be loading fine because it asks for my password, then the boot sequence goes on, until the /home/ (apparently) :
    :: Bringing up loopback interface
    :: Unlocking encrypted volumes: chome..Usage: cryptsetup [-?vyrq] (...all the options...can't copy paste with virtualbox)
    /sbin/cryptsetup: Unknown action
    failed [FAIL]
    /dev/mapper/croot: clean, 27576/457856 files, 166316/1830898 blocks
    fsck.ext4: No such file or directory while trying to open /dev/mapper/chome
    Possibly non-existent device?
    /dev/sda1: clean,29/24096 files, 20790/96356 blocks
    [FAIL]
    It seems that it tries to open /dev/mapper/chome but it's not mounted yet
    In my /etc/crypttab, I added the lines :
    chome /dev/sda4 none luks
    cswap /dev/sda2 none luks
    /etc/fstab (I didn't change anything, /arch/setup configured it that way) :
    /dev/mapper/chome /home ext4 defaults 0 1
    /dev/mapper/croot / ext4 defaults 0 1
    /dev/mapper/cswap swap swap defaults 0 0
    /dev/sda1 /boot ext2 defaults 0 1
    And grub :
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz-linux root=/dev/mapper/croot cryptdevice=/dev/sda3:croot ro
    initrd /initramfs-linux.img
    What I wanted to do was to have swap,root and home encrypted partitions mounted at boot, but maybe it is not possible?
    I tried a lot of configurations for /etc/fstab and /etc/crypttab according to what I could find on the net but nothing worked. I read the whole tutorial https://wiki.archlinux.org/index.php/Sy … _with_LUKS but there is no config for fstab or crypttab or grub when installing with /arch/setup
    Thanks for any help !
    Last edited by John0000 (2012-04-12 12:50:18)

    Indeed you have a point, putting password in plaintext isn't very safe.
    There is a good alternative though: https://wiki.archlinux.org/index.php/Sy … _a_Keyfile
    the reason why you don't have a passphrase for root in a file somewhere is that you provide this passphrase during boot-time.
    Somewhere during boot you get the option to unlock you root device by typing in a passphrase... right?
    ro means that the volume is mounted read only http://linux.die.net/man/8/mount

  • [Solved] Boot process hangs for installed Arch and installation usb

    Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
    Loading Linux core repo kernel ...
    Loading initial ramdisk ...
    /dev/sda3: recovering journal
    /dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
    And then it hangs right there. I have to hard-reboot after this.
    I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
    I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
    I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
    sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
    sda2 - Windows 7 OS
    sda3 - ArchLinux (boot flag enabled)
    sdb1 - Ubuntu 12.10 (boot flag enabled)
    sdb2 - Just data
    I ran bootinfoscript and below is the output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    sda1: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
    sdb1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 12.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sdb2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
    /dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
    /dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/mmcblk0p1 6665-3162 vfat
    /dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
    /dev/sda2 1EE242D5E242B137 ntfs
    /dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
    /dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
    /dev/sdb2 3C2E3A4E2E3A0206 ntfs
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
    /dev/sdb1 / ext4 (rw,errors=remount-ro)
    =========================== sdb1/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 ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"
    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 recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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 [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 13,37,73; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    if [ "${recordfail}" != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    initrd /boot/initrd.img-3.5.0-21-generic
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
    else
    search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### 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 ###
    =============================== sdb1/etc/fstab: ================================
    # /etc/fstab: static file system information.
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
    =================== sdb1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    4.564525127 = 4.901121536 boot/grub/grub.cfg 1
    5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
    5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
    6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
    4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
    5.851592541 = 6.283099648 initrd.img 2
    5.851592541 = 6.283099648 initrd.img.old 2
    4.965751171 = 5.331934720 vmlinuz 2
    4.965751171 = 5.331934720 vmlinuz.old 2
    I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
    Last edited by dhavalparmar (2012-12-30 11:45:25)

    Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
    I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
    I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
    I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
    I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
    I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
    None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
    I told this to my friend who introduced me to Arch, and this is what he said:
    Damn it computers, you were supposed to be deterministic!

  • How to setup grub2 with arch linux and xen, lvm on luks

    OK, so I tried downloading this package from AUR:  https://aur.archlinux.org/packages/xen-git/ , but that has patching problems as noted in the comments.  It looks like the packagebuild sets up all the xen stuff for you, but I can't seem to get the package to install because of the error's while patching.  If anyone can point me in the right direction on what all the extra files in the PKGBUILD are for or how to debug problems with PKGBUILDs not working because of patches.
    So next I just tried to compile the latest xen from git://xenbits.xen.org/xen.git (with ./configure, make, make install) and that seemed to go fine, but I'm a bit confused:
    1.  Do I have to do any additional configuration for xen when working with arch linux?  On ubuntu I could just compile the source, update grub, and make sure to start the x services at runtime.
    2.  How do I set up grub to load xen with this setup?  Right now this is my /boot/grub/grub.cfg:
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda3:vgStorage"
    # 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"
    ~
    I've tried throwing in a line like: XEN_HYPERVISOR_CMDLINE="cryptdevice=/dev/sda3:vgStorage", but nothing new shows up on the grub boot menu.
    First time trying to set up a non-ubuntu system, please help!

    As for XEN.... well you could always try QEMU/KVM or LXC.
    As for the LVM2-on-LUKS/dm-crypt
    My /etc/mkinitcpio.conf looks like this...
    MODULES="aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect block keymap encrypt lvm2 filesystems keyboard fsck shutdown"
    /etc/defaults/grub
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root:allow-discards"
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    GRUB_TERMINAL_INPUT=console
    GRUB_GFXMODE=auto
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_DISABLE_RECOVERY=true
    The running grub config looks like this
    /boot/grub/grub.cfg
    9 insmod part_gpt
    10 insmod part_msdos
    53 if loadfont unicode ; then
    54 set gfxmode=auto
    55 load_video
    56 insmod gfxterm
    57 set locale_dir=$prefix/locale
    58 set lang=en_US
    59 insmod gettext
    60 fi
    61 terminal_input console
    62 terminal_output gfxterm
    63 set timeout=3
    84 menuentry 'Backup, Arch Linux grsec kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-grsec kernel-true-12341234-8080-8080-8080-332200882255' {
    85 load_video
    86 set gfxpayload=keep
    87 insmod gzio
    88 insmod part_msdos
    89 insmod ext2
    90 set root='hd1,msdos2'
    91 if [ x$feature_platform_search_hint = xy ]; then
    92 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    93 else
    94 search --no-floppy --fs-uuid --set=root BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    95 fi
    96 echo 'Loading Linux grsec kernel ...'
    97 linux /vmlinuz-linux-grsec root=/dev/mapper/VolGroup00-lvroot rw cryptdevice=/dev/sda2:root:allow-discards quiet
    98 echo 'Loading initial ramdisk ...'
    99 initrd /initramfs-linux-grsec.img
    100 }
    Things to note:
    Numerical UUID is the UUID of the ROOT partition.
    Alphabetical UUIS is the BOOT partition
    hd1,msdos2 AND ahci1,msdos2 are how the Grub Bootloader numbers the drives not Linux.
    I have my BOOT partition on a USB stick, and it is the Second partition.
    So, that would make it, Device 2 and Partition 2
    Device numbering starts at 0
    Partition numbering starts at 1
    Oh, and note that you don't need ":allow-discards" ... at all but certainly if you don't have an SSD. Also note that I included the line numbers so it is very clear that I didn't post the whole thing, but instead what I thought was relevant. Finally, I am loading modules that I don't even need, but what the hell... if it ain't broke, don't fix it
    Last edited by hunterthomson (2013-12-04 08:31:45)

  • Hi! I just bought Lion and I am having a problem with the installation. It keeps telling me that the computer's hard drive has a S.M.A.R.T. problem. How can I solve it?problem.

    Hi! I just bought Lion and I am having a problem with the installation. It keeps telling me that the computer's hard drive has a S.M.A.R.T. problem. How can I solve it?
    Thanks!
    Angela

    You may have a hard drive problem. When I installed Lion, the installer told me that it couldn't complete because the hard drive was failing (or broken, the exact words escape me). Since the HD had been functioning just fine, I took it to the Genius Bar, and found out that yes, the hard drive was slowly dying (bad sectors). I couldn't reboot into Snow Leopard, the installer wouldn't let me and then the drive just wouldn't work at all.
    I had to replace my drive and restore from Time Machine. Thankfully, I had Time Machine, and had just done a backup 5 minutes before the crash.
    Best of luck.

  • Dual boot with two arch installations and gummiboot

    Hi,
    I found similar topics regarding this matter, but they couldn't resolve my doubts, so I ask once again.
    I currently have an EFI partition with gummiboot and will like to add a new arch installation (to have different configurations, packages versions and repositories. I came to the conclusion that this is the cleanest way to achieve what I want). I think I could use the same partition but if I mount it on /boot there will be problems when I upgrade the kernel because it will override the image in the partition when running mkinitcpio. Maybe if I maintain both installations in sync everything would be fine, but on the long run I think this could cause problems.
    I considered to edit /etc/mkinitcpio.d/linux.preset in one of the installations to change the name of the image, thus both images could cohabit in the same partition, but I don't know if there are some cleaner way to achieve what I want.
    Thanks.

    TheSaint wrote:It'll be necessary to configure mkinitcpio to address the correct path in order that the future kernel updates will go to ther right place.
    See this for details.
    I don't think so -- the use of a bind mount means that the kernel image can go in the standard location, that's the whole point of it.
    @OP: Yes, just make sure to call the path to the respective kernel images relative to $ESP

  • [SOLVED] The terminal in the Arch installation

    I've notice that the terminal in the Arch installation has interesting features: the TAB autocompletion shows lots of information, typing a command and using up/down arrow only navigates through the history of this command... I love it. I'm using Arch with LXDE and its lxterminal does not have those features. Is it possible to install the Arch-installation terminal in LXDE? Or maybe adapt lxterminal someway? Thanks.
    Last edited by David López (2012-09-03 22:52:50)

    Background info: http://mailman.archlinux.org/pipermail/ … 02683.html
    The config it uses: http://www.archlinux.org/packages/extra … sh-config/

  • First time with Arch, minimal build: little niggles [solved]

    Ok, I've been using *Buntu based Distros for a while now, this is my first time taking the plunge with Arch - chosen because it is a build in what you want distro.
    I've wanted a minimal build install for a printserver project, this week I took the plunge with an old laptop.
    I have it doing the printserver part, but there are some minor niggles. Let me detail what I have installed and what I want it to be able to do, before I detail these.
    Arch Base install with:
    CUPS
    LXDE
    Leafpad
    Xorg Intel video drivers.
    smartmontools
    firefox
    WPA_Supplicant,as this system is to be a wireless printserver.
    What I want this system to do:
    Run most of the time in shell, no DE running. (This keeps it cool and quiet, as it is in a bedroom)
    Only run the DE when startx is called, and have the DE able to be shut down without restarting the server.
    serve printjobs from the moment it boots and connects to the wireless.
    What it currently does.
    Boot up, wait for login
    When login, require WPA_supplicant, dhcpcd and Cupsd to be initialised before it can serve printjobs.
    If DE is required, Xorg must be started in tty1, startlxde ran in tty2, and then manually switch to tty7 for the DE.=
    I have a script to call when i login which starts WPA_Supplicant, dhcpcd, and cupsd in that order.
    I would really like the interface to have a staticip but i dont know how to do that without the handy graphical tools that ubuntu provides.
    Please can you help, at least point me in the right direction with these niggles? I have learned a lot about what is required to get a basic DE up and running, and im sure with your help I will learn more.
    Last edited by Rhiadratech (2011-05-20 23:07:52)

    Ok, so I've gotten Cups and wicd autostarting, set the static ip from my router because else it wasnt getting DNS etc details and left it asking for that by dhcp.
    Still having issues with the DE
    pedro_sland wrote:
    If DE is required, Xorg must be started in tty1, startlxde ran in tty2, and then manually switch to tty7 for the DE.
    I run xfce4 sometimes. I just run startxfce4 and it starts Xorg and displays the DE. I think that startx runs twm which you probably don't want so you might want to take a look at that. startx has a script it runs somewhere (I forget where but the wiki will know). When I'm done with xfce I just log out and it exits.
    For me, this isnt working. startlxde on its own just goes to
    [root@yomiko ~]#
    in tty1, and leaves me with a blank screen when i switch to tty7
    I literally must call Xorg in one tty, startlxde in another and then manually shift to tty7 to see it.
    startx itself:
    -bash: startx: command not found
    Even Xorg isnt happy being called on its own, that too goes to a blank screen, though it does at least switch to tty7
    With Xorg called in tty1, when i call startlxde in tty2 i get dbug errors from pcmanfm though these seem to be just it informing its detected the HDD partitions.
    there is a grumble early on in the process, before the debug errors, saying:
    Importing pynotify failed, notifications disabled.
    Finally, I did add the line to .xinitrc the LXDE page in the wiki said to to allow startx to run:
    exec ck-launch-session startlxde
    This is the only line in this file.
    Currently running as root... I'm not going to complicate matters by adding a user until im sure i got it all running as root, bad practice or not!
    Edit: A friend helped me solve it.
    The package xorg-xinit held the startx script that was missing. I now get LXDE when i want and only when I want.
    Last edited by Rhiadratech (2011-05-20 23:09:16)

  • [SOLVED]Getting Dual Monitors To With Nvidia Cards Under Arch

    Just got a second monitor and I am trying to set it up to work with arch.
    I have 2 nvidia cards with 1 monitor plugged into each.
    Reading through the wiki: https://wiki.archlinux.org/index.php/DualScreen
    When I try
    xrandr -q
    after downloading and installing:
    pacman -S xorg-xrandr arandr
    I get the message:
    RandR extension missing
    So not sure what is going on here... (***EDIT: Worked after rebooting***)
    Output for:
    xrandr -q
    is:
    Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384
    DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
    DVI-I-1 disconnected (normal left inverted right x axis y axis)
    DVI-I-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
    1920x1200 60.0*+
    1920x1080 50.0
    1680x1050 60.0
    1600x1200 60.0
    1440x900 75.0 59.9
    1280x1024 75.0 60.0
    1280x960 60.0
    1280x800 59.8
    1280x720 60.0 50.0
    1152x864 75.0
    1024x768 75.0 70.1 60.0
    800x600 75.0 72.2 60.3 56.2
    720x576 50.0
    720x480 59.9
    640x480 75.0 72.8 59.9
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-3 disconnected (normal left inverted right x axis y axis)
    The above indicates, I believe, that arch is not seeing my second monitor...
    However, it does see both monitors when I plug them both into 1 card:
    Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384
    DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
    DVI-I-1 disconnected (normal left inverted right x axis y axis)
    DVI-I-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 520mm x 320mm
    1920x1200 60.0*+
    1920x1080 50.0
    1680x1050 60.0
    1600x1200 60.0
    1440x900 75.0 59.9
    1280x1024 75.0 60.0
    1280x960 60.0
    1280x800 59.8
    1280x720 60.0 50.0
    1152x864 75.0
    1024x768 75.0 70.1 60.0
    800x600 75.0 72.2 60.3 56.2
    720x576 50.0
    720x480 59.9
    640x480 75.0 72.8 59.9
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-3 connected (normal left inverted right x axis y axis)
    1920x1200 60.0 +
    1600x1200 60.0
    1280x1024 60.0
    1280x960 60.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    Since I have 2 gfx cards the card info is:
    02:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
    03:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)
    Since I am using 2 different cards I am supposed to add:
    Section "Device"
    Identifier "Screen0"
    Driver "nvidia"
    BusID "PCI:02:00.0"
    EndSection
    Section "Device"
    Identifier "Screen1"
    Driver "nvidia"
    BusID "PCI:03:00.0"
    EndSection
    To:
    /etc/X11/xorg.conf.d/10-monitor.conf
    Section "ServerLayout"
    Identifier "DualSreen"
    Screen 0 "Screen0"
    Screen 1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
    Option "Xinerama" "1" #To move windows between screens
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    Option "Enable" "true"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    Option "Enable" "true"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    Screen 0
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    SubSection "Display"
    Depth 24
    Modes "1280x800_75.00"
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    I am not clear on how to merge these two snippets together properly...
    To be honest I am somewhat confused about this whole process... If anyone has a more clear link or can explain the steps better to me I would greatly appreciate it. Maybe I just have to read through it a few more times. Thanks in advance.
    Last edited by soulrainX (2013-05-07 13:17:38)

    This is how I have it thus far:
    /etc/X11/xorg.conf.d/10-monitor.conf
    Section "ServerLayout"
    Identifier "DualSreen"
    Screen 0 "Screen0"
    Screen 1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
    Option "Xinerama" "1" #To move windows between screens
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    Option "Enable" "true"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    Option "Enable" "true"
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    BusID "PCI:02:00.0"
    Screen 0
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    BusID "PCI:03:00.0"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    SubSection "Display"
    Depth 24
    Modes "1920x1200_75.00"
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

  • [Solved (initscripts-splash plroblem)] Filesystem check failed

    Hello, my arch i686 sudently doesn't boot.
    At system start, after loading kernel, the boot process stops and says "FILESYSTEM CHECK FAILED" give root password for maintenance or control+D for restart.
    My root partition (dev/sda2) is reiserfs formated, and arch updated this week.
    After reading a while I booted with Arch install CD and tried the follwing:
    fsck.reiserfs --check /dev/sda2
    fsck.reiserfs --fix-fixable /dev/sda2
    fsck.reiserfs --rebuild-sb /dev/sda2
    fsck.reiserfs --clean-attributes /dev/sda2
    But no errors were found or fixed, so I can't boot arch yet.
    Are there any other way to fix the filesystem?
    can filesystem check be skipped?
    please help
    Last edited by juan_sck (2008-10-13 11:09:17)

    Mektub wrote:
    Could it be that it is anoter partition that is giving trouble ? Ot do you only have /dev/sda2 ?
    Or start in sinle-user. At the grub boot menu, select the option that lets you edit the kernel parameters.
    Add either a '1' or 'single' to the end of the kernel parameters, then continue booting up.
    Mektub
    of course I know where I installled Arch.
    pointone wrote:There should be a more descriptive error message above where it says "filesystem check failed" describing WHY the fsck failed.
    No, just system check failed. Even more, my filesystem was perfectly, it was a problem with initscripts-splash
    iDeJ wrote:
    i had a similar problem after the last pacman -Syu, basicly the bootsplash-initscripts are not compatible with latest udev
    maybe it helps
    http://bbs.archlinux.org/viewtopic.php?id=56604
    I don't think installing a year old initscripts package would solve it, but you were very helpful.
    Finally I could solve it with the recovery console:
    After the error message I typed root password to log in, then remounted root partition for r/w:
    mount -n -o remount,rw /
    Finally I had to remove the package initscripts-splash and install initscripts form core.
    ifconfig eth0 up
    dhcpcd eth0
    pacman -Syu
    pacman -Rs initscripts-splash
    pacman -S initscripts
    exit
    **You should make a backup of rc.conf before installing initscripts, because installing initscrips will overwrite it (and a few other files i hadn't modified), and pacman was supoussed to back it up, but it didn't
    thanks for your help.

  • Arch installation image::when will support for F2FS be added

    I'm just curious about when the installation medium will support F2FS.  I know from an installation that functionality can be installed, but my situation makes that problematic.

    Just to help even more than the above post which is really helpful.
    Quick HOW-TO install arch on f2fs filesystem with latest April.1 official live media.
    Install f2fs-tools from aur, format root partition, format boot partition, modprobe f2fs before mounting and chrooting, add f2fs in modules list in mkinitcpio.conf on installed system.
    This is one of the many ways:
    (follow arch official installation guide)
    create you partitions - you need to create boot partition!
    (Before chrooting)
    Add repo which contains yaourt to /etc/pacman.conf
    [heftig]
    SigLevel = PackageOptional
    Server = http://pkgbuild.com/~heftig/repo/$arch
    Install required dependencies (maybe I've missed some) and yaourt
    sudo pacman -Syy
    sudo pacman -S autoconf automake make gcc binutils yaourt
    Install f2fs-tools finally
    yaourt -S f2fs-tools
    Load kernel  module
    modprobe f2fs
    (in case your root partition is /dev/sda1 and boot partition is /dev/sda2)
    create root partition as f2fs filesystem
    mkfs.f2fs /dev/sda1
    and boot partition as ext4 (or whatever you want)
    mkfs.ext4 /dev/sda2
    mount, install and chroot as per official installation guide
    add f2fs to modules section (should be empty) in /etc/mkinitcpio.conf
    remove fsck from hooks section (since f2fs doesn't have fsck yet)
    re-generate the initramfs image
    mkinitcpio -p linux
    after you're done with everything, reboot and voila, there you have it.
    Here are some benchmarks for those interested
    http://www.phoronix.com/scan.php?page=a … 9_fs&num=1
    Everything is very fast but I can't compare my view of performance to other filesystems since this is my first SSD.
    Last edited by pkoretic (2013-04-17 19:38:03)

Maybe you are looking for

  • Finger print reader not working - file PSQLPWD.DLL

    Hi, I need some help, I run an spyware and detected the file PSQLPWD.DLL and renamed it as PSQLPWD.DLL.VIR.VIR and deleted it. After that I was not able to use th finger print reader. I read that that file is part of the is part of Thinkvantage longo

  • Disk Utility not working under cmd R mode

    I upgraded my OS to 10.8.2. After doing so, when I do my normal system backup with Disk Utility, the system goes into sleep mode and the backup stops. I've done this many times in the past so I am not new to this.  I've read a few articles/posts with

  • Esso Agents 11.1.1.2.0 with Legacy Logon manager and PG

    Hi I have many applications that fail on single sign-on.Although the eso services are started I have many pcs having to be re-installed because of esso not working. I have tried the troubleshooting methods on repair and un/re-installation of the esso

  • What services do employee discounts get applied to?

    So I just found out my job enables me to get an 18% discount for my bill. It says that the 18% discount is for "eligible services". Anyone know what services are eligible? Will it just be 18% of my total bill? Thanks.

  • Scanner Driver/Sofware for HP 1315 All in One on a Windows 8.1 system

    Since I've up grade to a new computer with Windows 8, life has been VERY hard on on my HP 1315 All in One.  I've final found the pritner driver but the scanner is not functioning - Where do I find a driver/software download. Don't tell me a need a ne