diff --git a/kdumpctl b/kdumpctl index 41a70a8..d7f25d9 100755 --- a/kdumpctl +++ b/kdumpctl @@ -184,10 +184,6 @@ prepare_cmdline() if [ -z "$KDUMP_COMMANDLINE" ]; then cmdline=`cat /proc/cmdline` - # 'root' parameter will cause kdump failure in live images - if [[ ${cmdline} == *"root=live:"* ]]; then - KDUMP_COMMANDLINE_REMOVE="${KDUMP_COMMANDLINE_REMOVE} root" - fi else cmdline=${KDUMP_COMMANDLINE} fi diff --git a/live-image-kdump-howto.txt b/live-image-kdump-howto.txt index e0bc9f1..1695a1c 100644 --- a/live-image-kdump-howto.txt +++ b/live-image-kdump-howto.txt @@ -13,6 +13,8 @@ When kdump kernel boots in a live environment, the default target /var/crash is in RAM so you need to change the dump target to an external disk or a network dump target. +Besides, make sure that "default dump_to_rootfs" is not specified. + 3. Start kdump service $ kdumpctl start