Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to run Gentoo paravirtualized under XenServer 5.6.

Now, Gentoo is perfectly capable of booting without initrd, so my question is:

Do I need an initrd for pygrub to work?

Earlier attempts without initrd had resulted in errors, which might either be caused by mistakes in .config or the inexistence of initrd. I'm trying to figure out exactly what happened.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

After a lot of experimentation, I finally found the answer:

Yes, pygrub needs an initrd/initramfs.

So, I do it this way:

  • Build the kernel the manual way make menuconfig && make && make modules_install

  • Copy the resulting bzImage to /boot

  • Create the initrd using genkernel --oldconfig ramdisk

  • Feed the path to the kernel and the initrd to pygrub from XenServer's console

share|improve this answer
add comment

Your Answer

 
discard

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.