1,105,556 Community Members

Why my linux startup fine with nothing in the /boot folder

Member Avatar
Vincentas
Junior Poster in Training
62 posts since Nov 2012
Reputation Points: 6 [?]
Q&As Helped to Solve: 5 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

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

Thanks to all.

Member Avatar
rubberman
Senior Poster
3,999 posts since Mar 2010
Reputation Points: 513 [?]
Q&As Helped to Solve: 501 [?]
Skill Endorsements: 87 [?]
 
0
 

When you boot, what does the mount command (no arguments) show? Does the boot partition show up? If not, then the boot loader was able to find it and boot, but the OS didn't mount it in the /boot mount point. Show us the contencts of your system file /etc/fstab please.

Member Avatar
TylerD75
Newbie Poster
3 posts since Feb 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

As rubberman indicated, the default Gentoo operation is to NOT mount the /boot partition (if it is a separate partition). You can choose to change this in /etc/fstab, or you can mount it manually when you need to.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article