gdb stubs is basically used for remote debugging over a serial link and needs a copmlex set up procdure . basicaly you can dive into GRUB code as it is quite flexible and divide booting into two stages which could be used as per your need this link can help you set up remote debuging using serial link (with GRUB) http://www.gnu.org/software/grub/manual/grub.html#Serial%20terminal cheers Abhishek -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/