diff --git a/bootscripts/lfs/init.d/checkfs b/bootscripts/lfs/init.d/checkfs index ef96aaf0f..963ec41a0 100644 --- a/bootscripts/lfs/init.d/checkfs +++ b/bootscripts/lfs/init.d/checkfs @@ -42,6 +42,13 @@ case "${1}" in start) + + # If any LVM based partitions are on the system, ensure they + # are activated so they can be checked/used. + if [ -x /sbin/vgchange ]; then + /sbin/vgchange -a y >/dev/null + fi + if [ -f /fastboot ]; then msg="/fastboot found, will omit " msg="${msg} file system checks as requested.\n" diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2f8220c76..2c5c50493 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,17 @@ --> + + 2012-02-15 + + + [bdubbs] - Activate any possible LVM partitions + in checkfs script. Thanks ot Qrux for pointing out + the issue. + + + + 2012-02-14 diff --git a/general.ent b/general.ent index 29f97602d..d26a776d9 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 4f4846ae8..ec85ca09c 100644 --- a/packages.ent +++ b/packages.ent @@ -305,7 +305,7 @@ - +