diff -upk.orig lilo-22.7.1.orig/bsect.c lilo-22.7.1/bsect.c --- lilo-22.7.1.orig/bsect.c 2006-12-29 13:35:37 +0000 +++ lilo-22.7.1/bsect.c 2006-12-29 13:37:25 +0000 @@ -1061,6 +1061,9 @@ if (image) { /* long section specific to if (stat("/",&st) < 0) pdie("stat /"); sprintf(strchr(options,0),"root=%x ",(unsigned int) st.st_dev); } + else if (strlen(root)>5 && !strncmp(root,"UUID=",5)) { + sprintf(strchr(options,0),"root=%s ", root); + } else if (strlen(root)>6 && !strncmp(root,"LABEL=",6)) { sprintf(strchr(options,0),"root=%s ", root); } diff -upk.orig lilo-22.7.1.orig/manPages/lilo.conf.5 lilo-22.7.1/manPages/lilo.conf.5 --- lilo-22.7.1.orig/manPages/lilo.conf.5 2006-12-29 13:35:38 +0000 +++ lilo-22.7.1/manPages/lilo.conf.5 2006-12-29 13:37:25 +0000 @@ -732,13 +732,16 @@ the kernel Makefile, and can later be ch .sp (22.6) The root filesystem may also be specified by a .B LABEL= -directive, as in '/etc/fstab'. In this case, the argument to +or (since 22.7.1) +.B UUID= +directives, as in '/etc/fstab'. In this case, the argument to .I root= must be enclosed in quotation marks, to avoid a syntax error on the second equal sign; viz., .sp .nf root="LABEL=MyDisk" + root="UUID=deadbeef-dead-c0de-cafe-f00dbadc0ded" .fi .sp Note: The command line