0

I've (mostly) successfully split my Debian 8 root filesystem into a /boot partition (still on my original disk) and a / partition (using LVM on a second disk).

The system boots fine, but the initramfs (at least I assume it is that) is complaining that it can't check the root filesystem:

fsck error 2 (No such file or directory) while executing fsck.ext3 for /dev/mapper/SSDVG-RootVol
fsck exited with status code 8

There is then a successful fsck of the same filesystem from (I think) systemd.

As far as I can tell, all files in /etc/initramfs-tools and /usr/share/initramfs-tools are identical to a system originally built as LVM, which does not have this issue.

Is the problem that my initramfs is not loading the LVM support early enough, or that my new root filesystem is somehow not being identified correctly? (I see it is looking for fsck.ext3, where other logs I've seen online suggest it may usually use fsck.ext4.

Any advice on where to look to diagnose what is going on appreciated - the Debian grub2 / initramfs behaviour with LVM appears to be rather lightly documented!

  • Have you regenerated your initramfs image after the split? Try booting with break (see man initramfs-tools) and troubleshoot the problem at the (initramfs) shell prompt. – Ferenc Wágner Feb 14 '17 at 9:55
  • The problem did indeed turn out to be that the new root filesystem did not have enough ext4 features, so it was trying to check it as ext3 and failing. Booting back into a live distribution and following a guide to convert the filesystem to ext4 has solved that problem (and probably improved performance too) – Michael Firth Feb 15 '17 at 21:08
0

The problem did indeed turn out to be that the new root filesystem did not have enough ext4 features, so it was trying to check it as ext3 and failing.

Booting back into a live distribution and following a guide to convert the filesystem to ext4 has solved that problem (and probably improved performance too.

The guide I used was:

https://debian-administration.org/article/643/Migrating_a_live_system_from_ext3_to_ext4_filesystem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.