On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote: > On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk > <alexander.kaps...@gmail.com> wrote: >> Howdy, >> >> Just compiled the new kernel [3.10.7], was about to edit my >> /boot/grub/grub.conf, and found it missing: >> box0 boot # pwd >> /boot >> box0 boot # ls -a >> . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo >> >> What did I miss? > Do you have /boot in a separated partition? Did you mounted it? > > Nothing should touch /boot, AFAIK. > > Regards. I do have '/boot' on a separate partition. If I understand it correctly, '/boot' gets mounted every time at system start-up, based on '/etc/fstab', does it not?
box0 boot # cat /etc/fstab <snip> /dev/sda1 /boot ext2 default,noatime 0 2 /dev/sda2 none swap sw 0 0 /dev/sda3 / ext4 noatime 0 1 /dev/sda5 /home ext4 noatime 0 2 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 box0 boot # mount|grep /dev/sda /dev/sda3 on / type ext4 (rw,noatime,data=ordered) /dev/sda5 on /home type ext4 (rw,noatime) box0 boot # fdisk -l /dev/sda Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 * 2048 67583 32768 83 Linux /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris /dev/sda3 1116160 43059199 20971520 83 Linux /dev/sda4 43059200 488397167 222668984 5 Extended /dev/sda5 43061248 488397167 222667960 83 Linux