Dear ladies and gentlemen!
Please insert the following 4 lines after line 229 into "hook-funktions"
(mkinitramfs-tools) to honour a label in "/etc/fstab":
if [ -z "${root}" ]; then
eval "$(mount | awk '$1 ~ /=/ {if ($3 == "/")
{split($1,a,"="); print "root=" a[2] "\nFSTYPE=" $5; exit}}')"
if [ -n "${root}" ]; then
root="/dev/disk/by-label/${root}"; fi
fi
Tested on Debian (Release 5.0)
Kind regards
Dipl Ing. Peter Pranter Mobil: +43 (699) 121 979 55
Festnetz: +43 (1) 699 39 04
Fax: +43 (1) 699 39 04 21
Mein Server ist durch "Reverse-DNS-Lookup" gesichert. My server is secured
by "Reverse-DNS-Lookup".