0

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"
done

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.

1 Answer 1

1

Ooops!

Pardon me for that, but I just found it.

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

1
  • 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, 2012 at 13:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .