kickstart fails when mounting partitions in "%pre" script on Red Hat Enterprise Linux 5.5
Issue
-
kickstart fails when using follwing "%pre" script.
for part in `fdisk -l | grep -i Linux | egrep -iv "swap|raid" | awk '{print $1}' | sort` do echo -e "${blue} Trying to rescue data from $part${gray}" mkdir -p /tmp/probedisk mount -o ro $part /tmp/probedisk umount /tmp/probedisk rmdir /tmp/probedisk done
Environment
- Red Hat Enterprise Linux version 5.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.