Arch linux installed on LVM won't boot

My hard disk has only 1 partition.
I created 1 volume group and 1 logical volume on it.
my fstab looks like this:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# UUID=7e4cc742-0eda-4a69-8357-4b769cd51520
/dev/mapper/vg000-lv000 / ext4 rw,relatime,data=ordered 0 2
I configured /etc/mkinitcpio.conf as following and ran mkinitcpio -p linux again:
MODULES="dm_mod"
HOOKS="base udev usb lvm2 filesystems"
After installation, I rebooted the system, selected the 1st entry in grub menu, the screen shows:
Loading Linux core repo kernel ...
Loading initial ramdisk ...
then the following errors occured:
ERROR:device '/dev/mapper/vg000-lv000' not found. Skipping fsck.
ERROR:Unable to find root device 'dev/mapper/vg000-lv000'
Could anybody please help?
PS: I then rebooted to arch-linux using cd, I noticed that /dev/mapper/vg000-lv000 was not there. I had to use vgchange -ay vg000 to make it appear. Could this be related to the ERRORS?
Last edited by whudwl (2012-11-23 08:14:47)

Is your hard disk attached via usb?  If not, you did not have the proper modules for the intramfs to access the hard disk itself.  You had it set up so that it could boot from a usb device, but not an internal device.  You should have read the comments for each of those examples.  It explains pretty cearly what each example would be used for.
Edit: I use lvm and my mkinitcpio.conf HOOKS line looks like this:
HOOKS="base udev autodetect sata lvm2 filesystems fsck timestamp"
My SSD's are connected via SATA III, the lvm2 hook is obvious, the filesystems load the ext4 module (all filesystems are ext4), fsck adds fsck and fsck.ext4, timestamp makes 'systemd-analyze' able to tell you how long it takes the initramfs and kernel to load individually instead of together.  base should always be there, and first (unless you really really know what you are doing), udev adds... udev, and autodetect tries its best to strip everything you don't need for your particular system.
For info on a paritcular hook, use the -H option with mkinitcpio. (ie. 'mkinipcio -H lvm2').  There is also a fantasticlly informative wiki page about mkinitcpio.
Last edited by WonderWoofy (2012-11-26 03:44:40)

Similar Messages

  • [VIDEO TUTORIAL] Installing Arch Linux on GPT/LVM/GRUB2

    Hello everyone,
    I've recently switched over from running my machine on LVM with a MSDOS partition style, and I was tired of the limitations of it. Such as 4 primary partions or 3 primary and 1 extended. It was also hindering my flexibility since I had to make 1 primary partition that was /boot, which forced me to make an initram image if I wanted to put my / inside of the LVM. The only way I could truly fix all my problems was to move away from GRUB-Legacy (Which I love since it's so easy to configure) over to GRUB 2(Which is not as bad as I thought it was).
    I made this video to help people trying to do this combination. I also included the links to further information in the videos' description. It contains a link to GRUB 2 Architecture and moving over to GRUB (on IBM's site), and also ArchWiki resources for further reading.
    I hope you enjoy it.
    http://www.youtube.com/watch?v=69X9ZYA41xU
    After you finish doing this, you will end up with this style:
    GPT Partition Layout w/ Protective MBR.
    /dev/sda1 - BIOS Boot Partition
    /dev/sda2 - Linux LVM (arch is name of LVM)
    --> /dev/arch/boot - ext2
    --> /dev/arch/swap - swap
    --> /dev/arch/root - ext4
    --> /dev/arch/home - ext4

    As a complete newbie to partitioning on Linux I'd like to say how grateful I am to for making this.
    You've kept it clear, clean and simple which I appreciate.
    As most of my ventures into installing Linux is usually accompanied with a graphical installer a great deal of this is fairly alien. It could be nice to have a wiki entry just laying out a few examples for partitioning and setting up arch in various simple and exotic ways.
    Again, thank you for this contribution. (While I quickly transcribe the steps in your video and ready the 'man' command)
    Edit:
    Basic step by step transcription
    [root@archiso ~]# modprobe dm-mod
    [root@archiso ~]# dhcpcd
    [root@archiso ~]# pacman -Syy gptfdisk
    [root@archiso ~]# gdisk /dev/sda
    GPT fdisk (gdisk) version 0.8.1
    Partition table scan:
    MBR: not present
    BSD: not present
    APM: not present
    GPT: not present
    Creating new GPT entries.
    Command (? for help): [n]
    Partition number (1-128, default 1): [RETURN]
    First sector (34-[max], default = 34) or {+-}size{KMGTP}: [RETURN]
    Information: Moved requested sectory from 34 to 2048 in
    order to align on 2048-sector boundries.
    Use 'l' on the experts' menu to adjust alignment
    Last sector (2048-[max], default = [max]) or{+-}size{KMGTP}: [+32MB]
    Current type is 'Linux filesystem'
    Hex code or GUID (L to show codes, Enter = 8300): [EF02]
    Changed type of partition to 'BIOS boot partition'
    Command (? for help): [n]
    Partition number (2-128, default 2): [RETURN]
    First sector (34-[max], default = 67584) or {+-}size{KMGTP}: [RETURN]
    Last sector (2048-[max], default = [max]) or {+-}size{KMGTP}: [RETURN]
    Current type is 'Linux filesystem'
    Hex code or GUID (L to show codes, Enter = 8300): [8E00]
    Changed type of partition to 'Linux LVM'
    Command (? for help): [w]
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!!
    Do you want to proceed? (Y/N): [y]
    OK: writing new GUID partition table (GPT).
    The operaton has completed successfully.
    [root@archiso ~]# pvcreate /dev/sda2
    [root@archiso ~]# vgcreate arch /dev/sda2
    [root@archiso ~]# vgdisplay
    [root@archiso ~]# lvcreate -L 100M -n boot arch
    [root@archiso ~]# lvcreate -C y -L 1G -n swap arch
    [root@archiso ~]# lvcreate -L 10G -n root arch
    [root@archiso ~]# lvcreate -l 100%FREE -n home arch
    [root@archiso ~]# lvscan
    [root@archiso ~]# mkfs.ext2 /dev/arch/boot
    [root@archiso ~]# mkfs.ext4 /dev/arch/root
    [root@archiso ~]# mkfs.ext4 /dev/arch/home
    [root@archiso ~]# mkswap /dev/arch/swap
    [root@archiso ~]# /arch/setup
    Prepare Hard Drive
    3 Manually Configure block devices, filesystems andmountpoints
    Partition Access Method
    dev directly by /dev/* (most intuitive but devicefile names can change
    Manage Filesystems
    /dev/sda1 raw - 32MiB N
    /dev/mapper/arch-boot raw - 100MiB N > [IGNORE]
    /dev/mapper/arch-home raw - 91000MiB N > filesystem (re)created? [NO] > ext4 home
    /dev/mapper/arch-root raw - 10240MiB N > filesystem (re)created? [NO] > ext4 root
    /dev/mapper/arch-swap raw - 1024MiB N > filesystem (re)created? [NO] > swap
    Choose bootloader
    [SKIP]
    Configuration
    mkinitcpio > HOOKS="...lvm2..."
    DONE
    Exit
    [root@archiso ~]# mount -o bind /dev /mnt/dev
    [root@archiso ~]# mount -t proc /proc /mnt/proc
    [root@archiso ~]# mount -t sysfs /sys /mnt/sys
    [root@archiso ~]# chroot /mnt /bin/bash
    [root@archiso /]# dhcpcd
    [root@archiso /]# pacman-db-upgrade
    [root@archiso /]# pacman -Syy grub2-bios
    [root@archiso /]# grub_bios-install --boot-directory=/boot --no-floppy --recheck --debug /dev/sda
    [root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg
    [root@archiso /]# exit
    [root@archiso ~]# reboot
    login
    [root@host ~]# $EDITOR /etc/default/grub
    #GRUB_GFXMODE=auto
    #GRUB_GFXPAYLOAD_LINUX=keep
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    [root@host ~]# chmod -x /etc/grub.d/10_linux
    [root@host ~]# $EDITOR /etc/grub.d/40_custom
    menuentry "Arch Linux" {
    insmod lvm
    set root=(arch-boot)
    linux /vmlinuz-linux root=/dev/arch/root ro
    initrd /initramfs-linux.img
    menuentry "Arch Linux Fallback" {
    insmod lvm
    set root=(arch-boot)
    linux /vmlinuz-linux root=/dev/arch/root ro
    initrd /initramfs-linux-fallback.img
    [root@host ~]# grub-mkconfig -o /boot/grub/grub.cfg
    [root@host ~]# reboot
    Last edited by Earnestly (2012-01-09 11:51:45)

  • Computer freezes before BIOS after arch linux install

    This is my first time installing arch linux, I followed the beginners install guide word for word. However, after the install, my computer gets stuck before the BIOS. It identifies the RAM, GPU, and harddrive (all Diagnostic lights are ok on my MOBO). Before the install it booted fine, but now when I boot it up it wont go to the BIOS screen no matter how many times I press delete. However, when I remove the harddrive it boots to the arch linux install screen on my USB drive perfectly.
    I know it is not my hardware because I did many different tests (mem-test, swapped out harddrives, tried 1 stick of RAM in different slots, etc). More importantly, my harddrive is brand new so I know it isn't dead because I could partition it when I was installing arch linux.
    Computer specs:
    AMD Athlon 64 Processor 3700+
    DFI LANPARTY nf4-d
    ATI Radeon x800
    2 GB DDR RAM
    160 GB SSD
    I have no idea what the problem is, I must have screwed something up with the bootloader or something. Any help would be appreciated. Thanks.

    Try clearing the CMOS settings either by removing the motherboard battery for some minutes or by using the relevant jumper on the motherboard. Check the manual of your motherboard for details.
    Last edited by Foucault (2013-07-03 16:19:41)

  • My MacBook Pro has 10.5.8 but came with 10.5.7 install disc and won't boot up and can't reinstall

    My MacBook Pro has 10.5.8 but came with 10.5.7 install disc and won't boot up and can't reinstall.
    the disc is spinning and I see the apple on the screen with the spinning gear and after a while it just turns off OR the few times it does get past that point when I go into disc utility it tells me that it can not install on this machine!
    It's driving me crazy, please help!!!

    Welcome to the Apple community.
    I'm not entirely sure I follow you here, home sharing comes with iTunes 10.2, so far as I am aware even iTunes 10.6.1 only requires OS X 10.5.8 or better. On that basis I'm not sure why you think you have a problem.

  • Official Arch Linux Install Guide needs edit

    Aloha,
    This line in the Official Arch Linux Install Guide
    Official Arch Linux Install Guide
    dd if=archlinux-XXX.img of=/dev/sdX
    Needs to be changed too
    dd if=archlinux-2010.05-{core|netinstall}-{i686|x86_64|dual}.iso of=/dev/sdx
    Mahalo

    Hum, well I don't know how to write a git patch. I guess it would be a good thing to learn though, but I have to go to bed now.
    Hum..., after further looking at the this forums section I guess I posted in a totally wrong place Live and learn.
    Last edited by hunterthomson (2010-05-26 13:16:47)

  • Installing Arch Linux on USB key: error while booting

    Hello,
    first of all, I must say I've followed the steps from this article on arch wiki to install archlinux on my USB key: https://wiki.archlinux.org/index.php/In … _a_USB_key
    So what I did is to use one of my 2 usb keys to INSTALL linux, and the second one to RUN linux. I used dd to write on the 1st usb, eveything worked fine when booting, then I do install arch on the my second usb following the stept from the link above, everything works until I get this error while booting (at the middle):
    Waiting 10 seconds for device /dev/sdc/
    Root device '/dev/sdc' doesn't exist. Attempting to create it.
    ERROR: Unable to determine major/minor number of root device '/dev/disk/by-uuid/lotsofnumbers'
    You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
    /bin/sh: Can't contact tty; job control turned off
    [ramfs /]#
    To summarize I'll show you my conf files that could help you to resolve my problem:
    /etc/fstab.conf
    /dev/sdc1 /boot ext2 defaults 0 1
    /dev/sdc2 / ext3 defaults 0 1
    /dev/sdc3 /home ext3 defaults 0 1
    So here I've sdc1 boot 32MB partition; sdc2 root 3GB partition; sdc3 home 978MB partition for a total of 4GB USB key~
    I didn't make a swap partition as in the tutorial they are writing it's unnecessary for some kind of reasons.
    /etc/mkinitcpio.conf
    HOOKS="base udev usb autodetect pata scsi sata filesystems"
    I've added to here, "usb" to the hooks
    installed GRUB on my sdc, here is the menu.ist:
    # (0) Arch Linux
    title Arch Linux (USB)
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sdc ro vga=773
    initrd /kernel26.img
    So, I boot GRUB without problems, start Arch Linux, but then I got this error above.
    I've searched alot on some forums and read many stuffs, but sitll can't fix it and it seems complicated.
    I've tried to boot with UUID, also, but didn't make difference. I tried to remove some parameter from the hooks, but unfortunately this wasn't working still. I've read somewhere to use chroot, but I didn't catch on how to do that and what was the use of chroot, I'm still noob user of arch linux and currently learning. Maybe it's the problem, as some forum were talking about creating a new image, but I still don't know how to make it. By the way, I'm not sure this could have fixed my current problem. I've also read somewhere it could be due to my lack of space, but I wrote you how I did partition my USB key, let me know if you have any suggestion please.

    1. What I did is re-installing entirely from my installation disk or USB to test out different setting in  my config files, because I don't know how to edit my .conf as I can't really finish to boot to the end and get in terminal mode? If there is a quicker way to edit files from any terminal to go into my current USB sdc to modify directly my file from there, I'd enjoy probably. So rebuilding the initpio, no, I just re-installed to test out different configs.
    2. Yes, same error.
    3. Tested out by-id/by-path and uuid = no difference
    4. Didn't know about larch, it seems to be a nice tool, I'll check it out

  • Installing Arch Linux after Windows 7 64bit dual boot

    Total noob here ^^
    Im trying to install Arch Linux after my installation of Windows 7, without fucking up that one...
    I freed up 50GB and removed it from my Windows boot partition, so Arch can be installed there, I have almost absolutely no experience with this kind of stuff since I've only used Ubuntu and Kali Linux before.
    I've got a working arch image on my usb stick and i somehow can't figure out, how to install it without touching the existing partitions.
    Is it possible to create a working dual boot, without changing my windows configuration?

    yes its possible. What research have you done in order to install Arch. We do not hand hold here in this community. Go read up the appropriate wiki pages and ask specific questions with details in case you get stuck.
    Start with the Beginners Guide.

  • X server won't start (Arch Linux installed on USB key)

    Hi,
    I installed Arch Linux on a USB key (see the original thread: https://bbs.archlinux.org/viewtopic.php?id=185441).
    The problem is that X doesn't start on all machines.
    When starting the system on a machine with NVIDIA GTX 560Ti graphics card:
    - X doesn't start using startx or xinit and there are no log entries in /var/log/Xorg.*.log (as I haven't tried to start X).
    - I'm getting the message "Waiting for X server to begin accepting connections .. .. .. ..".
    - Additionally: The "default terminals tty1/2/3/..." (which I'm using to start X) from have a poor resolution (I think 640x480 pixel).
    When starting the system on a virtual machine or a machine with an ATI Radeon (mobile) graphics card:
    - X starts and runs without any trouble the XFCE desktop environment.
    - Additionally: The default terminals have a proper resolution (I think the maximal resolution of the display).
    What happens if you uninstall nvidia and use nouveau?
    I installed all video drivers recommended here: https://wiki.archlinux.org/index.php/In … eo_drivers
    So I was using nouveau in the first place. I already tried to uninstall the open source driver (xf86-video-nouveau, nouveau-dri) to use the default driver (I think this is xf86-video-vesa) with no effect.
    The poor tty resolution is to be expected if the closed-source nvidia drivers are installed, because they don't support KMS.
    I have never tried to install the proprietary driver (and actually don't want to use the proprietary driver).
    Also have you looked in /etc/X11 ?
    Yes. I don't think that my configuration contains anything preventing X from starting using the NVIDIA graphics card (but I'm not sure what to look for).
    I'm starting X using "startx" or "xinit -- :0 -nolisten tcp vt$XDG_VTNR". Here's my ~/.xinitrc:
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    exec startxfce4
    Last edited by The Infinity (2014-08-14 21:17:41)

    I figured out where the problem comes from. It is actually the screen (which has a resolution of 1920x1080 pixel). When using a screen (with a smaller resolution) I'm getting a decent resolution in the terminal and - more imporant -  X starts and seems to use the Nouveau driver (which I have installed again). When plugging my normal screen again (while X is running) I'm able to use this screen with the maximum resolution without problems (so only starting with this screen does not work). Now I have a reference point to fix the problem.
    The other thread might be interesting as well.
    Last edited by The Infinity (2014-08-17 02:36:57)

  • [SOLVED]Arch Linux, and Windows 8.1 Dual Boot issue

    Hi guys. I recently bought a new laptop, and decided to run Arch Linux and Windows 8.1. I installed Windows 8.1 first as recommended by the beginners guide, and then installed Arch Linux. I made sure UEFI was enabled in my BIOS, and made sure everything was on a GPT partition. The install itself went fine. My laptop loads grub, and Arch Linux shows up and boots, but there is no option to boot into Windows 8.1. The only way I can boot into Windows 8.1 is by accessing my motherboard, and choosing to launch the windows boot manager instead of the grub launcher. How can I get Windows 8.1 to show up in grub? Thanks in advance guys.
    Last edited by Painguy (2014-08-20 20:19:37)

    Painguy wrote:
    -----------Edit------------------
    Yeah just ran this after installing os prober
    grub-mkconfig -o /boot/grub/grub.cfg
    and it works now. Sorry for the crazy posts guys. Thanks for the suggestions and help.
    Yeah I'm sure I'm doing something wrong lol. I did not install OS-Prober. I think that's where the issue is. I'm missing the menu entry in grub.cfg right? Do I just run os prober or do I have to manually edit grub.cfg.
    If that's not the case then here is what I did up until now. What I did was start with a blank SSD drive. I used cgdisk to make the disk use a GPT partitioning scheme. I installed windows 8.1 and checked in windows to make sure it boots into UEFI-GPT mode and it does.  I then installed arch linux using the beginners guide. I made sure to use cgdisk to create any extra partitions, and installed GRUB to the efi partition that windows had created ( I did not format this partition ). I then finished the installation and rebooted, and Grub only shows arch linux. I don't think I'm dealing with anything MBR related. I made sure I used the GPT partitioning scheme....i think lol.
    All you need to do is run os-prober then run grub-mkconfig. It should pick up Windows at that point.

  • 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)

  • [SOLVED] Arch freezes after scanning LVM VGs at boot

    Hi there,
    recently ArchLinux started printing some udev errors at boot. After an update the system freezes at startup after detecting the LVM volume groups (3 lvm volumes found in volume group "Laptop" or something similar).
    This is my hard disk configuration:
    0 - 200MB, ext2, /boot
    1 - 100MB, NTFS, $something that belongs to Windows
    2 - 50GB, NTFS, Windows 7
    3 - Extended
    4 - 100GB, NTFS, data
    5 - 150GB, lvm
    5.1 - swap
    5.2 - root, jfs
    5.3 - home, jfs
    If you need more informations just ask me for them.
    Thanks in advance.
    Last edited by turlando (2012-05-01 12:35:41)

    Exactly same problem here. today's update has freezed my Arch linux and it gets stuck after detecting the LVM groups (5 lvm volumes found in volume group data in my case).
    Just run a "pacman -Syu" and restarted system today 30/04/2012.
    thanks in advance
    (posting message from my windows 7 installation)

  • Trouble with a wired connection on my fresh Arch Linux Install

    I am a new Arch Linux user. I used to use Ubuntu exclusively, but I'm to the point where I can no longer stand a lot of the issues with the new development and Canonical. Anyways....
    I have a Dell Inspiron 1440 laptop with an RTL8110SC (Module R8169) Ethernet port. (Pardon me if my terminology is wrong; please correct me if it is so I can learn? ) During the install process with the CD that I made, I had no issues connecting to the Internet. However, whenever I boot into my install, there is no connection. I've tried pinging various web pages and nothing will happen. I know that my hardware is compatible, but I do not know what to do next. I've tried everything under the Wiki's Beginner's Guide and the Network Configuration Guide.
    I just realised after I wrote this top portion that it no longer is connecting via CD, either. Pinging is giving me errors about no packets being received.
    Please help me with this matter? I would love to start using Arch Linux!

    Ping is a very basic command that is fundamental to debugging networks at the lowest levels.
    ewaller@odin:~ 1002 %ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=42.7 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=50 time=36.7 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=50 time=36.8 ms
    ^C
    --- 8.8.8.8 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2003ms
    rtt min/avg/max/mdev = 36.721/38.782/42.768/2.819 ms
    ewaller@odin:~ 1003 %
    What we can tell so far..
    You have an Ethernet Interface.
    You have an Ethernet Address.
    You cannot look up domain names (bad)
    We are trying to see if you can see other computers if you know their address.  This will tell us if it is a DNS or a routing problem
    Last edited by ewaller (2012-10-26 22:58:32)

  • Need help with arch linux install!

    Hello, let me start off by telling you about the predicament I'm in at the moment. I've been trying to install arch linux on with a cd-drive that has been failing for a little over a year now, so you can already see where my problem starts!  The cd-drive, however will work with such cd's as Windows, Ubuntu, and Slackware, which I'm happy with. Yet, archlinux doesn't work so much.
    And now maybe my solution. I've got a usb cd drive, that I've had laying around that works well, just not well enough for my bios to be able to boot from; which is horrible I know. I've searched the bios for loading a usb cd drive and everything else, including google so I don't think I'm going to get anywhere with that one. Anyways what I'm thinking of doing is that when archlinux is in the terminal right before you type the "/arch/setup" command, I would like to know if there is any command that allows you to change the cd it boots the cd from to go right into the installation. I'm still working on easying my out of the newbie stage of linux at the moment, but I've never run into a command like that, that would help me out. Hopefully there is one though, because I would very much like to archlinux to work, so please respond! Right now I'm running elinks through the terminal right before you type "/arch/setup". Thanks!

    loosec wrote:
    So you get through the boot process just fine then on your old CD drive. The only thing you should have to do after that is to throw your CD into the USB CD drive and proceed with the installation. The installer should then ask you what CD drive you would like to use when you choose install from CD.
    Another way to do it would be to switch cd like above and then manually mount your /dev/[your_usb_cd_here] on /src. The installer then has to be pointed to this place as the source of your installation. To find out what your usb cd drive is called you should unplug it, then replug it and run: dmesg
    The mount command might also need to be shown that this is a cd so:
    mount -t iso9660 /dev/[usb_cd_device_name] /src
    should do the trick.
    If you really want to learn more of what the installer does (and fail installing a few times) you should also check out the command
    /arch/quickinstall
    If your Internet connection is up for it, it seems like you could just choose an FTP install instead.
    Goodluck!
    Once the CD is removed from the drive that it was booted from. the installation will not continue, as the arch install always goes back to the boot drive to continue read the neccessary information for the install. I do not think there is a way to fool the computer into booting from one cd drive and then continueing on with another. To do this you would have to tell the computer that you are switching drives.
    If you can boot up the CD kernel and get to where you type in /arch/setup then the next thing I would od is FTP install. That would limit your CD rom drie usage.
    There is also a way to install arch from within another distro, EVEN ANOTHER LIVECD! <-- this may be your best bet. Check the wiki, there is tons of information there.
    Last edited by rooloo (2008-08-16 12:32:00)

  • [SOLVED] Arch Linux install on UEFI motherboard (Asus UX31A)

    Hello all,
    I am new to Arch Linux (moving over from Mint) and I am having an enormous amount of trouble with booting for UEFI.  I go through all the command line installation steps and get to the step where you install and configure a bootloader.  I have followed everything step-by-step up and cannot seem to get anything to boot, I get the motherboard settings menu instead.  I've tried GRUB, rEFInd, and Gummiboot and all three have not worked for me.  Is there any hope for configuring a bootloader?  I am used to Mint/Ubuntu creating it for me.
    Thanks
    Last edited by somedood (2013-06-09 13:23:51)

    srs5694 wrote:It shouldn't matter from where you launch the EFI shell, although that will affect device names. If you boot a USB flash drive with an EFI shell on it, chances are fs0: will be the USB flash drive itself. Your rEFInd, though, should be installed on your hard disk, and therefore on another device -- probably fs1:, although it could be fs2:, fs3:, or some other number. If the only filesystem you can find is fs0:, then that indicates something is wrong with your hard disk setup -- perhaps your ESP's filesystem is damaged, or maybe there's something wrong with the partition table.
    I followed the steps in the beginners installation guide to create my file system starting with:
    cgdisk /dev/sda1
    I create 4 Linux filesystem partitions with this, then I run:
    mkfs.vfat -32 /dev/sda1
    mkfs.ext4 /dev/sda2
    mkfs.ex4 /dev/sda3
    mkswap /dev/sda4
    I then toggle the boot flag of my FAT32 formatted ESP (/dev/sda1):
    parted
    toggle
    1
    boot
    if it is not turned on according to the output of:
    parted
    print
    After that I mount the drives and turn swap on:
    mount /dev/sda2 /mnt
    mkdir -p /mnt/home
    mount /dev/sda3 /mnt/home
    mkdir -p /mnt/boot/efi
    mount /dev/sda1 /mnt/boot/efi
    swapon /dev/sda4
    I install my base system (without changing /etc/pacman.d/mirrorlist) by running:
    pacstrap -i /mnt base
    Finally I generate my fstab after the Arch installation:
    genfstab -U -p /mnt >> /mnt/etc/fstab
    I then check the fstab and I get the result from my previous post and according to the guide it is ok because everything but my root partition has a 0 or 2.
    somedood wrote:# /dev/sda2
    UUID=264fe719-b816-462d-af5b-1b76c73a875b     /     ext4     rw,relatime,data=ordered     0     1
    # /dev/sda3
    UUID=824c5b36-6bf3-4c66-8878-5c886dadc9dd     /home     ext4     rw,relatime,data=ordered     0     2
    # /dev/sda1
    UUID=49B1-AE7E     /boot/efi     vfat     rw,relatime,fmask=0022, dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro     0     2
    # /dev/sda4
    UUID=426143bf-0cb4-4b7e-8868-e82d6fe7bd8b     none     swap     defaults     0     0
    To clarify, sda2 and sda3 are my root and home partitions respectively, sda4 is my swap, and sda1 is my ESP.
    What could have gone wrong here?  This is quite frustrating to me and I really want to use Arch.

  • Why arch linux install media is so big?

    Hi all,
    Yesterday I installed arch linux in my PC. My very first learning/questions regarding arch linux:
    * Why is the install media 650 MB(so big) iso, when it doesnt contain any packages?
    * From the https://wiki.archlinux.org/index.php/Installation_guide page,
       Download
    Download the most recent Arch Linux installation ISO image from the Arch Linux download page: this is a hybrid image that allows booting into an x86_64 or i686 live system, depending on the system's architecture and the user's choice.
    Why the most recent Arch Linux installation ISO? The ISO which is downloaded one year before also will install the latest linux right because everything is downloaded from internet?
    Can anyone please explain what is special about new install media??
    Thanks
    Mario

    Mariappan wrote:
    Download the most recent Arch Linux installation ISO image from the Arch Linux download page: this is a hybrid image that allows booting into an x86_64 or i686 live system, depending on the system's architecture and the user's choice.
    Why the most recent Arch Linux installation ISO? The ISO which is downloaded one year before also will install the latest linux right because everything is downloaded from internet?
    While you are correct that a netinstall will indeed install the latest linux version, it does not mean that an old install medium will boot on the newest hardware, or is up to date with the latest Arch specific packages etc. Using an old installation image can mean that your hardware is not supported, old bugs are included or that you are not at all able to install Arch because of outdated Arch specific packages on the install medium.
    The install medium is merely a specific set of packages combined together in an image, not a special project to install Arch (you can install all packages via pacman). It needs updating, just like a regular Arch install.

Maybe you are looking for

  • To_number function doesn't work with apex_collections in where clause

    One of my applications I have been using apex_collections and to_number function in the where clause. Since we upgraded apex to version 3.0.1 , it gives the invalid number error. Is this a bug in the new Version. I had to re-write the logic to fix th

  • No airplay or mirroring on 2013 Macbook Pro Retina

    After searching forums and the web for days I still have not found an answer so here by an independent post: My MBP Retina shows no airplay icon and devices not available under Preferences>Display When trying to connect Apple tv to iTunes library, it

  • What's the details of the return data after calling Application.RegisteredFunctions?

    Application.RegisteredFunctions returns 3 columns. The last column is described as "Strings specifying the data types of the return values, and the number and data types of the arguments". Does anybody know the details of it? Is there a table showing

  • Cant download new itunes.  get error 127

    my computer updated and loaded the new itunes.  when i try to open it i get a long message error and it says itunes was installed incorrectly.  please reinstall.  error 7 (windows error 127). ive tried reinstalling it with the same errors

  • Automatic posting (user-exit, BADI, BTE...)

    Hello, saperos (as we are known in Spain). We have a requirement from our customer in order to post automatic documents (with call transaction or BAPI) just after the posting of another. I have doubts about the mechanism to do this, maybe a BADI, BTE