[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?

Similar Messages

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

  • System will not boot with Seagate 3Tb expansion drive plugged in.

    I have a  HP Pavilion HPE h8- 1214 Desktop ,  I recieved a Seagate 3TB expasion drive as a gift but when plugged in, the system will not boot. It turns on but thats it.  It never gets to the boot sequence. I have it plugged into the top 3.0 usb slot and have tried all of the other slots as well with no sucess. But if I leave it unplugged the system boots right up. I can then plug it in and it works fine. I have plugged it into my wifes HP All- In- One and it boots fine and works.  I have a WD 2TB drive that works fine as well on my system . I have searched Segates support for hours and all they say is to change the boot sequence. Have tried that, no go.  What they dont get is no matter what I do if that drive is plugged in it never gets as far as booting and reading the boot sequence. Please help. Thank you! 

    Hi NcBunky,
    Are you using Win 7 64 bit? Did you update the Texas Instruments (TI) USB 3.0 XHCI Host Controller?
    I have an H8 1380t PC. Updated the TI USB 3.0 driver and had the same problem.
    When booting the PC with the USB 3.0 external drive connected to the PC the PC would not boot. When booting the PC with only the mouse, keyboard, and a USB 2.0 external drive attached the PC would boot. Once booted you could attach the USB 3.0 drive and it worked fine.
    Solution was to roll back (reinstall) the TI USB 3.0 XHCI Host Controller to the original factory installed driver.
    System now boots with the external USB 3.0 drive attached.
    Jaco
    ****I am not an HP employee****
    Please give a" Kudos" if advice received is relevant or" Accept as Solution" if your problem has been solved.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    H8 1380t CTO, Intel i7 3820
    16 GB DDR3
    Pegatron Motherboard- IPIWB-PB (Pittsburgh), Radeon HD 7570 1GB. Win 7 Home Premium upgraded to Windows 8.1 Pro.
    Envy Phoenix 810-150se, Intel i7 4820k
    16 GB DDR3
    Pittsburgh2 Mainboard, NVIDIA GTX 645- 2GB GDDR5. Win 8.1 Pro.
    HP 560z CTO AMD Phenom II X6 1090T
    16 GB DDR3.
    Radeon HD 6570
    Win 7 Home Premium upgraded to Win 7 Pro.
    HP ENVY 17t-j000 CTO Quad Edition Notebook. I7 4702mq
    12 GB DDR3
    Nvidia Graphics
    Win 8 Pro
    Errare humanum est.

  • More detail and a reply for the CQ50 - 130US will not boot with 8gb ram post

    The specs, on the web site say that the  max memory supported is 3GB DDR2 because the notebook was built with the OS Vista(32 bit) installed so that’s why the manual has the 3 GB max. memory supported limit. The 32 bit OS can’t address memory over 3.12 GB.   To my mind that is not a spec. but rather a tech. writer who made a mistake and copied the sales literature.  With Windows 7(64 bit) Pro. installed the OS can address up to192GB of memory if the system supports it.  Other Compaq and HP Notebooks can deal with 8GB of memory installed. That’s why I would think HP’s could easily fix this with a patch or use one of their other BIOS’s. 
    The difference between 4GB and 6GB is that with 6GB system runs faster and the display quality has improved.  I have set the cache size to large and the executive paging is set to off in the registry. The menu(System Properties - Performance Options – Advanced – Virtual Memory) is set to automatically manage the paging file size.

    You should keep it in the original; thread you started.
    http://h30434.www3.hp.com/t5/Notebook-Hardware/CQ5​0-130US-will-not-boot-with-8gb-ram/m-p/490157

  • T43 – Model 1871-FU1: Will not boot with blank screen. Only Fan is running. Any ideas?

    T43 – Model 1871-FU1: Will not boot with blank screen.  Only Fan is running.  Any ideas?
    Solved!
    Go to Solution.

    What lead_org is referring to is commonly known as "re-balling" which involves unsoldering the Southbridge chip from the planar, replacing all (6-700) solder balls with new ones and then re-attaching it under heat/pressure.
    This is the place that you need:
    http://www.theboardroom.info/index.html
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • K9AGM3-F does not boot with PCIe 4x device in PCIe 16x slot

    K9AGM3-F motherboard does not boot with PCIe 4x Intel PRO/1000 PT dual port network interface card installed into PCIe 16x slot on motherboard. The boot process stops in BIOS screens. The motherboard works flawlessly without this NIC. K9VGM-V + Intel PRO/1000 PT boot successfully. I tried three K9AGM3-F motherboards and two Intel PRO/1000 PT NICs in different combinations, the results are always the same. It appears to be some kind of BIOS problem.

    Quote from: Fredrik Åsenius on 09-April-08, 22:52:27
    Minor point, probably irrelevant: I said you install the driver f i r s t. Then you put the physical card in. 
    The driver is completely irrelevant because the driver is a part of operating system, but as I already wrote before the boot process stops long before the OS start.
    Quote from: Fredrik Åsenius on 09-April-08, 22:52:27
    No stability issues otherwise?
    PSU is always good to know.
    The PSU is irrelevant too because the same NICs work in the PCIe 1x slot of the same motherboard with the same PSU.

  • Pacman -Syu update, System not booting due to systemd

    I have just done a full update on pacman, and now my system is not booting due to this message
    systemd[1]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator exited with status 127
    Does anyone know what is causing this, and what a status code of 127 means?
    Last edited by deteego (2013-09-30 13:53:42)

    cfr wrote:Post fstab and the output of gdisk -l /dev/sdX (or fdisk -l but I'm assuming you are using GPT).
    fstab is here https://gist.github.com/mdedetrich/a2976f1c618d51a0c74e
    gdisk is here https://gist.github.com/mdedetrich/2017fcb5d33023ccd1bb
    Daerandin wrote:Apologies, I seem to have skipped over that. Still, I would like to know if OP have attempted to boot with fstab or not.
    fstab originally existed on my OS before the pacman upgrade. After the upgrade I got the error message mentioned above (and obviously the fstab was there since I  didn't touch it). Then after reading that linked topic (where a similar error message was the cause of systems not booting due to a fstab), I deleted the fstab (or more accurately, moved it somewhere else)
    Last edited by deteego (2013-10-01 02:51:08)

  • Plymouth graphical boot, encrypted root, and systemd...

    I'm having some difficulty getting Plymouth working with an encrypted root, and, systemd in the initramfs. I had identical issues getting Plymouth working without systemd in the initramfs, so that doesn't seem to be the issue.
    I installed plymouth-git from the AUR. I similarly tried this with the non-git AUR package as well, with no different results. While trying to use the non-git package, I used the sd-plymouth mkinitcpio module from Celti's Github (He maintain's the -git AUR package), as posted in the comments. This enables support for systemd support inside the initramfs for plymouth, through using the sd-plymouth hook in place of the normal plymouth flag. When using the normal plymouth flag, and base + udev in place of systemd in my hooks, the same thing happens, so it seems unlikely to be the systemd implementation.
    Anyhoo, when using plymouth and plymouth-encrypt in my hooks, I never get asked for a password to decrypt the root volume. It just presents the splash, and, that's all I ever see. After a couple of minutes, it dumps me to a black screen.
    The contents of my /etc/mkinitcpio.conf file
    MODULES=""
    BINARIES=""
    FILES=""
    HOOKS="systemd sd-plymouth autodetect modconf block keyboard plymouth-encrypt filesystems fsck"
    COMPRESSION="gzip"
    COMPRESSION_OPTIONS=""
    I use rEFInd, not grub or gummiboot, and my kernel options are as follows:
    rd.luks.name=945737e7-94a0-49a0-b1ab-b51cb497ec4a=root root=/dev/mapper/root initrd=intel-ucode.img initrd=initramfs-linux.img rw nomodeset add_efi_memmap quiet splash
    When booting, I'm greeted with my rEFInd GUI, it drops to a black screen for a fraction of a second, and loads Plymouth, and, sits there for about 90 seconds before dumping me to a black screen. When I type something on the keyboard, it shows up in the console, on top of the splash screen. It's almost as if plymouth isn't hooking the input. It fails to ask for a password or decrypt my root, too. I do notice when not using sd-plymouth, the splash logo appears to have an input box as if it at least knows it's attempting to decrypt it, but again, the input fails to go into the splash screen, but shows up (in cleartext) in the console at the top corner.
    Suggestions would be appreciated.

    Without hacking the encrypt hook, you'll only be able to unlock one volume at the same time. Afaik the device mapper asks for a password for each encrypted partition, and using one for all won't work, you have to repeat the process for each partition, whereas the encrypt hook only seems to be able to handle one partition. You can hack it, but I haven't done that (yet), it's already quite messy you have to hack the hook file to make it apply to non-root partitions.

  • My iMac will not boot past the logo and spinning gear

    My iMac will not boot past the logo and spinning gear (After a Rogue Amoeba update). I can't access the recovery disk I made on a flash drive. (Am I doing it correctly? - Hold down option while switching on? It just stays on the logo). What (if anything) can I do please?

    If you installed Lion onto your machine, it should have created a Recovery HD (hidden from view, but visible in Disk Utility with its Debug menu enabled, under Show all Partitions).
    That article states:
    Note: In order to create an external Lion Recovery using the Lion Recovery Assistant, the Mac must have an existing Recovery HD.
    Would I see the recovery menu (by holding down option on power up)
    Yes.
    if there was no recovery disc connected do you think?
    Shouldn't matter, since your int HD is always connected.

  • MBP15 1.83 GHz Will Not Boot With 3GB Upgrade

    I'm trying to increase my MBP's ram to the 3GB limit. This is a 1.83 GHz 15" model.
    It will not boot with 2GB & 1GB sticks of identical mfg & specs. It will boot with one or the other...
    Any ideas?
    Thanks,
    Stradioti

    Hi
    according to the Apple specs for the 1.83GHz mbp's - 2Gig of memory is the limit......
    512MB (single SODIMM) of PC2-5300 (667MHz) DDR2 memory on 1.83GHz configuration; and 1GB (single SODIMM) on 2.0GHz configuration; two SODIMM slots support up to 2GB
    Crucial Memory says the same.

  • T60 does not boot with Intel T7600G CPU

    I replaced my Intel Core Duo T2400 with Intel Core 2 Duo T7600G CPU in ThinkPad T60(1951-CTO) laptop. However, laptop does not boot with Intel Core 2 Duo T7600G CPU. It doesn't even complete the POST: https://db.tt/8UL8FlE0 As seen in the video, I plugged in the power adapter at 0:02 and pressed the power button at 0:06. One can hear a little click made by optical device. If I press the power button again at 0:16, this click does not happen. BIOS version is 2.27. I have reset the BIOS settings by disconnecting the CMOS battery, but this didn't help. Once I replace the T7600G with my old T2400 then I'm able to boot the laptop.
    Any ideas what might cause such behavior? Shouldn't there be beep codes in case of CPU issues? What else to try?

    TuuS wrote:
    600X wrote:
    Since you came from a T2400, does your T60 even have a Rev. 3 motherboard? If it does not, then no Core 2 Duo will work, only Core Duo's.
    I don't claim to be the top authority on T60 motherboards, but I believe any will use a Core 2 T7600, 7400, 7200 if the firmware is updated.
    My own experience mirrors what TuuS has stated. I have yet to see a T60/p from any walk of life with a recent BIOS that will bark at a proper Core 2 Duo CPU.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • HP G62 Will Not Boot With Power Cord Plugged In

    I have an HP G62 laptop that is about four years old. I've had a couple of problems with it before that were resolved relatively satisfactorily, however five or six months ago I started having a new issue. The laptop will not boot with the charging cord plugged in, whether there is a battery in it or not. Nor will it return from sleep mode (screen black, status light on the power button flashing) with the charging cord plugged in, whether there is a battery in it or not. It simply shuts down and I end up with an error screen the next time I boot up. I have tried other charging cords and it has been the same, however the cord will still charge the battery. This means I have to charge the battery, unplug the cord, boot up the computer. This annoyance is worsened by the fact that the battery  is old and unable to  hold charge for very long at all and I fear one day even the battery won't be enough to boot the computer.Can I fix the power cord issue? Should I buy a new battery? Or let my computer give up the ghost and scrounge for a new one? Any help would be greatly appreciated.

    the charger input could possibly need replaced and/or the charger

  • A 305- S6825 will not start with the battery and charger. There's no light, no noise on fan or HDD

    PC will not start with the battery and charger. There's no light, no noise on fan, hard drive and CD writer. The hard drive, fan and charger are new. But I was havingproblems and sudden blackouts System 32. Try several times to install theoperating system but the pc turned off suddenly and restarted until I stop working completely. Now it does nothing and no light. I hope it can help me I need torespect and love very much this notebook.
    Thanks in advance
    Jose Echevarria
    [email protected]

    Turn off your laptop, unplug all wires, remove the battery, and hold the power button for thirty seconds. Afterwards, reattach the battery and connections. If it still won't start, remove the battery and start with just the AC power. Next try without the AC power and just the battery.
    - Peter

  • 2960X-48FPS-L does not boot with IOS 15.2-2E

    Hello,
    i got a bunch of 2960X switches. But some of them do not boot with the new IOS Version. The older 15.0-2 EX do boot.
    Does anybody have a clue why this happens? During the Bootprocess it just stops to load:
    File "flash:/c2960x-universalk9-mz.152-2.E.bin" uncompressed and installed, entry poin0x3000
    executing...
    Loading "flash:/c2960x-universalk9-m
    Thank you for your help.

    On the ones that cannot boot 15.2(2)E, can you break the boot cycle using the "Mode" button?
    If the answer is "yes", then try the following: 
    1.  Copy the IOS BIN file from a working switch to a USB flash drive; 
    2.  In ROMmon, force the switch to boot the IOS from your USB flash drive; 
    3.  If it does not work, try a different IOS, like the EX3 for instance.  Try the same process, boot the BIN from your USB flash drive. 
    4.  If it works, try a different IOS, like EX3, for instance.  Downgrade the IOS from 15.2(2)E to EX3 and see if the switch can boot normally. 
    This exercise will determine where the fault is coming from:  IOS bug or a hardware batch problem.  
    To determine if you'e got a hardware batch problem, you may need to look at the serial number of the switches working and not working.  From left to right, look at the 4th, 5th, 6th and 7th numerals.  This will determine the year and month your appliances were made. 

  • ThinkCentre M93p not booting with WD MyBook USB 3.0 drive

    Hi!
    I have a serious problem as boot freezes on my ThinkCentre M93p Tower at the Lenovo logo when the Western Digital MyBook USB 3.0 drive is attached at boot time. I have already commented on this in this thread:
    http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T420-Not-booting-with-3TB-external-USB3-dri...
    It seems to be an UEFI / BIOS problem and I hope that there will be a resolution soon, as I like the Lenovo ThinkCentres and would like to buy more for our company. This problem seems to be present on Lenovo notebooks and desktops when looking at other posts here.
    Regards,
    Anguel

    jvandeven wrote:
    This bug has been driving me mad since I received my P900 Thinkstation - as PeaB0dy notes, the hardware is great but the software (pretty much in general) is really disappointing.
    Have you actually opened a support ticket with Lenovo?
    I had a problem with my M93p SFF relating to an older external USB drive from Seagate, and an apparent incompatibility with management of the drive across soft reboots.  I opened a support ticket and got superb results from Lenovo engineering over the next few months.  I sent them the drive to have (as I had no use for it, replacing it with a new Verbatim USB drive which was fully 100% compatible with the machine and saw none of the problems I saw with the Seagate drive).
    The eventual outcome was a public fix in a new version of the BIOS to handle the unique characteristics of the Seagate drive.
    So, have you actually opened a ticket with Lenovo? They need to have something official to start from when new problems are discovered.  The M93 machines are "new", so issues of compatibility is not a surprise to me.  Especially when UEFI, GPT, large drives >2GB, and Windows 8 are concerned.
    [I'm still staying with Win7 Pro x64 for now.]

Maybe you are looking for