Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7]
Date: Sat, 07 Sep 2013 18:24:52
Message-Id: 522B6F69.1060104@gmail.com
In Reply to: Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7] by "Canek Peláez Valdés"
1 On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote:
2 > On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk
3 > <alexander.kapshuk@×××××.com> wrote:
4 >> Howdy,
5 >>
6 >> Just compiled the new kernel [3.10.7], was about to edit my
7 >> /boot/grub/grub.conf, and found it missing:
8 >> box0 boot # pwd
9 >> /boot
10 >> box0 boot # ls -a
11 >> . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo
12 >>
13 >> What did I miss?
14 > Do you have /boot in a separated partition? Did you mounted it?
15 >
16 > Nothing should touch /boot, AFAIK.
17 >
18 > Regards.
19 I do have '/boot' on a separate partition. If I understand it correctly,
20 '/boot' gets mounted every time at system start-up, based on
21 '/etc/fstab', does it not?
22
23 box0 boot # cat /etc/fstab
24 <snip>
25 /dev/sda1 /boot ext2 default,noatime 0 2
26 /dev/sda2 none swap sw 0 0
27 /dev/sda3 / ext4 noatime 0 1
28 /dev/sda5 /home ext4 noatime 0 2
29 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
30
31
32 box0 boot # mount|grep /dev/sda
33 /dev/sda3 on / type ext4 (rw,noatime,data=ordered)
34 /dev/sda5 on /home type ext4 (rw,noatime)
35
36 box0 boot # fdisk -l /dev/sda
37
38 Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors
39 Units = sectors of 1 * 512 = 512 bytes
40 Sector size (logical/physical): 512 bytes / 512 bytes
41 I/O size (minimum/optimal): 512 bytes / 512 bytes
42 Disk identifier: 0x00000000
43
44 Device Boot Start End Blocks Id System
45 /dev/sda1 * 2048 67583 32768 83 Linux
46 /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris
47 /dev/sda3 1116160 43059199 20971520 83 Linux
48 /dev/sda4 43059200 488397167 222668984 5 Extended
49 /dev/sda5 43061248 488397167 222667960 83 Linux

Replies

Subject Author
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7] "Canek Peláez Valdés" <caneko@×××××.com>