Bug#547649: grub-pc postinst exit status 128
Arno Schuring
aelschuring at hotmail.com
Tue Sep 22 21:26:40 UTC 2009
>> @@ -20,7 +20,7 @@
>> db_get grub-pc/kopt_extracted || true
>> # this check ensures we only do this once
>> if [ "$RET" = "false" ] ; then
>> - kopt=`sed -ne "s/^# kopt=//p" /boot/grub/menu.lst | tr -s " " "\n" | grep -vx "\(ro\|root=[^ ]*\)"` || true
>> + kopt=`sed -ne "s/^# kopt=//p" /boot/grub/menu.lst | tr -s " " "\n" | grep -vx "\(ro\|root=[^ ]*\)" | paste -s -d ' '` || true
>> db_set grub2/linux_cmdline "${kopt}" || true
>> db_set grub-pc/kopt_extracted true || true
>> if [ "${kopt}" = "" ] ; then
>>
I can confirm that this change fixes my issue.
Tested by:
root at neminis:/boot/grub# dpkg --force-all -P grub-pc^C
root at neminis:/boot/grub# apt-get --reinstall install grub-pc^C
then manually modifying grub-pc.config, and issuing
root at neminis:/boot/grub# dpkg --configure -a^C
Thanks for your quick help!
Arno
More information about the Pkg-grub-devel
mailing list