[solved] Can't boot with LVM and usb external disk

I successfully installed Archlinux on my first computer, using LVM on two internal Hard Drives.
I'm trying to do exactly the same on my second computer, but I got a problem: the LVM volume is not found at boot, so that the root partition can't be mounted and the boot fails.
The only difference is that, on my second computer, the second hard drive is connected through USB.
Some hints: my second computer boots perfectly with LVM and Ubuntu. Archlinux needs to be configured adequately.
I tried to add rootdelay=30 in menu.lst, but it changes nothing. Of course, in /etc/rc.conf I have USELVM="yes" and in /etc/mkinitcpio.conf I have HOOKS="base udev autodetect pata scsi sata keymap lvm2 filesystems"
Thank you for helping me to keep Archlinux on my second computer!
Last edited by Achille (2008-06-29 21:59:09)

I finally solved my problem!
In the file /etc/mkinitcpio.conf, I modified the MODULES loaded:
MODULES="pata_acpi ata_generic ata_piix usbcore usb_storage uhci_hcd ehci_hcd sg scsi_mod sd_mod dm_mod"
I also add in the file /lib/initcpio/hooks/lvm2 the line /bin/sleep 10
/bin/sleep 10
msg "Scanning logical volumes..."
And finally, I ran the command:
mkinitcpio -p kernel26

Similar Messages

  • [SOLVED] system not booting with LVM root and systemd

    hi everyone ,
    I've update my arch installation and performed the upgrade to systemd , and after that the system is not booting , it brings me to a recovery shell .
    the root FS is on LVM , and everything under /dev/mapper is missing .
    journalctl -xb -p err show me this error :
    -- Logs begin at Tue 2013-05-28 21:14:18 CEST, end at Tue 2013-07-23 19:29:38 CEST. --
    Jul 23 19:29:35 elminster systemd[1]: Timed out waiting for device dev-mapper-VolGroup00\x2dhome.device.
    -- Subject: Unit dev-mapper-VolGroup00\x2dhome.device has failed
    -- Defined-By: systemd
    -- Unit dev-mapper-VolGroup00\x2dhome.device has failed.
    -- The result is timeout.
    Jul 23 19:29:35 elminster systemd[1]: Dependency failed for /home.
    -- Subject: Unit home.mount has failed
    -- Defined-By: systemd
    -- Unit home.mount has failed.
    -- The result is dependency.
    Jul 23 19:29:35 elminster systemd[1]: Dependency failed for Local File Systems.
    -- Subject: Unit local-fs.target has failed
    -- Defined-By: systemd
    -- Unit local-fs.target has failed.
    -- The result is dependency.
    Jul 23 19:29:35 elminster systemd[1]: Dependency failed for /home/andrea/DropBox.
    -- Subject: Unit home-andrea-DropBox.mount has failed
    -- Defined-By: systemd
    -- Unit home-andrea-DropBox.mount has failed.
    -- The result is dependency.
    Jul 23 19:29:35 elminster systemd[1]: Dependency failed for File System Check on /dev/mapper/VolGroup00-home.
    -- Subject: Unit systemd-fsck@dev-mapper-VolGroup00\x2dhome.service has failed
    -- Defined-By: systemd
    -- Unit systemd-fsck@dev-mapper-VolGroup00\x2dhome.service has failed.
    -- The result is dependency.
    Jul 23 19:29:35 elminster systemd[298]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
    -- Subject: Process /bin/plymouth could not be executed
    -- Defined-By: systemd
    -- The process /bin/plymouth could not be executed and failed.
    -- The error number returned while executing this process is 2.
    here the relevant section of the /etc/fstab
    /dev/mapper/VolGroup00-arch_i686_root / ext4 defaults,noatime,nodiratime 0 1
    /dev/mapper/VolGroup00-home /home ext4 defaults,noatime,nodiratime 0 2
    /dev/sda1 /boot ext4 defaults 0 1
    /dev/mapper/VolGroup00-Store /media/store ext4 defaults,noatime,nodiratime 0 2
    /dev/mapper/VolGroup00-migration /media/migration ext4 defaults,noatime,nodiratime,noauto 0 2
    /dev/mapper/VolGroup00-DropBox /home/andrea/DropBox ext4 rw,noatime,nodiratime 0 0
    /dev/mapper/VolGroup00-virtualbox--machines /media/store/virtualbox ext3 rw 0 0
    /dev/mapper/VolGroup00-backup /media/backup ext3 rw,relatime,data=ordered 0 0
    lvm services are enabled on systemd , but under /dev/mapper i find only  /dev/mapper/control , all the other files are missing  (list from another install)
    ls -l /dev/mapper/*
    crw------- 1 root root 10, 236 Jul 23 20:19 /dev/mapper/control
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-arch_i686_root -> ../dm-3
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-debian_root -> ../dm-6
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-DropBox -> ../dm-2
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-home -> ../dm-0
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-Store -> ../dm-1
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-ubuntu1204 -> ../dm-5
    lrwxrwxrwx 1 root root 7 Jul 23 20:19 /dev/mapper/VolGroup00-virtualbox--machines -> ../dm-4
    tried also vgchange -ay from recover shell but still no luck
    any clue ?
    Last edited by andreagrax (2013-07-26 19:46:12)

    andreagrax wrote:lvm services are enabled on systemd
    Which?
    tried also vgchange -ay from recover shell but still no luck
    Did you do vgscan first? What error did you get or did the command just return empty?
    Is the lvm2 hook in mkinitcpio.conf? Have you tried regenerating your initramfs?

  • 2.6.22 kernel and USB external disk ** SUSPECTED BUG**

    Hi, as the title suggests, I think I've come across a bug in the 2.6.22 kernel.
    I made a post here: http://bbs.archlinux.org/viewtopic.php?id=35343 which was basically in regards to initial access of my external USB2 disk after mounting it. I just did a fresh install and some testing and it appears to be a kernel issue somehow. I updated my system doing pacman -Syu, then I enabled the testing repo, installed the 2.6.22 arch kernel, rebooted and the problem occured. I then disabled the testing repo, removed the 2.6.22 kernel and went back to 2.6.21 and the problem vanished.
    The problem: Mounting my external (lacie) USB2 hard disk and trying to access it in thunar. The first time I try to access it after mounting, all instances of thunar lock up for around 30 seconds, then it comes back to life, displaying the contents. Even thunar instances that are displaying other directories on the local filesystem freeze. Subsequent attempts to access the content are fine and no lockup's occur. Again, this issue only happens with the 2.6.22 kernel. I even compiled a custom 2.6.22 vanilla kernel and the same thing occurs.
    Can other people with external HD's try with this kernel please? I'd like to find out if it affects all external disks.
    Notes:
    * Automounting / mounting is done via DBUS and HAL through XFCE.
    * The issue doesn't occur with optical disks, autostarted with DBUS / HAL in XFCE.
    If possible, can anyone suggest a way of me trying to debug this further? I've not done any kernel debugging in the past.

    I also have that problem in KDE. I have an external HD with firewire or USB input.
    My external disk is mounted successfully, but reading directories of the external disk in Konqueror makes all Konqueror instances freeze for some time (just the same as your problem). Even accessing external folders from konsole makes the konsole freeze for some time.
    And another strange thing happens: when the external disk is mounted pacman hangs after looking for inter-conflicts... done. As soon as i switch off the HD, pacman goes on working...
    When mounting the HD via Firewire the problems are greater than via USB.
    I just downgraded my kernel to kernel26-2.6.20.10-1 and everything works perfect!

  • [SOLVED] Can only boot with error in fstab

    Hey there!
    During boot I noticed a message, that /dev/sda4 (my /home-partition) gets passed a wrong option.
    BUT when the system finished booting, everything works very well!
    checking my fstab got me
    /dev/sda4 /home ext4 default,noatime 0 2
    which I corrected (adding the "s").
    my new fstab:
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    #/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
    #/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
    #/dev/fd0               /media/fl   auto    user,noauto             0      0
    /dev/sda1 /boot ext2 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults,noatime 0 1
    /dev/sda4 /home ext4 defaults,noatime 0 2
    resulting in the problem, that "/home" isn't accessible and "/" is mounted as new home... (and login with slim doesn't work at all)
    any ideas?
    thanks for your answers!
    Last edited by Slizzered (2010-04-15 05:51:45)

    Man, my fstab seems to be really crappy I think now..
    (gonna change the order immediately )
    more information:
    when I log in with tty1 as normal user, it says
    No directory, logging in with HOME=/
    "mount /home"
    gives me:
    mount: according to mtab, /dev/sda4 is already mounted on /home
    mount failed
    however, "ls /home"
    gives me just the folder "lost & found" instead of my user-folder

  • Networking with XP and USB external hard drives

    My mac gets its internet connection from my XP box. My problem is I have a USB drive attached to my XP box full of video and music files. The drive is marked as shared in XP but when i try to view using the mac (via XP) i get an error message saying "The operation cannot be completed because the original item for USB (Z) cannot be found". THis used to work when I had the shared USB drive shared as USB (F) but since I have changed it I cant access any of my music from the usb drive through the mac.
    I understand the easy solution would be to plug the USB box into the mac but I don't want to do this.
    Any help would be most appreciated.
    Regards
    Daryl

    Don't know whether it's possible or not, technically it should be with two identical disks, however what's the point? The main purpose of RAID is speed. Speed which you already sacrifice because of the slower USB transfer rates. Do you really need the speed RAID has to offer? And also I think the only way to fill up one TB is with video collection, for which you don't need a speed boost...

  • I can't install VISA driver and USB GPIB driver on my PC with VISTA... help me...

    I have LabVIEW7 and VISTA, it's ok, but I can't install VISA driver and USB GPIB driver on my pc... it's necessary to connect my pc with instruments? Or LabVIEW7 have this files??? Thanks,
    Vanny.
    Thanks,
    Vanny
    Sweet, Beautiful and Young Female Physicist (SBYFP)
    (I speak a not very good english, so If U are Italian LabVIEW expert speak in Italian, if U speak in Eglish... please speak easy )
    My e-mail for personal contact: [email protected]_NO_SPAM_PLEASE
    Solved!
    Go to Solution.

    You need Administrator privelages to install drivers on Vista
    David
    www.controlsoftwaresolutions.com

  • After installing Win7, I created an 3a. partition and now I can't boot with Win7

    After installing Win7 with success, I created an other data partition and now I can't boot with Win7 anymore. What can I do?
    Thanks!
    Vernon

    Thanks, hatter! But I´m new in the Mac World and that´s greek for me. I have no idea about what is BCDedit, GPT, EFI, etc... I went to your bookmarks and found many discursions there. I selected 5 that the subject looks useful for me (https://discussions.apple.com/thread/3543804, https://discussions.apple.com/thread/3477901,
    https://discussions.apple.com/thread/3360787, https://discussions.apple.com/thread/3354587 and https://discussions.apple.com/thread/3199099) but, as a tipical windows user, a really new mac user and a non-american (I don´t speak English well), it´s impossible to me to understand all this.
    Do you know any "how to" in this forum or i any other part of the Internet where explain step-by-step what a dummy needs to do to recover the acess to the Windows partition (my primary objective) and create an third partition (FAT32) for data acessible for both OS?
    Thank you very much!

  • I can't boot from OS install USB drive Mac Mini Model 1176

    How I can't boot from OS install USB drive, Mac Mini Model 1176

    Thank you Eustace Mendis for your answer.
    I rebooted the Mac Mini holding the Option key down but it doesn't work. I used an USB drive with O.s 10.7 from Apple that I have used previuosly with other computers and I also tried with a CD install O.S 10.6
    It seems that the Mac Mini can't recognize the keyboard inputs and I tried with 3 different keyboards but still didn't work.
    I also reset the SMC and PRAM but I had no luck. Any clues?

  • Can't boot with install disk

    I ran out of disk space on the Mac HD and I only have 452 MB left. Before, I had 12 GB. I think trying to connect a router swallowed up the GB.
    Anyway, because I ran out of disk space, I had trouble starting the Mac HD.
    I can open Bootcamp (XP Professional) and have no problem there.
    I attached the dvd drive to the MacBook Air and put the Snow Leopard Install disc inside and tried
    1) Option start
    2) Pressing C key start
    3) Option command shift delete start but none of them work.
    I cannot get it to boot with the Snow Leopard install disc.
    What can I do?
    I was planning to do a clean install but can't boot with the Snow Leopard install disc.
    Can I do it from Bootcamp?

    I booted with the Snow Leopard Install disk and checked Disk Utility and found that the HD disk was corrupted. This time it showed only 77MB free space even though I freed up 2 GB using 'rm' commands in single-user mode.
    The problem was some kind of virus or something that not only ate up free space but corrupted the system.
    I had to do a clean install (erasing the Mac HD volume and formatting it) to get the Mac HD operational again.

  • All of a sudden my personal hot spot isn't working. It only comes up with Bluetooth and USB connection options. Why would that be?

    All of a sudden my personal hot spot isn't working. It only comes up with Bluetooth and USB connection options. Why would that be?

    No I can not turn on the wifi either. I can get on the web on my phone and Facebook etc on phone but no wifi or hotspot

  • Even after doing the recovery of my iphone 4,  still i am getting a picture with itunes and usb port in phone.  showing only the emergency call

    I did a recovery of my iphone4.   After extracting,  recovery and verifying  completing,  my iphone restarted.    But still i can only see the picture with iTunes and USB port in the iphone 4.   Only the emergency call is allowed.
    After recovery and re-start of my iphone4  the itunes doesn't detect my phone.       What should i do now

    DFU Mode and restore again, if it doesn't work, well then...I suggest you try using a custom firmware maker (sn0wbreeze), NOT for the jailbreak, just to try and fix your phone.

  • Can Stored procedure with IN and OUT Paramter can be used in JDBC LOOKUP?

    can Stored procedure with IN and OUT Paramter can be used in JDBC LOOKUP?

    Checking online help, I do not see any possibility.
    "Queries a data base by the given SQL statement."
    http://help.sap.com/javadocs/pi/pi711sp03/com/sap/aii/mapping/lookup/DataBaseAccessor.html
    -> execute

  • Have a MacBook Pro running 10.5.8 Leopard.  Can I just download 10.6.8 Snow Leopard as an upgrade so I can wifi sync with iPhone and iPad?

    Have a MacBook Pro running 10.5.8 Leopard.  Can I just download 10.6.8 Snow Leopard so I can wifi sync with iPhone and iPad?

    To expand on Niels post...
    First you need to check that your current Mac meets the System Requirements for Snow Leopard...
    Snow Leopard Specs:
    http://support.apple.com/kb/SP575
    If it does... then you need to Purchase and Install the Snow Leopard Disc,
    Mac OS X 10.6 Snow Leopard
    ( It should be noted that Apple will send paid MobileMe members the Mac OS X 10.6 DVD for free.)

  • Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance-..

    Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance…..

    LibreOffice

  • Why my MDM Server can only communicate with ipads and iphones with logging Junos sslvpn.

    Why my MDM Server can only communicate with ipads and iphones when either of the iPhone or iPad Junos sslvpn?  Any ideas
    Our iPad and iPhones users have to log in to Junos SSLVPN to be able to communicate with our MDM Server (via wi-fi).  Any ideas where users don't have to log in to Junos SSLVPN?

    This bothers me so much. It is absolutely ridiculous. I use my Apple ID as well as a family member's Apple ID to download music.
    Every once in a while I will purchase a song and it won't download correctly or will give me an error that my computer is not authorized, a solution I usually fix by deleting and redownloading the song from the cloud. This doesn't work, however, when it happens to both accounts within 90 days.
    It is incredibly frustrating to me that I have paid for a song, it downloaded incorrectly, and I must wait 90 days to try downloading it again because of these assinine policies.

Maybe you are looking for

  • [SOLVED] Gnome + xf86-video-ati = Compiz-fusion can't start wo f-i

    I know this is not a new issue but... let's try again. The title is pretty much the situation. I reinstalled the whole system recently and installed Catalyst which worked good except for a delay on maximizing/resizing windows. Yesterday I saw the new

  • Changes to the design, html, css won't show up immediately in preview in browser

    No matter what I am working on, the browser displays the design correctly only after the first viewing. From there on if I make any changes to html or css, save it and try to preview it again it just shows the design from the previous time. Sometimes

  • Which table stores SM04 (currently active users) data?

    HI all, what is the table which stores the SM04 currently active users data in sap? plzzzzzzzzz help me.. Thanks all in advance , Malti

  • Business Intelligence Tool

    I've been using Apex for quite a while now, and am extremely satisfied with it. I have one question if people have been using it for a specific purpose. Many of my customers want the ability to create their own reports. We've used discoverer, but the

  • I need to print "page 0"

    I have an older story program in my school where the story title page is on page "0". On my old 5200 (w/ OS 8.5), I could print page 0 by doing a "print from page 0 to page blank". This would include the title page. However in OS X, I can not enter a