Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to learn the GNU/Ubuntu-Linux in a detailed way.

I was reading 00_header, which run first when grub loads, and I saw

for i in ${GRUB_PRELOAD_MODULES} ; do
  echo "insmod $i"

As I know, insmod is a module loader used by Kernel. If the grub is running; there must be no Kernel loaded. How can this code run?

Thanks for any replies.

share|improve this question
up vote 1 down vote accepted


Pardon me for that, but I just found it.

It is just a similarity of name. I found it under /boot/grub/insmod

share|improve this answer
Indeed, grub has loadable modules in a similar fashion to the kernel often for similar things such as file system support. The modules are completely unrelated however. – Andy Apr 17 '12 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.