You are not logged in.

#1 2013-08-27 16:35:31

ZMoore
Member
Registered: 2012-03-30
Posts: 16

[SOLVED]Unable to boot GRUB 2 with LVM /usr being a separate partition

I'm currently trying to boot into my current arch linux installation. I have yet to be able to boot after the initial installation from the live CD. Currently I'm using GRUB 2 in BIOS mode. I have 5 partitions, {root,boot,home,usr,var}. Whenever I try to boot, I am greeted with the following:

"Root file system was mounted successfully, but /sbin/init does not exist"

I looked on the forums for the same issue, and all of them recommend reinstalling systemd-sysvcompat. I have done this and am still unsuccessful. At this point, I figured that it may be an issue with LVM, as looking in the grub.cfg file, the lvm module doesn't get loaded until much later. So I appended

insmod lvm

to the beginning of the grub.cfg file (even though it states not to edit that file) and that still did not work. At that point I looked some more, and one solution that seemed to work is adding

init=/usr/lib/systemd/systemd

to the kernel arguments. I  tried this as well, and was still unsuccessful.

If you'd like any additional information, I can post it for you. Since this is my only machine at the time (dual-booting Win7 and Arch) I need to hop back and forth between the two to get any logs.

Last edited by ZMoore (2013-08-27 17:32:51)

Offline

#2 2013-08-27 16:43:14

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED]Unable to boot GRUB 2 with LVM /usr being a separate partition

Did you configure your HOOKS correctly?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2013-08-27 16:48:06

ZMoore
Member
Registered: 2012-03-30
Posts: 16

Re: [SOLVED]Unable to boot GRUB 2 with LVM /usr being a separate partition

Yes, with all of my other installations, all I had to do was insert the lvm2 hook between block and filesystem. I'll go and get my mkinitcpio.conf

Offline

#4 2013-08-27 16:56:20

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED]Unable to boot GRUB 2 with LVM /usr being a separate partition

See wiki.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2013-08-27 17:33:24

ZMoore
Member
Registered: 2012-03-30
Posts: 16

Re: [SOLVED]Unable to boot GRUB 2 with LVM /usr being a separate partition

Thank you for the assistance, it looks like that was it. Properly configuring the HOOKS fixed the problem.

Offline

Board footer

Powered by FluxBB