Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.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:35:15
Message-Id: CADPrc82N0OinngetkJMq57MUJ82=QugN5Gb8JW8CJNyNpgRvcQ@mail.gmail.com
In Reply to: Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7] by Alexander Kapshuk
1 On Sat, Sep 7, 2013 at 1:24 PM, Alexander Kapshuk
2 <alexander.kapshuk@×××××.com> wrote:
3 > On 09/07/2013 09:11 PM, Canek Peláez Valdés wrote:
4 >> On Sat, Sep 7, 2013 at 1:06 PM, Alexander Kapshuk
5 >> <alexander.kapshuk@×××××.com> wrote:
6 >>> Howdy,
7 >>>
8 >>> Just compiled the new kernel [3.10.7], was about to edit my
9 >>> /boot/grub/grub.conf, and found it missing:
10 >>> box0 boot # pwd
11 >>> /boot
12 >>> box0 boot # ls -a
13 >>> . .. kernel-3.10.7-gentoo kernel-3.8.13-gentoo
14 >>>
15 >>> What did I miss?
16 >> Do you have /boot in a separated partition? Did you mounted it?
17 >>
18 >> Nothing should touch /boot, AFAIK.
19 >>
20 >> Regards.
21 > I do have '/boot' on a separate partition. If I understand it correctly,
22 > '/boot' gets mounted every time at system start-up, based on
23 > '/etc/fstab', does it not?
24
25 By the contents of your fstab, it should...
26
27 > box0 boot # cat /etc/fstab
28 > <snip>
29 > /dev/sda1 /boot ext2 default,noatime 0 2
30 > /dev/sda2 none swap sw 0 0
31 > /dev/sda3 / ext4 noatime 0 1
32 > /dev/sda5 /home ext4 noatime 0 2
33 > /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
34 >
35 >
36 > box0 boot # mount|grep /dev/sda
37 > /dev/sda3 on / type ext4 (rw,noatime,data=ordered)
38 > /dev/sda5 on /home type ext4 (rw,noatime)
39
40 ,,,however mount says up there that it's not mounted.
41
42 > box0 boot # fdisk -l /dev/sda
43 >
44 > Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors
45 > Units = sectors of 1 * 512 = 512 bytes
46 > Sector size (logical/physical): 512 bytes / 512 bytes
47 > I/O size (minimum/optimal): 512 bytes / 512 bytes
48 > Disk identifier: 0x00000000
49 >
50 > Device Boot Start End Blocks Id System
51 > /dev/sda1 * 2048 67583 32768 83 Linux
52 > /dev/sda2 67584 1116159 524288 82 Linux swap / Solaris
53 > /dev/sda3 1116160 43059199 20971520 83 Linux
54 > /dev/sda4 43059200 488397167 222668984 5 Extended
55 > /dev/sda5 43061248 488397167 222667960 83 Linux
56
57 For some reason your /boot partition didn't get mounted. See the boot
58 logs, and try to mounting by hand. Perhaps the fsck failed or it needs
59 manual intervention.
60
61 Regards.
62 --
63 Canek Peláez Valdés
64 Posgrado en Ciencia e Ingeniería de la Computación
65 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] re: can't find /boot/grub/grub.conf after kernel upgrade [3.10.7] Alexander Kapshuk <alexander.kapshuk@×××××.com>