[lfs-dev] eudev has replaced systemd in LFS

xinglp xinglp at gmail.com
Fri Mar 7 11:10:38 PST 2014


2014-03-08 2:32 GMT+08:00 William Harrington <kb0iic at berzerkula.org>:
>
> On Mar 7, 2014, at 11:51 AM, xinglp wrote:
>
>> When use initrd, with /dev/disk/by-xxx present, I can use
>> root=UUID=xxx instead of root=/dev/sdxx
>
> Your initrd should do that. You need to troubleshoot your initrd.

inirtd can do that only when /dev/disk/by-xxx exist.

see http://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html
   case "$root" in
      /dev/* ) device=$root ;;
      UUID=* ) eval $root; device="/dev/disk/by-uuid/$UUID"  ;;
      LABEL=*) eval $root; device="/dev/disk/by-label/$LABEL" ;;
      ""     ) echo "No root device specified." ; problem    ;;
   esac

>
> Sincerely,
>
> William Harrinton
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page



More information about the lfs-dev mailing list