How to modify grub entry for supporting KGDB kernel image?
Posted
by
Nishant
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Nishant
Published on 2010-09-16T08:31:46Z
Indexed on
2011/01/17
15:59 UTC
Read the original article
Hit count: 276
I am trying to update target m/c grub.cfg file for KGDB setup but while booting the m/c it got hung completely and not asking/waiting for remote gdb connection. Following is the entry which I added:-
menuentry 'Ubuntu, with Linux 2.6.32-24-kgdb' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 12878c3b-c553-4b4b-986a-6e32daea3ad1
linux /vmlinuz-2.6.32-kgdb root=/dev/mapper/ubuntu-root ro kgdbwait [email protected]/,@192.168.140.158/ quiet
initrd /initrd.img-2.6.32-24-server
}
I have also compiled and copied /boot/vmlinuz-2.6.15.5-kgdb & /boot/System.map-2.6.15.5-kgdb to target m/c from devlopement m/c.
STD entry before adding KGDB in grub.cfg was:-
menuentry 'Ubuntu, with Linux 2.6.32-24-server' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 12878c3b-c553-4b4b-986a-6e32daea3ad1
linux /vmlinuz-2.6.32-24-server root=/dev/mapper/ubuntu-root ro quiet
initrd /initrd.img-2.6.32-24-server
}
Please suggest how to get rid of this problem.
© Ask Ubuntu or respective owner