View Full Version : [ubuntu] ./bootchartd: 250: Bad substitution

March 7th, 2012, 06:53 AM
Need help to fix the ./bootchartd: 250: Bad substitution
following step perform
Step1: Installed Bootchart : Done
Step2: Modified Kernel (/boot/grub/grub.cfg)

menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set a1c26743-144e-44f0-956d-e97a6dc131e7
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=a1c26743-144e-44f0-956d-e97a6dc131e7 ro quiet splash init=/sbin/bootchartd
initrd /boot/initrd.img-2.6.35-22-generic

Step3: Reboot

I am getting following error
/sbin/bootchartd: 250: Bad substitution
/sbin/bootchartd: 250: Bad substitution
/sbin/bootchartd: 250: Bad substitution

Step4: New folder generated /var/log/bootchart.tgz was created and contains the log files (Four file generated " header , proc_diskstats.log, proc_ps.log and proc_stat.log")
But information in blank.

Please some one help how to fix "250: Bad Substitution " error. .. We are not getting any help in Google.