Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

do not use root=UUID=... when using LVM
authorMichael Prokop <mika@grml.org>
Wed Jul 25 13:33:05 2007 +0200 (16 months ago)
changeset 152d86a1ce6a2e5
manifestd86a1ce6a2e5
parent 151996e5911d892
child 153a6a56cbd522b
do not use root=UUID=... when using LVM
grml2hd-chrooted
--- a/grml2hd-chrooted Wed Jul 25 13:31:51 2007 +0200
+++ b/grml2hd-chrooted Wed Jul 25 13:33:05 2007 +0200
@@ -307,9 +307,9 @@ Error:
get_rootpartition() {
if [ -n "$PARTITION" ] ; then
- # do not use root=UUID=... when using SW-RAID to avoid the:
+ # do not use root=UUID=... when using SW-RAID or LVM to avoid the:
# '/dev/disk/by-uuid/<uuid> does not exist. Dropping to a shell!'-problem
- if [ -n "$SWRAID" ] ; then
+ if [ -n "$SWRAID" -o -n "$LVM" ] ; then
ROOTPARTITION="$PARTITION"
else
PARTUUID="$(/lib/udev/vol_id -u $PARTITION)"