Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 installed Gentoo Linux, build the kernel with "genkernel", and copy the image file into the /boot folder, also I installed grub. It all works fine. What confusing me is that now I cannot find the kernel and grub under the /boot folder, the folder is empty. I did some "emerge" jobs after installation, I don't know why those files disappear. Why my linux can still start up without those kernel and grub files?

ps: gentoo as a vmware guest, /boot is a seperate partition with ext2

share|improve this question

migrated from Dec 10 '12 at 12:13

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

You have probably created a separate boot partition but you forgot to set up your /etc/fstab file so that it's mounted at startup. You should be able to mount it manually with mount /boot (perhaps as root.)

You should really take care of that, since you might copy files to /boot while it's not mounted and end up with an inconsistent boot setup.

share|improve this answer
Thank you for your rely, I checked /etc/fstab, there is a line "/dev/BOOT /boot ext2 noauto,noatime 1 2", which I think means it's mounted. I can mv files in and out from /boot folder, and also create new files. – xiaobing Dec 10 '12 at 7:33
@xiaobing Of course you can; it's just a directory like any other. But when you don't mount the boot partition there, then the files and up in the /boot directory, not in the /boot mount point. And that's what I meant with "inconsistent boot setup." Also, "/dev/BOOT" looks wrong. That's not a partition. Partitions look like "/dev/sda1" and such. Unless your boot partition is labeled, in which case you would have "LABEL=BOOT /boot" instead. In any event, your setup looks broken. You should read the Gentoo handbook carefully. – Nikos C. Dec 10 '12 at 7:41
Thank you very much, you're right, I misused the default fstab, I should have change it for my situation. – xiaobing Dec 10 '12 at 8:40

Your Answer


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