On 03/24/2013 10:43 PM, Joakim Ziegler wrote:
I haven't actually tried writing anywhere in the rescue shell before vgchange and mount. I'll give it a try, that would simplify things.
If nothing else, you probably can fit most or all of that in the shell's environment. In case it's ever useful:
# debug=$(lvm pvdisplay; lvm vgdisplay; lvm lvdisplay; blkid; dmesg) # vgchange -a y # mount ... # echo "$debug" > /mnt/sysroot/root/debug