2
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
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. – None – 2012-12-10T07:33:34.187
1@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. – 2012-12-10T07:41:40.610
Thank you very much, you're right, I misused the default fstab, I should have change it for my situation. – None – 2012-12-10T08:40:08.547