hick518 Posted June 16, 2015 Report Share Posted June 16, 2015 I'm running the debian-sources kernel. I have put /usr on an lvm partition. I get the following messages during boot: Mounting /dev/vg1/usr as /usr: mount -t ext4 -o noatime,ro /dev/vg1/usr /newroot/usr mount: mounting /dev/vg1/usr on /newroot/usr failed: No such file or directory !! Unable to mount /dev/vg1/usr for /usr >> Booting (initramfs).. and then later: Setting up the Logical Volume Manager ... /etc/init.d/device-mapper: line 65: uniq: command not found /etc/init.d/device-mapper: line 64: awk: command not found /etc/init.d/device-mapper: line 64: awk: command not found /etc/init.d/device-mapper: line 65: uniq: command not found Awk and uniq are in /usr/bin, so /usr must not be mounted yet. Then: /dev/mapper/vg1-usr: clean, 145293/327680 files, 645590/1310720 blocks And /usr ends up mounted by the time the system boots. I'm guessing initramfs is my answer. Debian-sources provides an initramfs file, but I'm not sure if it supports lvm and I'm not sure what to specify in grub. I tried adding 'lvm' to the boot parameters, but that didn't change anything as far as I could tell. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now